---
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-1773324043-x0rKWKEIG9euQGgS9Q64","object":"chat.completion.chunk","created":1773324043,"model":"z-ai/glm-4.5","provider":"Z.AI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"\n","reasoning_details":[{"type":"reasoning.text","text":"\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      data: {"id":"gen-1773324043-x0rKWKEIG9euQGgS9Q64","object":"chat.completion.chunk","created":1773324043,"model":"z-ai/glm-4.5","provider":"Z.AI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"id":"call_41f85dbc4f6043e4998c612a","type":"function","function":{"name":"weather","arguments":""}}]},"finish_reason":null,"native_finish_reason":null}]}

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

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

      data: {"id":"gen-1773324043-x0rKWKEIG9euQGgS9Q64","object":"chat.completion.chunk","created":1773324043,"model":"z-ai/glm-4.5","provider":"Z.AI","choices":[],"usage":{"prompt_tokens":178,"completion_tokens":87,"total_tokens":265,"cost":0.00021147,"is_byok":false,"prompt_tokens_details":{"cached_tokens":177,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00021147,"upstream_inference_prompt_cost":0.00002007,"upstream_inference_completions_cost":0.0001914},"completion_tokens_details":{"reasoning_tokens":56,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 3.156603917s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1202
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll check the weather in Florence, Italy for you.\n","tool_calls":[{"id":"call_41f85dbc4f6043e4998c612a","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 have access to a weather function that requires a location parameter. The user has provided \"Florence,Italy\" as the location. I should use this exact value as provided by the user for the location parameter.","type":"reasoning.text"}]},{"content":"40 C","tool_call_id":"call_41f85dbc4f6043e4998c612a","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-1773324046-3H5BZM5C70ATNICGsa3W","object":"chat.completion.chunk","created":1773324046,"model":"z-ai/glm-4.5","provider":"Z.AI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"\n","reasoning_details":[{"type":"reasoning.text","text":"\n","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      data: {"id":"gen-1773324046-3H5BZM5C70ATNICGsa3W","object":"chat.completion.chunk","created":1773324046,"model":"z-ai/glm-4.5","provider":"Z.AI","choices":[],"usage":{"prompt_tokens":273,"completion_tokens":83,"total_tokens":356,"cost":0.00032533,"is_byok":false,"prompt_tokens_details":{"cached_tokens":43,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00032533,"upstream_inference_prompt_cost":0.00014273,"upstream_inference_completions_cost":0.0001826},"completion_tokens_details":{"reasoning_tokens":42,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

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