---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 512
    host: ""
    body: "{\"messages\":[{\"content\":\"You are a helpful assistant\",\"role\":\"system\"},{\"content\":\"What's the weather in Florence, Italy?\",\"role\":\"user\"}],\"model\":\"gpt-5\",\"reasoning_effort\":\"medium\",\"stream_options\":{\"include_usage\":true},\"tool_choice\":\"auto\",\"tools\":[{\"function\":{\"name\":\"weather\",\"strict\":false,\"description\":\"Get weather information for a location\",\"parameters\":{\"properties\":{\"location\":{\"description\":\"the city\",\"type\":\"string\"}},\"required\":[\"location\"],\"type\":\"object\"}},\"type\":\"function\"}],\"stream\":true}"
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - OpenAI/Go 2.3.0
    url: https://api.openai.com/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: "data: {\"id\":\"chatcmpl-CGjzBr5epgv1mOg6v3d0aHGfMitxL\",\"object\":\"chat.completion.chunk\",\"created\":1758106053,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":null,\"tool_calls\":[{\"index\":0,\"id\":\"call_S4PPNE1CBSTQiyVXNMhypGp9\",\"type\":\"function\",\"function\":{\"name\":\"weather\",\"arguments\":\"\"}}],\"refusal\":null},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"0xwspG0FC\"}\n\ndata: {\"id\":\"chatcmpl-CGjzBr5epgv1mOg6v3d0aHGfMitxL\",\"object\":\"chat.completion.chunk\",\"created\":1758106053,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":\"{\\\"\"}}]},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"V1qmL7MMFxIDEJ3\"}\n\ndata: {\"id\":\"chatcmpl-CGjzBr5epgv1mOg6v3d0aHGfMitxL\",\"object\":\"chat.completion.chunk\",\"created\":1758106053,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":\"location\"}}]},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"AM6r08CpIx\"}\n\ndata: {\"id\":\"chatcmpl-CGjzBr5epgv1mOg6v3d0aHGfMitxL\",\"object\":\"chat.completion.chunk\",\"created\":1758106053,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":\"\\\":\\\"\"}}]},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"LNb7muLzepVLd\"}\n\ndata: {\"id\":\"chatcmpl-CGjzBr5epgv1mOg6v3d0aHGfMitxL\",\"object\":\"chat.completion.chunk\",\"created\":1758106053,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":\"Flor\"}}]},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"un0Jtn9FQ9Dh7e\"}\n\ndata: {\"id\":\"chatcmpl-CGjzBr5epgv1mOg6v3d0aHGfMitxL\",\"object\":\"chat.completion.chunk\",\"created\":1758106053,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":\"ence\"}}]},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"PnIt3YJQ7Odcnm\"}\n\ndata: {\"id\":\"chatcmpl-CGjzBr5epgv1mOg6v3d0aHGfMitxL\",\"object\":\"chat.completion.chunk\",\"created\":1758106053,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":\",\"}}]},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"J\"}\n\ndata: {\"id\":\"chatcmpl-CGjzBr5epgv1mOg6v3d0aHGfMitxL\",\"object\":\"chat.completion.chunk\",\"created\":1758106053,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":\" Italy\"}}]},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"rNjAaLKtPTCR\"}\n\ndata: {\"id\":\"chatcmpl-CGjzBr5epgv1mOg6v3d0aHGfMitxL\",\"object\":\"chat.completion.chunk\",\"created\":1758106053,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":\"\\\"}\"}}]},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"ogKZ9Um1xvfM6Sm\"}\n\ndata: {\"id\":\"chatcmpl-CGjzBr5epgv1mOg6v3d0aHGfMitxL\",\"object\":\"chat.completion.chunk\",\"created\":1758106053,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}],\"usage\":null,\"obfuscation\":\"\"}\n\ndata: {\"id\":\"chatcmpl-CGjzBr5epgv1mOg6v3d0aHGfMitxL\",\"object\":\"chat.completion.chunk\",\"created\":1758106053,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[],\"usage\":{\"prompt_tokens\":145,\"completion_tokens\":153,\"total_tokens\":298,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"completion_tokens_details\":{\"reasoning_tokens\":128,\"audio_tokens\":0,\"accepted_prediction_tokens\":0,\"rejected_prediction_tokens\":0}},\"obfuscation\":\"tstpIe\"}\n\ndata: [DONE]\n\n"
    headers:
      Content-Type:
      - text/event-stream; charset=utf-8
    status: 200 OK
    code: 200
    duration: 2.807384709s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 764
    host: ""
    body: "{\"messages\":[{\"content\":\"You are a helpful assistant\",\"role\":\"system\"},{\"content\":\"What's the weather in Florence, Italy?\",\"role\":\"user\"},{\"tool_calls\":[{\"id\":\"call_S4PPNE1CBSTQiyVXNMhypGp9\",\"function\":{\"arguments\":\"{\\\"location\\\":\\\"Florence, Italy\\\"}\",\"name\":\"weather\"},\"type\":\"function\"}],\"role\":\"assistant\"},{\"content\":\"40 C\",\"tool_call_id\":\"call_S4PPNE1CBSTQiyVXNMhypGp9\",\"role\":\"tool\"}],\"model\":\"gpt-5\",\"reasoning_effort\":\"medium\",\"stream_options\":{\"include_usage\":true},\"tool_choice\":\"auto\",\"tools\":[{\"function\":{\"name\":\"weather\",\"strict\":false,\"description\":\"Get weather information for a location\",\"parameters\":{\"properties\":{\"location\":{\"description\":\"the city\",\"type\":\"string\"}},\"required\":[\"location\"],\"type\":\"object\"}},\"type\":\"function\"}],\"stream\":true}"
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - OpenAI/Go 2.3.0
    url: https://api.openai.com/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: "data: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"3dXcrYmrOy\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"It\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"PqgQgdemta\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"’s\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"kCefUAWvH9\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" currently\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"R6\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" about\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"JzHfhJ\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" \"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"UnOIco1wqlK\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"40\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"gxVfChj5p1\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"°C\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"1Yfx063pRL\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" in\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"atYPSethq\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Florence\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"Hm3\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\",\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"ZoMzHd1dUin\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" Italy\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"eBSjfa\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\".\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"UuHUTv0keAz\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":null,\"obfuscation\":\"mHVZv6\"}\n\ndata: {\"id\":\"chatcmpl-CGjzDAZcL5W9B3yoNqJ1XcCg4v4WY\",\"object\":\"chat.completion.chunk\",\"created\":1758106055,\"model\":\"gpt-5-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[],\"usage\":{\"prompt_tokens\":176,\"completion_tokens\":277,\"total_tokens\":453,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"completion_tokens_details\":{\"reasoning_tokens\":256,\"audio_tokens\":0,\"accepted_prediction_tokens\":0,\"rejected_prediction_tokens\":0}},\"obfuscation\":\"MMvL8v\"}\n\ndata: [DONE]\n\n"
    headers:
      Content-Type:
      - text/event-stream; charset=utf-8
    status: 200 OK
    code: 200
    duration: 4.36330425s
