---
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","max_completion_tokens":4000,"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:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    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-DIgPGik2hAdKcPOj1RDhKq0ceGhIt","object":"chat.completion.chunk","created":1773345286,"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_eJ2thyY7663zBFMe4P6Lb8Yk","type":"function","function":{"name":"weather","arguments":""}}],"refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"R8PYPwot6"}

      data: {"id":"chatcmpl-DIgPGik2hAdKcPOj1RDhKq0ceGhIt","object":"chat.completion.chunk","created":1773345286,"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":"aFFn0ls4hxoBT4F"}

      data: {"id":"chatcmpl-DIgPGik2hAdKcPOj1RDhKq0ceGhIt","object":"chat.completion.chunk","created":1773345286,"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":"BrZWmNeP4Y"}

      data: {"id":"chatcmpl-DIgPGik2hAdKcPOj1RDhKq0ceGhIt","object":"chat.completion.chunk","created":1773345286,"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":"PvzCZ3WQzErV7"}

      data: {"id":"chatcmpl-DIgPGik2hAdKcPOj1RDhKq0ceGhIt","object":"chat.completion.chunk","created":1773345286,"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":"c1obCHKkYVIePA"}

      data: {"id":"chatcmpl-DIgPGik2hAdKcPOj1RDhKq0ceGhIt","object":"chat.completion.chunk","created":1773345286,"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":"q4u1B6Y6c6SUhW"}

      data: {"id":"chatcmpl-DIgPGik2hAdKcPOj1RDhKq0ceGhIt","object":"chat.completion.chunk","created":1773345286,"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":"Y"}

      data: {"id":"chatcmpl-DIgPGik2hAdKcPOj1RDhKq0ceGhIt","object":"chat.completion.chunk","created":1773345286,"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":"gxardK8TniMI"}

      data: {"id":"chatcmpl-DIgPGik2hAdKcPOj1RDhKq0ceGhIt","object":"chat.completion.chunk","created":1773345286,"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":"cCSFWJkwLh8xewo"}

      data: {"id":"chatcmpl-DIgPGik2hAdKcPOj1RDhKq0ceGhIt","object":"chat.completion.chunk","created":1773345286,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}],"usage":null,"obfuscation":""}

      data: {"id":"chatcmpl-DIgPGik2hAdKcPOj1RDhKq0ceGhIt","object":"chat.completion.chunk","created":1773345286,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":145,"completion_tokens":89,"total_tokens":234,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":64,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"NLZbTOjm"}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream; charset=utf-8
    status: 200 OK
    code: 200
    duration: 2.531527834s
- 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_eJ2thyY7663zBFMe4P6Lb8Yk","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"call_eJ2thyY7663zBFMe4P6Lb8Yk","role":"tool"}],"model":"gpt-5","max_completion_tokens":4000,"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:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    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-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"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":"XiDPexih7w"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"It"},"finish_reason":null}],"usage":null,"obfuscation":"oENgFXuSd7"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"’s"},"finish_reason":null}],"usage":null,"obfuscation":"fzjG0RroQT"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" currently"},"finish_reason":null}],"usage":null,"obfuscation":"dz"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" about"},"finish_reason":null}],"usage":null,"obfuscation":"tMbXn0"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" "},"finish_reason":null}],"usage":null,"obfuscation":"kUvkrAGocnJ"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"40"},"finish_reason":null}],"usage":null,"obfuscation":"99A85XCQou"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"°C"},"finish_reason":null}],"usage":null,"obfuscation":"AvniZh9bSS"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" ("},"finish_reason":null}],"usage":null,"obfuscation":"TW8wDQVHS8"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"104"},"finish_reason":null}],"usage":null,"obfuscation":"mZldA7TCO"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"°F"},"finish_reason":null}],"usage":null,"obfuscation":"8mf53hQtJA"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":")"},"finish_reason":null}],"usage":null,"obfuscation":"1Rb8wet2NPI"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" in"},"finish_reason":null}],"usage":null,"obfuscation":"Yu5azcKFM"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Florence"},"finish_reason":null}],"usage":null,"obfuscation":"F2Q"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"finish_reason":null}],"usage":null,"obfuscation":"mHcX706UAf7"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Italy"},"finish_reason":null}],"usage":null,"obfuscation":"5ZKafo"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"finish_reason":null}],"usage":null,"obfuscation":"ksBJT9ORN4W"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Want"},"finish_reason":null}],"usage":null,"obfuscation":"AsH09ka"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" a"},"finish_reason":null}],"usage":null,"obfuscation":"ffDCYtZfG6"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" forecast"},"finish_reason":null}],"usage":null,"obfuscation":"ree"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" or"},"finish_reason":null}],"usage":null,"obfuscation":"8KeKcBw5T"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" more"},"finish_reason":null}],"usage":null,"obfuscation":"S9sBpHy"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" details"},"finish_reason":null}],"usage":null,"obfuscation":"855E"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" like"},"finish_reason":null}],"usage":null,"obfuscation":"ZsQcAoo"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" wind"},"finish_reason":null}],"usage":null,"obfuscation":"gPWHHcw"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" and"},"finish_reason":null}],"usage":null,"obfuscation":"fb50AAQB"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" precipitation"},"finish_reason":null}],"usage":null,"obfuscation":"GFPj1aAFqr092b"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"?"},"finish_reason":null}],"usage":null,"obfuscation":"ASOmJoTz8dc"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"FjUHfl"}

      data: {"id":"chatcmpl-DIgPJ8oDy11g7Dhcl6yilNP70J3pY","object":"chat.completion.chunk","created":1773345289,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":176,"completion_tokens":228,"total_tokens":404,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":192,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"Rf9dfT"}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream; charset=utf-8
    status: 200 OK
    code: 200
    duration: 6.066157375s
