---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 542
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"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-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"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-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"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-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"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-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"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-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"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-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"What's","reasoning_details":[{"type":"reasoning.summary","summary":"What's","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"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-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

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

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

      data: {"id":"gen-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"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-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"Italy","reasoning_details":[{"type":"reasoning.summary","summary":"Italy","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"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-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"1u5ieO5zPrt6b1AOgcUcdcB2J/YX2xuUm3F7C8lDAenbRTmKXYhGetkDTtCQkhEoKoJ1QtvSwfQN1ynQoFWiJLPYZEsEPsJDw58gvdgQSLNPCLUh8nsr4x1uRQCAeJv3vmLAS2mSuLkVvZLSxCLmLt4kmtV++PCFgUT6hLDqGD+eWaeMcVIcPFrwN5TLyPANVg2y9CeKryZeZlQh9t1H4RArkp18ZqpXJHr4Xs5Vlq/AODaRSLzMKCw72UTH4wyz8uOSpkRCFfiCrmdxiYWWmFQDqonoToY7Q9q7uw+JWyM7rDk0ITlrHTtMYLYdKubl627px16HZoIq1q4Yu6a+lHzjSUpk7EHYSrMaz1XYM/sLhAv5WItNadtb5eFaPOvjIkpH/FVkxbuh0DpOGTEgG6mK6rlLK6SUUZer3IqJGuHi2gek5MNdmrEpXRBRGo58QD11zLYADtoRO30pZXrivydme7QHRZp6rCHt8yn/xkcuaKp+7lni4wPzidObHXv3b0xzDFC2KWxTs9SVp9wJeNgcd+xIlorlk++IXO8cmg78r+n13SskxbcOJmvJZ6WJ7v+aKaBqwOfzcMwmkfOKvrZkbHhesy4gq1g122MHVA0o05aXICySE9j9jipbrgLIVhouXLmPB9bGvWKhpk+Or0zd5RXGCrThfe/GoLh4zDk","format":"xai-responses-v1","id":"rs_5cac3117-5080-15da-b46f-051a923d7236","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

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

      data: {"id":"gen-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"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-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":"{\"location\":\"Florence,Italy\"}"}}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"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-1773323513-heRhsfFVW4GsI5oiCDMd","object":"chat.completion.chunk","created":1773323513,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[],"usage":{"prompt_tokens":395,"completion_tokens":132,"total_tokens":527,"cost":0.00020788,"is_byok":false,"prompt_tokens_details":{"cached_tokens":384,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00020788,"upstream_inference_prompt_cost":0.00000988,"upstream_inference_completions_cost":0.000198},"completion_tokens_details":{"reasoning_tokens":106,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 786.196209ms
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 907
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"tool_calls":[{"id":"call_98634134","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant","reasoning_details":[{"format":"unknown","index":0,"text":"The user asked: \"What''s the weather in Florence,Italy?\"\n","type":"reasoning.text"}]},{"content":"40 C","tool_call_id":"call_98634134","role":"tool"}],"model":"x-ai/grok-code-fast-1","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"What's","reasoning_details":[{"type":"reasoning.summary","summary":"What's","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

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

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

      data: {"id":"gen-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"Italy","reasoning_details":[{"type":"reasoning.summary","summary":"Italy","format":"xai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"27mByodwk/M4q13L1MoFn0cscWIOYQkfOij/CD8Xi/wcUI3k6CVWz0849ta8eK20+VPBrc0s9vZrWyuuShdJnJ+PkKsHZh9OCF5/6+LctqTB0k2THxyKgdBkonWm0y20PojCZr2DM3rSJfJe354stGIRkMnvkGsXzt1M13DMcUsuvRPGiAxDvroc6ohQxi50M1yBODkJ25X6P5uRs31QsDxpiiC49WWT/T+yEg/2RACR0pHIKzcc87gOx4/fyYEAatb55Act4iPFTrEmQyzu40lBhVOGs7W9rtTml40WD/RPxfn5uOeDvQaQ3QVHrcFsJqi41+qUBDI2xcOYPawpWsHiSsoNC8f1nqtls6VHxhb9qeYxDxPl4SK9/yu7bo9UqlrLFqv5Vd0mBw8OVdHl74cv2rhCGMkTgFoMzdEBOaKkpjSk5Yh9TS8NjhUwAaIoa8Z82TAn7/K3b9o4T3zL9aCdafGtnzMMDJ29gWT+uE9PQnMHTlv3z7LKoiV3EgXNwRJ0k92CTJ9CpLxrltfphL3pH1KqedaRvkwFNmo1Ga5GmkYSbKJpfI6dPhMWzDG2rMAPv26I/VLYG/0vfq5DRnYJrToBpwjM4YvvcKGl4W9/k1MfMOnQPaPM0vDlRhZsvnQWxfvCqBijr56N0bVQGBgWSxIakZ0LGLTnFJpJLMqWO9cjLh6wGaC8R3w7Jn6u3yfmWTtBVpWLOO9VbCt1CUUA+8b5NPNpxJXz/nMyfVLj8vYuYtHPW5Ha4oGwd1ExWtw5kzDAeXOW7cuEmuIwhxbnNpxh4weB1zdYPzAwx3qBs5Gl1PLZB0sXbsG+aQuxgCHaB+x44j0pyCu1A7Ghq5OmauGc7l8V5Y9/hqqIo9IX9+PNsmfiONUADan0EhjsBcta/NM6hDH3AK8EYN2UgQ","format":"xai-responses-v1","id":"rs_10d65e32-7467-b275-4d1f-6572283c68e3","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" current","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

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

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

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

      data: {"id":"gen-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" Italy","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":"40","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

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

      data: {"id":"gen-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" For","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

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

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

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

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

      data: {"id":"gen-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[{"index":0,"delta":{"content":" feel","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

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

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

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

      data: {"id":"gen-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"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-1773323515-J7ROgkSK5s3AYrJDN6QB","object":"chat.completion.chunk","created":1773323515,"model":"x-ai/grok-code-fast-1","provider":"xAI","choices":[],"usage":{"prompt_tokens":433,"completion_tokens":161,"total_tokens":594,"cost":0.00025898,"is_byok":false,"prompt_tokens_details":{"cached_tokens":384,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00025898,"upstream_inference_prompt_cost":0.00001748,"upstream_inference_completions_cost":0.0002415},"completion_tokens_details":{"reasoning_tokens":137,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

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