---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 533
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"z-ai/glm-4.5","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-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n","reasoning_details":[{"type":"reasoning.text","text":"\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" asking","reasoning_details":[{"type":"reasoning.text","text":" asking","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.text","text":" Florence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" need","reasoning_details":[{"type":"reasoning.text","text":" need","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.text","text":" use","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" get","reasoning_details":[{"type":"reasoning.text","text":" get","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" this","reasoning_details":[{"type":"reasoning.text","text":" this","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.text","text":" information","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" The","reasoning_details":[{"type":"reasoning.text","text":" The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" requires","reasoning_details":[{"type":"reasoning.text","text":" requires","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"location","reasoning_details":[{"type":"reasoning.text","text":"location","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" parameter","reasoning_details":[{"type":"reasoning.text","text":" parameter","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" has","reasoning_details":[{"type":"reasoning.text","text":" has","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provided","reasoning_details":[{"type":"reasoning.text","text":" provided","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Flo","reasoning_details":[{"type":"reasoning.text","text":"Flo","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"rence","reasoning_details":[{"type":"reasoning.text","text":"rence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"Italy","reasoning_details":[{"type":"reasoning.text","text":"Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" as","reasoning_details":[{"type":"reasoning.text","text":" as","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.text","text":" location","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.text","text":" should","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" use","reasoning_details":[{"type":"reasoning.text","text":" use","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" this","reasoning_details":[{"type":"reasoning.text","text":" this","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" exact","reasoning_details":[{"type":"reasoning.text","text":" exact","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" value","reasoning_details":[{"type":"reasoning.text","text":" value","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" location","reasoning_details":[{"type":"reasoning.text","text":" location","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" parameter","reasoning_details":[{"type":"reasoning.text","text":" parameter","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"id":"call_ef1950da96ab46b19bcb66e7","index":0,"type":"function","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"}}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"tool_calls","native_finish_reason":"tool_calls","logprobs":null}]}

      data: {"id":"gen-1761054174-ERVrA11ylJ9lDokqJAho","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054174,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":179,"completion_tokens":79,"total_tokens":258,"cost":0.00019398,"is_byok":false,"prompt_tokens_details":{"cached_tokens":178,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002018,"upstream_inference_completions_cost":0.0001738},"completion_tokens_details":{"reasoning_tokens":71,"image_tokens":0}}}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 459.606542ms
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1168
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"\n","tool_calls":[{"id":"call_ef1950da96ab46b19bcb66e7","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant","reasoning_details":[{"format":"unknown","index":0,"text":"The user is asking for the weather in Florence, Italy. I need to use the weather function to get this information. The function requires a \"location\" parameter, and the user has provided \"Florence,Italy\" as the location. I should use this exact value for the location parameter.","type":"reasoning.text"}]},{"content":"40 C","tool_call_id":"call_ef1950da96ab46b19bcb66e7","role":"tool"}],"model":"z-ai/glm-4.5","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-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\n","reasoning_details":[{"type":"reasoning.text","text":"\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"The","reasoning_details":[{"type":"reasoning.text","text":"The","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" weather","reasoning_details":[{"type":"reasoning.text","text":" weather","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" function","reasoning_details":[{"type":"reasoning.text","text":" function","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" returned","reasoning_details":[{"type":"reasoning.text","text":" returned","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" \"","reasoning_details":[{"type":"reasoning.text","text":" \"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"40","reasoning_details":[{"type":"reasoning.text","text":"40","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" C","reasoning_details":[{"type":"reasoning.text","text":" C","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"\"","reasoning_details":[{"type":"reasoning.text","text":"\"","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" for","reasoning_details":[{"type":"reasoning.text","text":" for","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Florence","reasoning_details":[{"type":"reasoning.text","text":" Florence","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Italy","reasoning_details":[{"type":"reasoning.text","text":" Italy","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" This","reasoning_details":[{"type":"reasoning.text","text":" This","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" indicates","reasoning_details":[{"type":"reasoning.text","text":" indicates","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" current","reasoning_details":[{"type":"reasoning.text","text":" current","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" temperature","reasoning_details":[{"type":"reasoning.text","text":" temperature","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" ","reasoning_details":[{"type":"reasoning.text","text":" ","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":"40","reasoning_details":[{"type":"reasoning.text","text":"40","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" degrees","reasoning_details":[{"type":"reasoning.text","text":" degrees","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" Celsius","reasoning_details":[{"type":"reasoning.text","text":" Celsius","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":",","reasoning_details":[{"type":"reasoning.text","text":",","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" which","reasoning_details":[{"type":"reasoning.text","text":" which","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" is","reasoning_details":[{"type":"reasoning.text","text":" is","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" quite","reasoning_details":[{"type":"reasoning.text","text":" quite","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" hot","reasoning_details":[{"type":"reasoning.text","text":" hot","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" I","reasoning_details":[{"type":"reasoning.text","text":" I","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" should","reasoning_details":[{"type":"reasoning.text","text":" should","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" provide","reasoning_details":[{"type":"reasoning.text","text":" provide","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" this","reasoning_details":[{"type":"reasoning.text","text":" this","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" information","reasoning_details":[{"type":"reasoning.text","text":" information","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" to","reasoning_details":[{"type":"reasoning.text","text":" to","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" the","reasoning_details":[{"type":"reasoning.text","text":" the","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" user","reasoning_details":[{"type":"reasoning.text","text":" user","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" in","reasoning_details":[{"type":"reasoning.text","text":" in","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" a","reasoning_details":[{"type":"reasoning.text","text":" a","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" clear","reasoning_details":[{"type":"reasoning.text","text":" clear","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" and","reasoning_details":[{"type":"reasoning.text","text":" and","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" helpful","reasoning_details":[{"type":"reasoning.text","text":" helpful","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":" way","reasoning_details":[{"type":"reasoning.text","text":" way","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":".","reasoning_details":[{"type":"reasoning.text","text":".","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"\n","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"The","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" current","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" weather","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" in","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" Florence","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":",","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" Italy","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" is","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" ","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"40","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"°C","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" (","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"104","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"°F","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":").","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" That","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"'s","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" quite","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" hot","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"!","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" Make","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" sure","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" to","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" stay","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" hydrated","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" and","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" seek","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" shade","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" if","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" you","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"'re","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":" outdoors","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":".","reasoning":null,"reasoning_details":[]},"finish_reason":null,"native_finish_reason":null,"logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning":null,"reasoning_details":[]},"finish_reason":"stop","native_finish_reason":"stop","logprobs":null}]}

      data: {"id":"gen-1761054177-nQgmeCHWiquyCxUw9BaT","provider":"Z.AI","model":"z-ai/glm-4.5","object":"chat.completion.chunk","created":1761054177,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"usage":{"prompt_tokens":207,"completion_tokens":82,"total_tokens":289,"cost":0.00020366,"is_byok":false,"prompt_tokens_details":{"cached_tokens":206,"audio_tokens":0},"cost_details":{"upstream_inference_cost":null,"upstream_inference_prompt_cost":0.00002326,"upstream_inference_completions_cost":0.0001804},"completion_tokens_details":{"reasoning_tokens":55,"image_tokens":0}}}

      data: [DONE]

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