---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 885
    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-4.1-fast","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:
      - Charm-Fantasy/0.21.0 (https://charm.land/fantasy)
    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: |+
      : OPENROUTER PROCESSING

      : OPENROUTER PROCESSING

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

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

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

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

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

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

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

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

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

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

      data: {"id":"gen-1777319856-fW5AxHu2ePgwQZYxBi3m","object":"chat.completion.chunk","created":1777319856,"model":"x-ai/grok-4.1-fast","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-1777319856-fW5AxHu2ePgwQZYxBi3m","object":"chat.completion.chunk","created":1777319856,"model":"x-ai/grok-4.1-fast","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-1777319856-fW5AxHu2ePgwQZYxBi3m","object":"chat.completion.chunk","created":1777319856,"model":"x-ai/grok-4.1-fast","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-1777319856-fW5AxHu2ePgwQZYxBi3m","object":"chat.completion.chunk","created":1777319856,"model":"x-ai/grok-4.1-fast","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}]}

      : OPENROUTER PROCESSING

      : OPENROUTER PROCESSING

      data: {"id":"gen-1777319856-fW5AxHu2ePgwQZYxBi3m","object":"chat.completion.chunk","created":1777319856,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"sKMLUENtaFuNwiA+qmYPteg4j5ULZkd3wachX1+gnt9UBgRd+UlFnfQSUQ7GP2tQR0osDAVeEZp+uFINsP7a5uACh6ORaR1BF89V+U6vi+oN9h89okcVhMRgDNnHgyQh/oCNDcg8Aj8+hjo/5q8hQD+Rv5J57FFMcLDS3aUqDjoLiLMbfIZ4OxwTfpIHUYiwo/L0VFmakGL2WKKHdN9I0ux8K+wNpeb/1V4GMRcCNsMoBn9FXU/KAxdPNoyXNUW70CA2e7tbobCLeKaiAB1QNNeIY3y3mmxGvrwkubispBD1GKQXnRBlvCB9hJL68MqZ7hNjT/h/nJJ/CwaobhDOV3fSfgqEnxwp9DAn39TSRo5y4fO/wCFHmHo/fNLl0GkkHytzfauQMqo0mG/vE1NxNUep0+WnnWP2cLACsuY231AunWh4YZxuX2q22EVGbrfq4G17TP/IwZSbjmTvuCWYh/bwMpMqCw1J5/ZK+gKhJaERIU+UJ0jy1ATmp7C0I7WvbvAjqHgGcZJ5kmJFuCFmwiQuyY/kjXFNol5gEB05V5C0fbvSpJem54kqQdvkLEFp5eHdO+3wRannrDA1x6iKcVnm4zEzWKDLyvmPCK/IuZHSACuB+mOqa4nyuieKO2rbHaYG67QNQxtkXPy8TsQvc7tLm0TeXnBo/i5vSgg95DQ9MyHnKAv4rElXeqMKy7FriT9WUfYodoIUjRj5R95CbNOYHLnHuK0/R52GrffRd6qYBigO9py540JOSxYz/unvN0Mn0CkZRMnH/t/dm7UN0znnOacH6Tc0tomavC9S4JDZWwmKx3gVllwrpekqsh9jja2fPbX0/C//xbAWcKjfDpxjdsQ9lYqsRyK4pG6htRgnMImZnTEqgR/LRuDhCod8Tqp5maRS9DFHL2GhiYlavDDZkxBA+Y3qWStGPYtBci+1Ia0rduRbBgkGXg7h4ZJd3NgP8u6hc73/x4Za+2YYcT5Vks0sLPHvexqLMwMOJIAMlrH+jgpPT1TJAdlaeglRRcO6+teGYk2ysL92qeTr7kJ4Jgh1pwnfGXEeuHY6q4fJm/EZdbjQtU+vZ3Uyr21mxqQR5xuwLSRsTK45Gz/wHiSONhVPTtUO/4rw","format":"xai-responses-v1","id":"rs_e929bb23-dcba-4b2e-9d89-a05866e95f4d","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

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

      data: {"id":"gen-1777319856-fW5AxHu2ePgwQZYxBi3m","object":"chat.completion.chunk","created":1777319856,"model":"x-ai/grok-4.1-fast","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-1777319856-fW5AxHu2ePgwQZYxBi3m","object":"chat.completion.chunk","created":1777319856,"model":"x-ai/grok-4.1-fast","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-1777319856-fW5AxHu2ePgwQZYxBi3m","object":"chat.completion.chunk","created":1777319856,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":1,"id":"call_54693838","type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1777319856-fW5AxHu2ePgwQZYxBi3m","object":"chat.completion.chunk","created":1777319856,"model":"x-ai/grok-4.1-fast","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-1777319856-fW5AxHu2ePgwQZYxBi3m","object":"chat.completion.chunk","created":1777319856,"model":"x-ai/grok-4.1-fast","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-1777319856-fW5AxHu2ePgwQZYxBi3m","object":"chat.completion.chunk","created":1777319856,"model":"x-ai/grok-4.1-fast","provider":"xAI","service_tier":"default","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null},"finish_reason":"tool_calls","native_finish_reason":"completed"}]}

      data: {"id":"gen-1777319856-fW5AxHu2ePgwQZYxBi3m","object":"chat.completion.chunk","created":1777319856,"model":"x-ai/grok-4.1-fast","provider":"xAI","service_tier":"default","choices":[{"index":0,"delta":{"content":"","role":"assistant"},"finish_reason":"tool_calls","native_finish_reason":"completed"}],"usage":{"prompt_tokens":441,"completion_tokens":267,"total_tokens":708,"cost":0.00019875,"is_byok":false,"prompt_tokens_details":{"cached_tokens":153,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00019875,"upstream_inference_prompt_cost":0.00006525,"upstream_inference_completions_cost":0.0001335},"completion_tokens_details":{"reasoning_tokens":199,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 1.340256167s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1510
    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_67055809","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_54693838","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant","reasoning_details":[{"format":"unknown","index":0,"text":"The user says: \"Add and multiply the number 2 and 3\". I am a helpful assistant and must always use both add and multiply at the same time. I have tools for add and multiply.\n","type":"reasoning.text"}]},{"content":"5","tool_call_id":"call_67055809","role":"tool"},{"content":"6","tool_call_id":"call_54693838","role":"tool"}],"model":"x-ai/grok-4.1-fast","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:
      - Charm-Fantasy/0.21.0 (https://charm.land/fantasy)
    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: |+
      : OPENROUTER PROCESSING

      : OPENROUTER PROCESSING

      data: {"id":"gen-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","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}]}

      : OPENROUTER PROCESSING

      : OPENROUTER PROCESSING

      data: {"id":"gen-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"kiU05lmv8ZcBz5nULf08Zhixi9+uNxVvnskjjpfm3AQqU2qBUuS1SrRZgvyUPma9OnDwTxAjT+UoASXb+B6GDcS9hTpFN/0A0QT3yPZEL8B12Oi0WPCT8MX8Dxy8/74AH7fRe0gA/5w63RvST14XB52nFyKX3T/ckoUIkEI3bjl184P9ieXY8w8SdQVUNXqCxQu+YMfnyQ8HuDvW2hMHzy/0sLA29EbyVkQh/wZa4SVPmn8KpvwpHqF37eN7LEJAFMsuuUAbeob6TBGC8J1iMqbrZyNbDOMTks5TVjLZUAnV+PfZo+1C7/zcBtjLkxJ9gu0KM0Efv8VnLdAXwcnoIZJQmy9MyzXd63a59O/5wgA7OS5cRvlM29b+6CiCiUx5UBcFqCmMR/rwM0WlAtIaTvrzhQkaFAUb27hbbitPWZ+6DxH745ksTdjNDkA47+OyI7/qEIbhy0jfznAGyW6i8uLd0NX4niqq2w+mVPVqK2J6bbNBPIsMpqxHA2MeZq7ayohSMlzhyYWCK+27YvpvzEoCk6uGDOSjV6cJLFaCwuoUj6erAewN3dDObEvmcqX8ykrc/hMUfotey+kuzvYkw5Qqwz6hjP5MmQYi3RMGiGIuvaYRkmGR+9f19tjglZUBjZY7HPzZZowEMPy1OrsWjVZeSxTmE818PJE/XfvGSQyKTY3XxlmGkz/Iia9hGhEa6Tn9H4wQZD/49o7JWF2P2O45HtlZuFsntc76eFXiWwG74eDFGxjSju7q02xZFqtIq8/DT9ESQIAyb81+RzyxAE4EKv8ITfke3PiMSRhDLLrriHIIk8+hkUIgI2rEhDSXZdQt5wvZRfcNdHRIP66d0JOjjSiKhTZ4J1CyU9MWnP90WfSh5/to3+wMtbd3jxI2clSIgRXklF+zmchs1TQE0Bpf/Z/aIgNcnyaMkYtMBaoVLT8vbh0Cc21oIIU1aaY1TbiW7l34vQw","format":"xai-responses-v1","id":"rs_d9bbda7b-0e6b-961c-b6b4-24882efcd71b","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

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

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

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

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

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

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

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

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

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

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

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

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

      data: {"id":"gen-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","provider":"xAI","choices":[{"index":0,"delta":{"content":"  \n","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

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

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

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

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

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

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

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

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

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

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

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

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

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

      data: {"id":"gen-1777319859-ZO5jZVBMqOWyPQ6Rsx9G","object":"chat.completion.chunk","created":1777319859,"model":"x-ai/grok-4.1-fast","provider":"xAI","service_tier":"default","choices":[{"index":0,"delta":{"content":"","role":"assistant"},"finish_reason":"stop","native_finish_reason":"completed"}],"usage":{"prompt_tokens":526,"completion_tokens":190,"total_tokens":716,"cost":0.00017725,"is_byok":false,"prompt_tokens_details":{"cached_tokens":153,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00017725,"upstream_inference_prompt_cost":0.00008225,"upstream_inference_completions_cost":0.000095},"completion_tokens_details":{"reasoning_tokens":165,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 1.22332625s
