---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 853
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-4o-mini","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"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-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","usage":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}],"obfuscation":"KIjm2E"}

      data: {"id":"chatcmpl-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_4ifjNdHz0FdUYGSOEoJhug4a","type":"function","function":{"name":"add","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"5II9VlxoYyNJA"}

      data: {"id":"chatcmpl-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"a\""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"UJ2FiL4T4Y9"}

      data: {"id":"chatcmpl-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":": 2, "}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"foSkpbnmDEL3"}

      data: {"id":"chatcmpl-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"b\": 3"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"KETPJkl7j"}

      data: {"id":"chatcmpl-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":""}

      data: {"id":"chatcmpl-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_sXf7ZGvQxWZWcqH7dp0F1Fd6","type":"function","function":{"name":"multiply","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"ml2N4dAQ"}

      data: {"id":"chatcmpl-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{\"a\""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"rUc5ZQTYGRR"}

      data: {"id":"chatcmpl-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":": 2, "}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"jWFhTtti2n56"}

      data: {"id":"chatcmpl-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"\"b\": 3"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"MGZKJclaE"}

      data: {"id":"chatcmpl-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":""}

      data: {"id":"chatcmpl-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"WDrV0BQzF3Ss5V4"}

      data: {"id":"chatcmpl-DIgOrid9As2KRUSwbF3yxoewtUUhz","object":"chat.completion.chunk","created":1773345261,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[],"usage":{"prompt_tokens":106,"completion_tokens":50,"total_tokens":156,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"ouYIhbAX"}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream; charset=utf-8
    status: 200 OK
    code: 200
    duration: 1.289255208s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1284
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_4ifjNdHz0FdUYGSOEoJhug4a","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_sXf7ZGvQxWZWcqH7dp0F1Fd6","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_4ifjNdHz0FdUYGSOEoJhug4a","role":"tool"},{"content":"6","tool_call_id":"call_sXf7ZGvQxWZWcqH7dp0F1Fd6","role":"tool"}],"model":"gpt-4o-mini","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"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-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"iPkRpouE3"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"uFgdCLVK"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" sum"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"DmLl7W4"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" of"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"isI5xJ0H"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"23VLqcXjZ5"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"DHjCxmy9nu"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dbmEjqi"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Zby0mr05uY"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"QXvqz9CSR6"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"hb1heBYd"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"EUG6qi40bZ"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"pLrMiYkMuw"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"qTrg7i7BDa"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"sjLzOoh"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"sSKfhps"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" product"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Hoz"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" of"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"K4INnxUr"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zVLvNRoJjQ"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"uDfLn970EF"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"1WswduC"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"OzA4VE5hxx"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Li2BWG59Kg"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" is"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zoFWV8hK"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"fRkwbjtnEL"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"sj2SqrLm21"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"H5GxEzH5ir"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"Jkxho"}

      data: {"id":"chatcmpl-DIgOuEkd6Uqq8tPXdk2MbDIioWtU8","object":"chat.completion.chunk","created":1773345264,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7cd1a06d3a","choices":[],"usage":{"prompt_tokens":172,"completion_tokens":26,"total_tokens":198,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"G3Jrdl0n"}

      data: [DONE]

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