---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 879
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"z-ai/glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - 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-1773324058-dZa5em6CCB29zznhaofI","object":"chat.completion.chunk","created":1773324058,"model":"z-ai/glm-4.5","provider":"Novita","choices":[{"index":0,"delta":{"content":"\n","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      data: {"id":"gen-1773324058-dZa5em6CCB29zznhaofI","object":"chat.completion.chunk","created":1773324058,"model":"z-ai/glm-4.5","provider":"Novita","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"id":"call_6a11b6c05ee447799771c928","type":"function","function":{"name":"add","arguments":""}}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324058-dZa5em6CCB29zznhaofI","object":"chat.completion.chunk","created":1773324058,"model":"z-ai/glm-4.5","provider":"Novita","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":"{\"a\":2,\"b\":3}"}}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324058-dZa5em6CCB29zznhaofI","object":"chat.completion.chunk","created":1773324058,"model":"z-ai/glm-4.5","provider":"Novita","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":1,"id":"call_4431af3675844706982c27ec","type":"function","function":{"name":"multiply","arguments":""}}]},"finish_reason":null,"native_finish_reason":null}]}

      data: {"id":"gen-1773324058-dZa5em6CCB29zznhaofI","object":"chat.completion.chunk","created":1773324058,"model":"z-ai/glm-4.5","provider":"Novita","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":1,"function":{"arguments":"{\"a\":2,\"b\":3}"}}]},"finish_reason":null,"native_finish_reason":null}]}

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

      data: {"id":"gen-1773324058-dZa5em6CCB29zznhaofI","object":"chat.completion.chunk","created":1773324058,"model":"z-ai/glm-4.5","provider":"Novita","choices":[],"usage":{"prompt_tokens":280,"completion_tokens":143,"total_tokens":423,"cost":0.00035716,"is_byok":false,"prompt_tokens_details":{"cached_tokens":256,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00035716,"upstream_inference_prompt_cost":0.00004256,"upstream_inference_completions_cost":0.0003146},"completion_tokens_details":{"reasoning_tokens":82,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 1.14797225s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1755
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"\nI''ll add and multiply the numbers 2 and 3 for you.\n","tool_calls":[{"id":"call_6a11b6c05ee447799771c928","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"call_4431af3675844706982c27ec","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant","reasoning_details":[{"format":"unknown","index":0,"text":" user is asking me to add and multiply the numbers 2 and 3. I need to use both the add function and the multiply function with the same inputs (2 and 3).\n\nFor the add function:\n- a = 2\n- b = 3\n\nFor the multiply function:\n- a = 2  \n- b = 3\n\nI''ll call both functions with these parameters.","type":"reasoning.text"}]},{"content":"5","tool_call_id":"call_6a11b6c05ee447799771c928","role":"tool"},{"content":"6","tool_call_id":"call_4431af3675844706982c27ec","role":"tool"}],"model":"z-ai/glm-4.5","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"usage":{"include":true},"stream":true}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - 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-1773324062-5ihkwbIAUS4cXNmrgV8p","object":"chat.completion.chunk","created":1773324062,"model":"z-ai/glm-4.5","provider":"Novita","choices":[{"index":0,"delta":{"content":"\n","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      data: {"id":"gen-1773324062-5ihkwbIAUS4cXNmrgV8p","object":"chat.completion.chunk","created":1773324062,"model":"z-ai/glm-4.5","provider":"Novita","choices":[],"usage":{"prompt_tokens":435,"completion_tokens":68,"total_tokens":503,"cost":0.00027242,"is_byok":false,"prompt_tokens_details":{"cached_tokens":282,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00027242,"upstream_inference_prompt_cost":0.00012282,"upstream_inference_completions_cost":0.0001496},"completion_tokens_details":{"reasoning_tokens":37,"image_tokens":0,"audio_tokens":0}}}

      data: [DONE]

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