---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 548
    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.6","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"}],"reasoning":{"effort":"medium"},"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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" can","reasoning_details":[{"type":"reasoning.text","text":" can","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

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

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" they","reasoning_details":[{"type":"reasoning.text","text":" they","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" want","reasoning_details":[{"type":"reasoning.text","text":" want","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"I","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"'ll","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" check","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" the","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" weather","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" in","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" Florence","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":",","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" Italy","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" for","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" you","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":".","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"id":"call_a0979b6107624af58e5b7301","type":"function","function":{"name":"weather","arguments":""}}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null},"finish_reason":"tool_calls","native_finish_reason":"tool_calls"}]}

      data: {"id":"gen-1773324289-yVgLDEWUCYmaq8QFAuyM","object":"chat.completion.chunk","created":1773324289,"model":"z-ai/glm-4.6","provider":"Novita","choices":[],"usage":{"prompt_tokens":173,"completion_tokens":93,"total_tokens":266,"cost":0.00022451,"is_byok":false,"prompt_tokens_details":{"cached_tokens":171,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00022451,"upstream_inference_prompt_cost":0.00001991,"upstream_inference_completions_cost":0.0002046},"completion_tokens_details":{"reasoning_tokens":67,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 1.196639625s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1277
    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.","tool_calls":[{"id":"call_a0979b6107624af58e5b7301","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant","reasoning_details":[{"format":"unknown","index":0,"text":" user is asking for the weather in Florence, Italy. I have access to a weather function that can get weather information for a location. The function requires a \"location\" parameter, and the user has provided \"Florence, Italy\" as the location they want weather for. I should use this exact value for the location parameter.","type":"reasoning.text"}]},{"content":"40 C","tool_call_id":"call_a0979b6107624af58e5b7301","role":"tool"}],"model":"z-ai/glm-4.6","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"}],"reasoning":{"effort":"medium"},"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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" temperature","reasoning_details":[{"type":"reasoning.text","text":" temperature","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" of","reasoning_details":[{"type":"reasoning.text","text":" of","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" present","reasoning_details":[{"type":"reasoning.text","text":" present","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" clearly","reasoning_details":[{"type":"reasoning.text","text":" clearly","format":"unknown","index":0}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","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-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"The","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" current","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" weather","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" in","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" Florence","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":",","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" Italy","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" is","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" ","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"40","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"°C","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":",","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" which","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" is","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" quite","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" hot","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"!","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" It","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"'s","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" definitely","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" warm","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" weather","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" there","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" right","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":" now","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":".","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null},"finish_reason":"stop","native_finish_reason":"stop"}]}

      data: {"id":"gen-1773324292-Uc9rw1I8C32qLslHJqNy","object":"chat.completion.chunk","created":1773324292,"model":"z-ai/glm-4.6","provider":"Novita","choices":[],"usage":{"prompt_tokens":271,"completion_tokens":58,"total_tokens":329,"cost":0.00020097,"is_byok":false,"prompt_tokens_details":{"cached_tokens":172,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00020097,"upstream_inference_prompt_cost":0.00007337,"upstream_inference_completions_cost":0.0001276},"completion_tokens_details":{"reasoning_tokens":30,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

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