---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 888
    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":"x-ai/grok-code-fast-1","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"}],"usage":{"include":true},"stream":true}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - OpenAI/Go 2.7.1
    url: https://openrouter.ai/api/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"The","reasoning_details":[{"type":"reasoning.summary","summary":"The","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" user","reasoning_details":[{"type":"reasoning.summary","summary":" user","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" asked","reasoning_details":[{"type":"reasoning.summary","summary":" asked","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" \"","reasoning_details":[{"type":"reasoning.summary","summary":" \"","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"Add","reasoning_details":[{"type":"reasoning.summary","summary":"Add","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" multiply","reasoning_details":[{"type":"reasoning.summary","summary":" multiply","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" number","reasoning_details":[{"type":"reasoning.summary","summary":" number","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" ","reasoning_details":[{"type":"reasoning.summary","summary":" ","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"2","reasoning_details":[{"type":"reasoning.summary","summary":"2","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" ","reasoning_details":[{"type":"reasoning.summary","summary":" ","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"3","reasoning_details":[{"type":"reasoning.summary","summary":"3","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"\".","reasoning_details":[{"type":"reasoning.summary","summary":"\".","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" The","reasoning_details":[{"type":"reasoning.summary","summary":" The","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" system","reasoning_details":[{"type":"reasoning.summary","summary":" system","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" prompt","reasoning_details":[{"type":"reasoning.summary","summary":" prompt","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" says","reasoning_details":[{"type":"reasoning.summary","summary":" says","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":":","reasoning_details":[{"type":"reasoning.summary","summary":":","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" \"","reasoning_details":[{"type":"reasoning.summary","summary":" \"","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"Always","reasoning_details":[{"type":"reasoning.summary","summary":"Always","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" use","reasoning_details":[{"type":"reasoning.summary","summary":" use","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" both","reasoning_details":[{"type":"reasoning.summary","summary":" both","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" add","reasoning_details":[{"type":"reasoning.summary","summary":" add","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" multiply","reasoning_details":[{"type":"reasoning.summary","summary":" multiply","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" at","reasoning_details":[{"type":"reasoning.summary","summary":" at","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" same","reasoning_details":[{"type":"reasoning.summary","summary":" same","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" time","reasoning_details":[{"type":"reasoning.summary","summary":" time","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":".\"\n","reasoning_details":[{"type":"reasoning.summary","summary":".\"\n","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"zFCSTMl4u3ImlkN5nZCC7NpB9eZGgUww1k8qERmidIqo/Kl7l/P9Av+PP7XjZ7MI4Wcans4j0fmPrZ8AVfbznufPg9mP6IhjWuT80h5P8Ghhffq58gf7UNcQbOLJDq4qNgsM93BIMqGhUQVmOgpLlDq+0qK5x9Ki1aUrAjlpwwN/pokCTUoXAlhgrm0P1c5oRml8PS5/DH2bGE9FZT2oSCnH6ZxbKWk1IMAAerjhwTypU6cRe02/V5RPkF4zUfZxzHUHkEBJSkpaSgscwbHwRfeU4qJXOoagRKSsCmdGybQL3ZmXur6FV+Hx0BJUY1bhwnkj5Y71mpJB2YiWxQBsI25/6C+3AKzBhXGS5p2Kz0NPeWKWpQW/3A29Lg1ndgQomAtNGSc3hYFwzS2Jjwtq/g84E7NktADpYCr66Y3ee1nQCfeNnfrMwrrn9GPrOfHLjBZbvDMGHnh5yxNvtzMoYuGuT843znbu0zqZlwXpcfbV4RaRnjfgkFAumA3TNM0Hu7kwPyIVSm6G+8gh1mnZGoNMnYogXwreUF9uNtJH/ol68tUXw/YPaV4w4RKqg2J830Rr5pTlMfJTG5M2IffCxcfqkRBu0qgcMHoZWO2Oe1FJmbBl413TFzNcGHI932QfnoUouw4l8ICef8eIm917OzieJAan8JTvb0hCswovD3p2tGXHtrH9oBUehwpmn9amUNWofmwJOcTyhgfhmSJCUTUVXQ6aJl7JrDEOyVQDZuFQgtU016KQPAT96vnyvFhWAtqpNoJp/2XQz/bQjppTF9MzB8olveUG2NyHJUFOXfI/nbcY2VqLIKTTpwqw2xW2I5CA4OF/vDZj26WhGjE3iYE6zWKSdmBxzAu86UR1F/joeuGEX6WxBaAufF63/WXOOI2Tl8pf+X/AeGdg1rjRB53jDqPAH8YkHgCiijaqzxFBTt7ppmTwQkf2iISgmDX5RlaF5na4FNxDBa/8OmZH2+kEU1/l7T524QwkQn5OkxuzwL+5MM+Gl7cz+WFlUPDT6mCyBsRlcgoCU9Xs4f2kEPpq8UDKPtxou8RHuS/TstWio8fKRbD0cqrHUICKhFe7O96gGJT9POrSj8lgDdLbHvkC/HP04jH/fsdx8WFkY8XESWQbjAxIHxlsPpXMZpzlNQFT2RMvnMMHKnraVMqJKR2Z288ivV0AVbfJdGZW6Mm0bbE4Wem7BtPD3FHOAE1hP7kT3n2IG5EcxGZY3ToyTYo+H1VQ","format":"xai-responses-v1","id":"rs_abee0330-3314-8aa4-328d-160d6330fcc4","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"id":"call_24685106","type":"function","function":{"name":"add","arguments":""}}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":""}}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":"{\"a\":2,\"b\":3}"}}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":1,"id":"call_09709929","type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":1,"function":{"arguments":""}}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":1,"function":{"arguments":"{\"a\":2,\"b\":3}"}}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null},"finish_reason":"tool_calls","native_finish_reason":"completed"}]}

      data: {"id":"gen-1773323524-sZIRQMKFNrl4kslO0v1w","object":"chat.completion.chunk","created":1773323524,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[],"usage":{"prompt_tokens":475,"completion_tokens":300,"total_tokens":775,"cost":0.00051044,"is_byok":false,"prompt_tokens_details":{"cached_tokens":192,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00051044,"upstream_inference_prompt_cost":0.00006044,"upstream_inference_completions_cost":0.00045},"completion_tokens_details":{"reasoning_tokens":232,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 797.091417ms
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1475
    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_24685106","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_09709929","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant","reasoning_details":[{"format":"unknown","index":0,"text":"The user asked to \"Add and multiply the number 2 and 3\". The system prompt says: \"Always use both add and multiply at the same time.\"\n","type":"reasoning.text"}]},{"content":"5","tool_call_id":"call_24685106","role":"tool"},{"content":"6","tool_call_id":"call_09709929","role":"tool"}],"model":"x-ai/grok-code-fast-1","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"}],"usage":{"include":true},"stream":true}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - OpenAI/Go 2.7.1
    url: https://openrouter.ai/api/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"First","reasoning_details":[{"type":"reasoning.summary","summary":"First","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" user","reasoning_details":[{"type":"reasoning.summary","summary":" user","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" asked","reasoning_details":[{"type":"reasoning.summary","summary":" asked","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" \"","reasoning_details":[{"type":"reasoning.summary","summary":" \"","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"Add","reasoning_details":[{"type":"reasoning.summary","summary":"Add","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" multiply","reasoning_details":[{"type":"reasoning.summary","summary":" multiply","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" number","reasoning_details":[{"type":"reasoning.summary","summary":" number","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" ","reasoning_details":[{"type":"reasoning.summary","summary":" ","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"2","reasoning_details":[{"type":"reasoning.summary","summary":"2","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" ","reasoning_details":[{"type":"reasoning.summary","summary":" ","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"3","reasoning_details":[{"type":"reasoning.summary","summary":"3","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"\".","reasoning_details":[{"type":"reasoning.summary","summary":"\".","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" The","reasoning_details":[{"type":"reasoning.summary","summary":" The","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" system","reasoning_details":[{"type":"reasoning.summary","summary":" system","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" prompt","reasoning_details":[{"type":"reasoning.summary","summary":" prompt","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" says","reasoning_details":[{"type":"reasoning.summary","summary":" says","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":":","reasoning_details":[{"type":"reasoning.summary","summary":":","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" \"","reasoning_details":[{"type":"reasoning.summary","summary":" \"","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"Always","reasoning_details":[{"type":"reasoning.summary","summary":"Always","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" use","reasoning_details":[{"type":"reasoning.summary","summary":" use","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" both","reasoning_details":[{"type":"reasoning.summary","summary":" both","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" add","reasoning_details":[{"type":"reasoning.summary","summary":" add","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" and","reasoning_details":[{"type":"reasoning.summary","summary":" and","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" multiply","reasoning_details":[{"type":"reasoning.summary","summary":" multiply","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" at","reasoning_details":[{"type":"reasoning.summary","summary":" at","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" same","reasoning_details":[{"type":"reasoning.summary","summary":" same","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" time","reasoning_details":[{"type":"reasoning.summary","summary":" time","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":".\"\n","reasoning_details":[{"type":"reasoning.summary","summary":".\"\n","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"VYx0N6GsXnP/om2DGtABPxLQ+/GMeW6t+A+hGu73hWOJhdtZMGB+gNUqVMZjHyluwvpUstPS8BwsjX/SmFADG2H8a5+wJ5JZQxqqKNJedoYA+2lYBzECJEtokIWLsuG3SQ+fL3gnGfogOyfoDaEcCnX7smiIIku/9rhh7Bqb+1Xt1TPuJo1C1sZ6CTHHDCmtC56eBpnhXuRhuGEHF/bIkLJP8vWmQAL6uYCC0oONY572Jc9TJaagM6ndoihGvJAmkoXYcZCVZ1ryeHhs0zVq14ZIxnnMYYGjDDuTuZEQTsx0chDHOUyiAcGTzWcuYY9NCq4qkI0OfOsekmAFKAT/Msnrd3wFY/MC109Eyh8Fht4IVGcJI9xNcoCVNl1t/+7FwffDafL6XdRbPDFONroTOkfYidrtb9dU0vWow++48CnaQCuxN6x7THD53Rf95j9k1sR9W9hcJJCoUpZG4obcEry7RFHRZtxNj14MglIdIwMsZ+7lyzQzGSsd/fyBFk3gMzfZLPMILbeDcoX5TY6X1Q3/0hIls5TJuhQ5du2TzyMj0JNT+mCRwsknFb07fHSb/sEwXnrKgXsU15caUjpWLCztJ0Nh+Id12lGUcUCYT9ZNeFxkfPHS0N0IeJtWTQTB/aPJ+Ch7PVJxPWxgTsBiVnLza3lOQ+2DfT6bm3jdsXVzWa9GDsEkmNOSSno1gt+EJFnLaORAAPrcltKOC3iLJkH8NxisG61NmQRYeEGTUxU9QexFJWMD/V6BUes0epkPosJHbjOqFPsKy8M5BKIgaC90RgjWOaFHErZeYx95UmPl/46JKnVd37M2t2FSWWAALxK+12mJX/BtakbVW8Rm+oF72LeKfSdlphR1h4xnsSKj4/hviF8JrSL/G+wQ37M5+nhmHEKE1m2hTB//i93bMhiOnqxaT2uBqFdqMHUgj/CoLBsH2h9rWR1kHrK3MG4UrV9Gbqu25UnK/wKvYqagpHrESbVt21Z2UYUQN76tL7UIXjpacE7SyvWyw+KfGF5mDK1rqpGm93aJfWacNww5xIYkpfHi0CXVXJTivjem4P7YS82kzQDKnbvME4p3RA","format":"xai-responses-v1","id":"rs_91703a06-dde9-c749-1534-232d8490ae08","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"The","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" sum","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" of","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" ","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"2","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" and","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" ","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"3","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" is","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" ","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"5","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":".","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" The","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" product","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" of","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" ","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"2","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" and","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" ","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"3","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" is","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" ","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"6","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":".","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null},"finish_reason":"stop","native_finish_reason":"completed"}]}

      data: {"id":"gen-1773323527-Cdk50FQYRIyjzJj9MMWH","object":"chat.completion.chunk","created":1773323527,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[],"usage":{"prompt_tokens":560,"completion_tokens":200,"total_tokens":760,"cost":0.00037744,"is_byok":false,"prompt_tokens_details":{"cached_tokens":192,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00037744,"upstream_inference_prompt_cost":0.00007744,"upstream_inference_completions_cost":0.0003},"completion_tokens_details":{"reasoning_tokens":176,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 661.626208ms
