---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 886
    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":"Qwen/Qwen3-Coder-480B-A35B-Instruct:cerebras","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.7.1
    url: https://router.huggingface.co/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      data: {"id":"chatcmpl-fbef6a2f-2f11-4004-aa3d-797c76e902e4","choices":[{"delta":{"role":"assistant"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-fbef6a2f-2f11-4004-aa3d-797c76e902e4","choices":[{"delta":{"tool_calls":[{"function":{"name":"add","arguments":"{\"a\": 2, \"b\": 3}"},"type":"function","id":"49253c956","index":0},{"function":{"name":"multiply","arguments":"{\"a\": 2, \"b\": 3}"},"type":"function","id":"6a614264b","index":1}]},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-fbef6a2f-2f11-4004-aa3d-797c76e902e4","choices":[{"delta":{},"finish_reason":"tool_calls","index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk","usage":{"prompt_tokens":408,"completion_tokens":59,"total_tokens":467,"prompt_tokens_details":{"cached_tokens":0}},"time_info":{"queue_time":0.000118501,"prompt_time":0.003364192,"completion_time":0.031095836,"total_time":0.036528825759887695,"created":1761070223.457216}}

    headers:
      Content-Type:
      - text/event-stream; charset=utf-8
    status: 200 OK
    code: 200
    duration: 324.113458ms
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1237
    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":"49253c956","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"6a614264b","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"49253c956","role":"tool"},{"content":"6","tool_call_id":"6a614264b","role":"tool"}],"model":"Qwen/Qwen3-Coder-480B-A35B-Instruct:cerebras","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.7.1
    url: https://router.huggingface.co/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"role":"assistant"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":"The"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" sum"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" of"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" "},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":"2"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" and"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" "},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":"3"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" is"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" "},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":"5"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":","},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" and"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" the"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" product"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" of"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" "},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":"2"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" and"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" "},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":"3"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" is"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":" "},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":"6"},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{"content":"."},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{},"index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk"}

      data: {"id":"chatcmpl-c10d1909-8b70-432c-8db0-5469e1d510bb","choices":[{"delta":{},"finish_reason":"stop","index":0}],"created":1761070223,"model":"qwen-3-coder-480b","system_fingerprint":"fp_386b539e7b02ce3613b7","object":"chat.completion.chunk","usage":{"prompt_tokens":488,"completion_tokens":26,"total_tokens":514,"prompt_tokens_details":{"cached_tokens":0}},"time_info":{"queue_time":0.001117439,"prompt_time":0.006053757,"completion_time":0.009437543,"total_time":0.018548250198364258,"created":1761070223.8780432}}

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