multi_tool_streaming.yaml

  1---
  2version: 2
  3interactions:
  4- id: 0
  5  request:
  6    proto: HTTP/1.1
  7    proto_major: 1
  8    proto_minor: 1
  9    content_length: 890
 10    host: ""
 11    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":"openai/gpt-5","max_completion_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"}],"usage":{"include":true},"stream":true}'
 12    headers:
 13      Accept:
 14      - application/json
 15      Content-Type:
 16      - application/json
 17      User-Agent:
 18      - OpenAI/Go 2.7.1
 19    url: https://openrouter.ai/api/v1/chat/completions
 20    method: POST
 21  response:
 22    proto: HTTP/2.0
 23    proto_major: 2
 24    proto_minor: 0
 25    content_length: -1
 26    body: |+
 27      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 28
 29      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABo95AdNmqxM6HBeqh0dzQ-aNcv5qbGNYIt678-GeFu7z78caXKNcqwLKF1Dv9QhgL3kXBe-TWZ8l0pfCMr353vKhrLLj6SmwVm4uhKbEsNgwx0yGH6mn8fMmpft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pJTvVmYlAC4RyzGEFAVv8VbBPoYKHK5hPt4mfLM4UdI2iaio5MQTqoGzIEHhLTHcj3Ic3Foy17_BPFiBIEjy6UMinU4SjCy77-GVhg3hRXhAn7sJOv4gMRH9z53T_yc6zhVXClpi0EyK7cWqNK2YYksQJ0zj6VqFnvAxDRDS2-6gjNxYGQ3Pzu72ldKtG_vsFHG8lTOCcr4XB1gVkMphxxWP8IUu4WjmfUrALolo1tN22AxQkloIL2eLsCFCBKIFCWCU5jd4TnzdK0mTQk1fUMxdGgrqeVfqfoYLuhEbk-mbAneAwUma9IY6FIdq_2nN6DEr3drMT1_9Q98otTgInkFYjIdzzlS3gtQdjr0Ql81Zi5uybafAIhiqvIUekTjmZpnI5mIjvSE1FDaaToBMYNOU0tW3LbcP66_fYMMBNX3UvdbSNdMXBpbD2BgDhkSJK0KMGOLBYjfPbUCi88Ef2H3C9l-r51YKhy5Tc_VLuuwtnfd4B7LDj0DM2eXRh120UiEfcjSYJH5h34nhlc9Oup8kcJaEgwVovbBUIVM-Z_nTMB936faBdVZHKFbtkGIKl30BV12X5j1eFZgOcDugkCnF50UY2jY3WNhC8ChewCjxACp8C4PuCqABPId07XaqrnSyEDg7UzUM7mIDufbghUavDpKK8rqnNcz-kCsKXzyAFrr4l5-2HDetBmUiRxToX5KVeVMv_IFiyQdWeL_MfoG57swdhPJMcEEb_0EfZzx37cipdUin6FH9ELsUDbn0GZKtahx6NuT2L0hZG3vha_afl-BCPyxqP4JsgnBNMTBeDRd7ERok=","id":"rs_051a5b528a0acc690168f7901bbfb881978e5d366d901f11b3","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 30
 31      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_mUCAklYTU3uGC65pRz7M7UbY","index":0,"type":"function","function":{"name":"add","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 32
 33      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"{"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 34
 35      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"\"a"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 36
 37      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 38
 39      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"2,"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 40
 41      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"\"b"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 42
 43      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 44
 45      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"type":"function","function":{"arguments":"3}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 46
 47      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_y7BeX0S3uY40okx6MWg7dX2y","index":1,"type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 48
 49      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"{"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 50
 51      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\"a"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 52
 53      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 54
 55      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"2,"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 56
 57      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\"b"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 58
 59      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"\":"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 60
 61      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":1,"type":"function","function":{"arguments":"3}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 62
 63      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"tool_calls","native_finish_reason":"completed","logprobs":null}]}
 64
 65      data: {"id":"gen-1761054747-aRXhxlwVNm3mtTObq3p8","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054747,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":56,"completion_tokens":183,"total_tokens":239,"cost":0.0019,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00007,"upstream_inference_completions_cost":0.00183},"completion_tokens_details":{"reasoning_tokens":128,"image_tokens":0}}}
 66
 67      data: [DONE]
 68
 69    headers:
 70      Content-Type:
 71      - text/event-stream
 72    status: 200 OK
 73    code: 200
 74    duration: 558.96825ms
 75- id: 1
 76  request:
 77    proto: HTTP/1.1
 78    proto_major: 1
 79    proto_minor: 1
 80    content_length: 3520
 81    host: ""
 82    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_mUCAklYTU3uGC65pRz7M7UbY","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_y7BeX0S3uY40okx6MWg7dX2y","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant","reasoning_details":[{"data":"gAAAAABo95AdNmqxM6HBeqh0dzQ-aNcv5qbGNYIt678-GeFu7z78caXKNcqwLKF1Dv9QhgL3kXBe-TWZ8l0pfCMr353vKhrLLj6SmwVm4uhKbEsNgwx0yGH6mn8fMmpftY29Sm-LiEIujKW_7NVZWSsCtLJYVDW8iS3r1j_LDDJqU6z6xKanbssHCfQeffAaxN2iTuADLUsqhTvNDJqWa6fNOrB2tzIxV3-iksbWPgss1czhUeljdLxUmapXaOcatf2K2RX2ZNWYPscs-XZBdTefLQ8aIn90i7kE2yf6V73sLcBpzy4JGxxrGQtPTc3zMTG7kXjO7xOAWjbiN__jQlcy57r5S7fVJ6hPtp5ow-KMjQ3Uhi98v8onA4wbDqZmmxji1sK4tJUn4ZB_1II-waOGaHFEWuUWbKKzv_dqbaE7wOs84410yD9o1NXJTPle4J29vwykRIrz--IKHL2cD4F4V0ZclWDIn_-hvauAeYDHZ7wrloTsIRDGdk74Z-DSCVd62XCdI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mZpnI5mIjvSE1FDaaToBMYNOU0tW3LbcP66_fYMMBNX3UvdbSNdMXBpbD2BgDhkSJK0KMGOLBYjfPbUCi88Ef2H3C9l-r51YKhy5Tc_VLuuwtnfd4B7LDj0DM2eXRh120UiEfcjSYJH5h34nhlc9Oup8kcJaEgwVovbBUIVM-Z_nTMB936faBdVZHKFbtkGIKl30BV12X5j1eFZgOcDugkCnF50UY2jY3WNhC8ChewCjxACp8C4PuCqABPId07XaqrnSyEDg7UzUM7mIDufbghUavDpKK8rqnNcz-kCsKXzyAFrr4l5-2HDetBmUiRxToX5KVeVMv_IFiyQdWeL_MfoG57swdhPJMcEEb_0EfZzx37cipdUin6FH9ELsUDbn0GZKtahx6NuT2L0hZG3vha_afl-BCPyxqP4JsgnBNMTBeDRd7ERok=","format":"openai-responses-v1","id":"rs_051a5b528a0acc690168f7901bbfb881978e5d366d901f11b3","index":0,"type":"reasoning.encrypted"}]},{"content":"5","tool_call_id":"call_mUCAklYTU3uGC65pRz7M7UbY","role":"tool"},{"content":"6","tool_call_id":"call_y7BeX0S3uY40okx6MWg7dX2y","role":"tool"}],"model":"openai/gpt-5","max_completion_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"}],"usage":{"include":true},"stream":true}'
 83    headers:
 84      Accept:
 85      - application/json
 86      Content-Type:
 87      - application/json
 88      User-Agent:
 89      - OpenAI/Go 2.7.1
 90    url: https://openrouter.ai/api/v1/chat/completions
 91    method: POST
 92  response:
 93    proto: HTTP/2.0
 94    proto_major: 2
 95    proto_minor: 0
 96    content_length: -1
 97    body: |+
 98      data: {"id":"gen-1761054750-4AMRsUTPcrRnu4eOcH2r","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054750,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
 99
100      data: {"id":"gen-1761054750-4AMRsUTPcrRnu4eOcH2r","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054750,"choices":[{"index":0,"delta":{"role":"assistant","content":"Sum"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
101
102      data: {"id":"gen-1761054750-4AMRsUTPcrRnu4eOcH2r","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054750,"choices":[{"index":0,"delta":{"role":"assistant","content":":"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
103
104      data: {"id":"gen-1761054750-4AMRsUTPcrRnu4eOcH2r","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054750,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
105
106      data: {"id":"gen-1761054750-4AMRsUTPcrRnu4eOcH2r","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054750,"choices":[{"index":0,"delta":{"role":"assistant","content":"5"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
107
108      data: {"id":"gen-1761054750-4AMRsUTPcrRnu4eOcH2r","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054750,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
109
110      data: {"id":"gen-1761054750-4AMRsUTPcrRnu4eOcH2r","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054750,"choices":[{"index":0,"delta":{"role":"assistant","content":"Product"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
111
112      data: {"id":"gen-1761054750-4AMRsUTPcrRnu4eOcH2r","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054750,"choices":[{"index":0,"delta":{"role":"assistant","content":":"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
113
114      data: {"id":"gen-1761054750-4AMRsUTPcrRnu4eOcH2r","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054750,"choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
115
116      data: {"id":"gen-1761054750-4AMRsUTPcrRnu4eOcH2r","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054750,"choices":[{"index":0,"delta":{"role":"assistant","content":"6"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}
117
118      data: {"id":"gen-1761054750-4AMRsUTPcrRnu4eOcH2r","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054750,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop","native_finish_reason":"completed","logprobs":null}]}
119
120      data: {"id":"gen-1761054750-4AMRsUTPcrRnu4eOcH2r","provider":"OpenAI","model":"openai/gpt-5","object":"chat.completion.chunk","created":1761054750,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":355,"completion_tokens":13,"total_tokens":368,"cost":0.00057375,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00044375,"upstream_inference_completions_cost":0.00013},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0}}}
121
122      data: [DONE]
123
124    headers:
125      Content-Type:
126      - text/event-stream
127    status: 200 OK
128    code: 200
129    duration: 738.942209ms