---
version: 2
interactions:
  - id: 0
    request:
        proto: HTTP/1.1
        proto_major: 1
        proto_minor: 1
        content_length: 848
        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","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:
              - 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-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}],"obfuscation":"gYycE8bGxRs"}

            data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_YB2z7czj8CpHqvM2JH3sZuyT","type":"function","function":{"name":"add","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"Uq"}

            data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"a\""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":""}

            data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":": 2, "}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"K"}

            data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"b\": 3"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"plXnocT9VWPw3G"}

            data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"OVang"}

            data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_o69r4fxpWyrEKXCkOcYC32hd","type":"function","function":{"name":"multiply","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"l7zORJPGaICXA"}

            data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{\"a\""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":""}

            data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":": 2, "}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"h"}

            data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"\"b\": 3"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"pX7N3rSbpyQcGX"}

            data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"G8XJB"}

            data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"ImsR"}

            data: {"id":"chatcmpl-CJHNKBordpG3dD1hxk9enxHleJEUD","object":"chat.completion.chunk","created":1758711058,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_159664a9b7","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":"CdpdwAcRMFvAY"}

            data: [DONE]

        headers:
            Content-Type:
              - text/event-stream; charset=utf-8
        status: 200 OK
        code: 200
        duration: 1.794241833s
  - id: 1
    request:
        proto: HTTP/1.1
        proto_major: 1
        proto_minor: 1
        content_length: 1279
        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_YB2z7czj8CpHqvM2JH3sZuyT","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_o69r4fxpWyrEKXCkOcYC32hd","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_YB2z7czj8CpHqvM2JH3sZuyT","role":"tool"},{"content":"6","tool_call_id":"call_o69r4fxpWyrEKXCkOcYC32hd","role":"tool"}],"model":"gpt-4o","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:
              - 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-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zzCHe7XZQy0Eab"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"Adding"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"kR5LVIqrhk"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"yT8yFNAfvqQFPyx"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Z2FsuGmHUJ4yPGz"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vFmeUbBbBq4x"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"34k6MLFFe9YaEMJ"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"E9yjzfHVfleCWjl"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" gives"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YrO7SvLQEj"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"O7V0i8OYFObjTYi"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"oItjqwgPjBhhnUT"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"s4v8H9Hz7btBSCK"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"SBJHLa1skFHa"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" multiplying"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"tHXl"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"NQ8SGeAJH6ZgdGh"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"eaemqIkkuE6sktx"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"JzoHhV2XpBLs"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"JsWQxUlhdmQWSkZ"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"PvoKscZX12XTRrx"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" gives"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"SCxL15MPVi"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"gf9I00olB6GG2Iq"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"K2satSxN2jY3r9u"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"pNmkVCVTq8AvEaF"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"pG582ETUaE"}

            data: {"id":"chatcmpl-CJHNL9o5mnD77clxKHDUj37M0vkUq","object":"chat.completion.chunk","created":1758711059,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_cbf1785567","choices":[],"usage":{"prompt_tokens":172,"completion_tokens":22,"total_tokens":194,"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":"ulaR1HYWs4n3B"}

            data: [DONE]

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