---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 503
    host: ""
    body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant","role":"system"},{"content":[{"text":"What''s the weather in Florence,Italy?","type":"input_text"}],"role":"user"}],"model":"gpt-4o-mini","tool_choice":"auto","tools":[{"strict":false,"parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location","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/responses
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      event: response.created
      data: {"type":"response.created","response":{"id":"resp_04f33c18250e523b0169b31922e0c88190805966184c08e1a7","object":"response","created_at":1773345058,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":4000,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":false,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[{"type":"function","description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"strict":false}],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":0}

      event: response.in_progress
      data: {"type":"response.in_progress","response":{"id":"resp_04f33c18250e523b0169b31922e0c88190805966184c08e1a7","object":"response","created_at":1773345058,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":4000,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":false,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[{"type":"function","description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"strict":false}],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":1}

      event: response.output_item.added
      data: {"type":"response.output_item.added","item":{"id":"fc_04f33c18250e523b0169b3192358588190a1c63040e606ce3c","type":"function_call","status":"in_progress","arguments":"","call_id":"call_yLQoefRSgy3mxdgHFwx1248W","name":"weather"},"output_index":0,"sequence_number":2}

      event: response.function_call_arguments.delta
      data: {"type":"response.function_call_arguments.delta","delta":"{\"","item_id":"fc_04f33c18250e523b0169b3192358588190a1c63040e606ce3c","obfuscation":"H2IjffAFGAlEeS","output_index":0,"sequence_number":3}

      event: response.function_call_arguments.delta
      data: {"type":"response.function_call_arguments.delta","delta":"location","item_id":"fc_04f33c18250e523b0169b3192358588190a1c63040e606ce3c","obfuscation":"PNOkzPWf","output_index":0,"sequence_number":4}

      event: response.function_call_arguments.delta
      data: {"type":"response.function_call_arguments.delta","delta":"\":\"","item_id":"fc_04f33c18250e523b0169b3192358588190a1c63040e606ce3c","obfuscation":"Lb9zjSGAjqEB4","output_index":0,"sequence_number":5}

      event: response.function_call_arguments.delta
      data: {"type":"response.function_call_arguments.delta","delta":"Flor","item_id":"fc_04f33c18250e523b0169b3192358588190a1c63040e606ce3c","obfuscation":"AAV9dhXnnd8A","output_index":0,"sequence_number":6}

      event: response.function_call_arguments.delta
      data: {"type":"response.function_call_arguments.delta","delta":"ence","item_id":"fc_04f33c18250e523b0169b3192358588190a1c63040e606ce3c","obfuscation":"nLkP3PChOu1c","output_index":0,"sequence_number":7}

      event: response.function_call_arguments.delta
      data: {"type":"response.function_call_arguments.delta","delta":",","item_id":"fc_04f33c18250e523b0169b3192358588190a1c63040e606ce3c","obfuscation":"dnrqYFrPaP3XSvU","output_index":0,"sequence_number":8}

      event: response.function_call_arguments.delta
      data: {"type":"response.function_call_arguments.delta","delta":" Italy","item_id":"fc_04f33c18250e523b0169b3192358588190a1c63040e606ce3c","obfuscation":"CpEyj9U0LV","output_index":0,"sequence_number":9}

      event: response.function_call_arguments.delta
      data: {"type":"response.function_call_arguments.delta","delta":"\"}","item_id":"fc_04f33c18250e523b0169b3192358588190a1c63040e606ce3c","obfuscation":"PBFRZZs6gzCsDb","output_index":0,"sequence_number":10}

      event: response.function_call_arguments.done
      data: {"type":"response.function_call_arguments.done","arguments":"{\"location\":\"Florence, Italy\"}","item_id":"fc_04f33c18250e523b0169b3192358588190a1c63040e606ce3c","output_index":0,"sequence_number":11}

      event: response.output_item.done
      data: {"type":"response.output_item.done","item":{"id":"fc_04f33c18250e523b0169b3192358588190a1c63040e606ce3c","type":"function_call","status":"completed","arguments":"{\"location\":\"Florence, Italy\"}","call_id":"call_yLQoefRSgy3mxdgHFwx1248W","name":"weather"},"output_index":0,"sequence_number":12}

      event: response.completed
      data: {"type":"response.completed","response":{"id":"resp_04f33c18250e523b0169b31922e0c88190805966184c08e1a7","object":"response","created_at":1773345058,"status":"completed","background":false,"completed_at":1773345060,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":4000,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","output":[{"id":"fc_04f33c18250e523b0169b3192358588190a1c63040e606ce3c","type":"function_call","status":"completed","arguments":"{\"location\":\"Florence, Italy\"}","call_id":"call_yLQoefRSgy3mxdgHFwx1248W","name":"weather"}],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","store":false,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[{"type":"function","description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"strict":false}],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":58,"input_tokens_details":{"cached_tokens":0},"output_tokens":17,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":75},"user":null,"metadata":{}},"sequence_number":13}

    headers:
      Content-Type:
      - text/event-stream; charset=utf-8
    status: 200 OK
    code: 200
    duration: 281.359792ms
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 738
    host: ""
    body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant","role":"system"},{"content":[{"text":"What''s the weather in Florence,Italy?","type":"input_text"}],"role":"user"},{"arguments":"\"{\\\"location\\\":\\\"Florence, Italy\\\"}\"","call_id":"call_yLQoefRSgy3mxdgHFwx1248W","name":"weather","type":"function_call"},{"call_id":"call_yLQoefRSgy3mxdgHFwx1248W","output":"40 C","type":"function_call_output"}],"model":"gpt-4o-mini","tool_choice":"auto","tools":[{"strict":false,"parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location","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/responses
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      event: response.created
      data: {"type":"response.created","response":{"id":"resp_0b878a1dda64a2180169b31925d07081a085b212c597c52037","object":"response","created_at":1773345061,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":4000,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":false,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[{"type":"function","description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"strict":false}],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":0}

      event: response.in_progress
      data: {"type":"response.in_progress","response":{"id":"resp_0b878a1dda64a2180169b31925d07081a085b212c597c52037","object":"response","created_at":1773345061,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":4000,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":false,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[{"type":"function","description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"strict":false}],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":1}

      event: response.output_item.added
      data: {"type":"response.output_item.added","item":{"id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","type":"message","status":"in_progress","content":[],"role":"assistant"},"output_index":0,"sequence_number":2}

      event: response.content_part.added
      data: {"type":"response.content_part.added","content_index":0,"item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","output_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":""},"sequence_number":3}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"The","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"2GgLhn5npmyeu","output_index":0,"sequence_number":4}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" weather","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"Q7ofTjsq","output_index":0,"sequence_number":5}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" in","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"T4igl5YWjSeVY","output_index":0,"sequence_number":6}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" Florence","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"rRL2oec","output_index":0,"sequence_number":7}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":",","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"boxLx8AZwLgqH2D","output_index":0,"sequence_number":8}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" Italy","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"vUgz4IkM9M","output_index":0,"sequence_number":9}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":",","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"km5IFAnYv4xCD09","output_index":0,"sequence_number":10}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" is","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"f3MJphlJc13in","output_index":0,"sequence_number":11}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" currently","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"CwiLJB","output_index":0,"sequence_number":12}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" ","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"w1DHuhC0gZ03g5d","output_index":0,"sequence_number":13}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"40","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"2pxlgXyTwuMbJH","output_index":0,"sequence_number":14}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"°C","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"i3eXFnvM19ehGg","output_index":0,"sequence_number":15}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":".","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"OoATSshXGtYhboY","output_index":0,"sequence_number":16}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" It","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"hevuPRf6bIpWI","output_index":0,"sequence_number":17}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" seems","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"s27XnKZ17D","output_index":0,"sequence_number":18}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" quite","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"ITl0MvUuId","output_index":0,"sequence_number":19}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" hot","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"hQPClupGmAnA","output_index":0,"sequence_number":20}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"!","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"h7hs5jMKdRAisZE","output_index":0,"sequence_number":21}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" Make","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"2xz6ceFkxr1","output_index":0,"sequence_number":22}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" sure","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"ByBlZgxCgUM","output_index":0,"sequence_number":23}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" to","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"8b0DQ7a2BwE6y","output_index":0,"sequence_number":24}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" stay","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"lo8AvaybLhZ","output_index":0,"sequence_number":25}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" hydrated","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"Z9ewIaO","output_index":0,"sequence_number":26}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" and","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"jvLwHjlPABiA","output_index":0,"sequence_number":27}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" take","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"bvcen6VV2sV","output_index":0,"sequence_number":28}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" care","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"T75oWFdSwKg","output_index":0,"sequence_number":29}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" if","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"dR9TZZnR7Sjo3","output_index":0,"sequence_number":30}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" you're","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"iWBM1odqO","output_index":0,"sequence_number":31}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" outdoors","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"08I61Dr","output_index":0,"sequence_number":32}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":".","item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"obfuscation":"NJXyAtQUakW877G","output_index":0,"sequence_number":33}

      event: response.output_text.done
      data: {"type":"response.output_text.done","content_index":0,"item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","logprobs":[],"output_index":0,"sequence_number":34,"text":"The weather in Florence, Italy, is currently 40°C. It seems quite hot! Make sure to stay hydrated and take care if you're outdoors."}

      event: response.content_part.done
      data: {"type":"response.content_part.done","content_index":0,"item_id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","output_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":"The weather in Florence, Italy, is currently 40°C. It seems quite hot! Make sure to stay hydrated and take care if you're outdoors."},"sequence_number":35}

      event: response.output_item.done
      data: {"type":"response.output_item.done","item":{"id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"The weather in Florence, Italy, is currently 40°C. It seems quite hot! Make sure to stay hydrated and take care if you're outdoors."}],"role":"assistant"},"output_index":0,"sequence_number":36}

      event: response.completed
      data: {"type":"response.completed","response":{"id":"resp_0b878a1dda64a2180169b31925d07081a085b212c597c52037","object":"response","created_at":1773345061,"status":"completed","background":false,"completed_at":1773345063,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":4000,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","output":[{"id":"msg_0b878a1dda64a2180169b31927049c81a0abb8a3843b833e7e","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"The weather in Florence, Italy, is currently 40°C. It seems quite hot! Make sure to stay hydrated and take care if you're outdoors."}],"role":"assistant"}],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","store":false,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[{"type":"function","description":"Get weather information for a location","name":"weather","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"strict":false}],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":83,"input_tokens_details":{"cached_tokens":0},"output_tokens":32,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":115},"user":null,"metadata":{}},"sequence_number":37}

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