thinking-streaming.yaml

  1---
  2version: 2
  3interactions:
  4- id: 0
  5  request:
  6    proto: HTTP/1.1
  7    proto_major: 1
  8    proto_minor: 1
  9    content_length: 548
 10    host: ""
 11    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"openai/gpt-5","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}'
 12    headers:
 13      Accept:
 14      - application/json
 15      Content-Type:
 16      - application/json
 17      User-Agent:
 18      - OpenAI/Go 2.7.1
 19    url: https://openrouter.ai/api/v1/chat/completions
 20    method: POST
 21  response:
 22    proto: HTTP/2.0
 23    proto_major: 2
 24    proto_minor: 0
 25    content_length: -1
 26    body: |+
 27      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"**Fetching","reasoning_details":[{"type":"reasoning.summary","summary":"**Fetching","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 28
 29      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 30
 31      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" info","reasoning_details":[{"type":"reasoning.summary","summary":" info","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 32
 33      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"**\n\nI","reasoning_details":[{"type":"reasoning.summary","summary":"**\n\nI","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 34
 35      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" see","reasoning_details":[{"type":"reasoning.summary","summary":" see","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 36
 37      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 38
 39      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" user","reasoning_details":[{"type":"reasoning.summary","summary":" user","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 40
 41      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" is","reasoning_details":[{"type":"reasoning.summary","summary":" is","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 42
 43      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" asking","reasoning_details":[{"type":"reasoning.summary","summary":" asking","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 44
 45      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" about","reasoning_details":[{"type":"reasoning.summary","summary":" about","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 46
 47      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 48
 49      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 50
 51      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" in","reasoning_details":[{"type":"reasoning.summary","summary":" in","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 52
 53      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" Florence","reasoning_details":[{"type":"reasoning.summary","summary":" Florence","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 54
 55      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 56
 57      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" Italy","reasoning_details":[{"type":"reasoning.summary","summary":" Italy","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 58
 59      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 60
 61      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 62
 63      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"’ll","reasoning_details":[{"type":"reasoning.summary","summary":"’ll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 64
 65      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" use","reasoning_details":[{"type":"reasoning.summary","summary":" use","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 66
 67      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 68
 69      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" weather","reasoning_details":[{"type":"reasoning.summary","summary":" weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 70
 71      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 72
 73      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 74
 75      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" specifically","reasoning_details":[{"type":"reasoning.summary","summary":" specifically","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 76
 77      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" calling","reasoning_details":[{"type":"reasoning.summary","summary":" calling","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 78
 79      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" functions","reasoning_details":[{"type":"reasoning.summary","summary":" functions","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 80
 81      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":".weather","reasoning_details":[{"type":"reasoning.summary","summary":".weather","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 82
 83      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" with","reasoning_details":[{"type":"reasoning.summary","summary":" with","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 84
 85      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 86
 87      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" location","reasoning_details":[{"type":"reasoning.summary","summary":" location","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 88
 89      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" specified","reasoning_details":[{"type":"reasoning.summary","summary":" specified","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 90
 91      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 92
 93      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" Since","reasoning_details":[{"type":"reasoning.summary","summary":" Since","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 94
 95      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 96
 97      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" only","reasoning_details":[{"type":"reasoning.summary","summary":" only","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
 98
 99      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
100
101      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
102
103      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" use","reasoning_details":[{"type":"reasoning.summary","summary":" use","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
104
105      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" one","reasoning_details":[{"type":"reasoning.summary","summary":" one","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
106
107      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
108
109      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
110
111      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
112
113      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" don't","reasoning_details":[{"type":"reasoning.summary","summary":" don't","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
114
115      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" have","reasoning_details":[{"type":"reasoning.summary","summary":" have","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
116
117      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
118
119      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" worry","reasoning_details":[{"type":"reasoning.summary","summary":" worry","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
120
121      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" about","reasoning_details":[{"type":"reasoning.summary","summary":" about","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
122
123      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
124
125      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" parallel","reasoning_details":[{"type":"reasoning.summary","summary":" parallel","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
126
127      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" tool","reasoning_details":[{"type":"reasoning.summary","summary":" tool","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
128
129      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" wrapper","reasoning_details":[{"type":"reasoning.summary","summary":" wrapper","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
130
131      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":".","reasoning_details":[{"type":"reasoning.summary","summary":".","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
132
133      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
134
135      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" need","reasoning_details":[{"type":"reasoning.summary","summary":" need","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
136
137      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
138
139      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" keep","reasoning_details":[{"type":"reasoning.summary","summary":" keep","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
140
141      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" in","reasoning_details":[{"type":"reasoning.summary","summary":" in","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
142
143      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" mind","reasoning_details":[{"type":"reasoning.summary","summary":" mind","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
144
145      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" that","reasoning_details":[{"type":"reasoning.summary","summary":" that","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
146
147      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
148
149      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" function","reasoning_details":[{"type":"reasoning.summary","summary":" function","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
150
151      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" might","reasoning_details":[{"type":"reasoning.summary","summary":" might","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
152
153      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" return","reasoning_details":[{"type":"reasoning.summary","summary":" return","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
154
155      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" a","reasoning_details":[{"type":"reasoning.summary","summary":" a","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
156
157      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" mocked","reasoning_details":[{"type":"reasoning.summary","summary":" mocked","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
158
159      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" object","reasoning_details":[{"type":"reasoning.summary","summary":" object","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
160
161      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":",","reasoning_details":[{"type":"reasoning.summary","summary":",","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
162
163      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" but","reasoning_details":[{"type":"reasoning.summary","summary":" but","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
164
165      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" I","reasoning_details":[{"type":"reasoning.summary","summary":" I","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
166
167      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"’ll","reasoning_details":[{"type":"reasoning.summary","summary":"’ll","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
168
169      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" proceed","reasoning_details":[{"type":"reasoning.summary","summary":" proceed","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
170
171      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" with","reasoning_details":[{"type":"reasoning.summary","summary":" with","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
172
173      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
174
175      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" call","reasoning_details":[{"type":"reasoning.summary","summary":" call","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
176
177      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" to","reasoning_details":[{"type":"reasoning.summary","summary":" to","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
178
179      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" get","reasoning_details":[{"type":"reasoning.summary","summary":" get","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
180
181      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
182
183      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" information","reasoning_details":[{"type":"reasoning.summary","summary":" information","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
184
185      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" for","reasoning_details":[{"type":"reasoning.summary","summary":" for","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
186
187      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" the","reasoning_details":[{"type":"reasoning.summary","summary":" the","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
188
189      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":" user","reasoning_details":[{"type":"reasoning.summary","summary":" user","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
190
191      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":"!","reasoning_details":[{"type":"reasoning.summary","summary":"!","format":"openai-responses-v1","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
192
193      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null,"reasoning_details":[{"type":"reasoning.encrypted","data":"gAAAAABpssfPPBuXIeT1toiuWv9_i_vBHisxGb9dWM1Por_xBibo5FCvcdZNYlOnt999JwMCbei0yQH2r_PrWzmnBEQpIVAKyLBm7bcvwCcr5-wfXy-XX26WXaQWJP_fwDnFcOmn0d0BfIfVQg56qKWBV5jtny9AYb-FvopEEXRtbLSgy1_PtKWMaqi8pD3zzkEoKucXPEMTkP0n0DtxAxDfvuYteixrJgrZ4qqwdMgKwnVsCrybtHARja7gpkc7qEV3xYbDak2SovVIE4lEXufYmfsDP3muyPhS8fBd5GdtgreE5EFXrzigbSZlHM93swhnb_J4Z4d3-Cr8mxEBemKhQFlXnLRKXaj16bqfE_2hvP6Z93IiGQFpw7lae5rYoldDV7hPO-RIiQKkdn1l5uFZhhFhRRRCHjVtsx0WcSe7ySYMUcSdYSwLO_HdGrWiO6LTSO05MstqmgedeG3UNiVsFJ1eE3G1mVoa-sQtdBSdCILHa5wSRHnwNsBXLjf-_Tqtr84sPynCALl7lEMl6eqd1xkFKXcowgVZlNaCpMFrW2742AyPziU1oShb4t2EiDgCxdZNWAz-vE1YoEry3nKXz4_HDH7m9MLqmAEFHJjMtG5y6z0uUGjKPAN-21Jrg5-waw7aIdDsdK5toNB2-DX19lKAK4ktdQMONTpYa7MEKH0ZQS_6HR04LB5n0sGpvdIpe_FlNT4uwIXvc-r5vRuSnwZjmewgxonFwWp57a6x4xaG0Ymf9QygIAiUtwtdYgI9Y_xbxAxlGoZbvNcst3X8CBwtMaZixA930BiqRHPtkgy_LojAK6bMOH5DoWU7yOTjMGt9vuy0BXbmewQ4IoxvC_mbjpi8s7I0EUZWMwi_WlKsdMgacxfkO4QRZWDm7V_b3denqESZI_7AVRu3BrNYXUOTXL8qGOuKlONCowKHhWjzqPdrwV9BvombARXAGFD3s7PeqYORZ8RGFgCcqpM8GMRblIlG5JRfQI1QjsVQBO8hDJTuLx2L4nAC1O3LTTbdqVCMdz-FKFacwdRo-kAl6K3XgZXAYYQgOe960kFeUGD7FAsQ9HYlUavKx_OdqUUZcseU59y5VwT_cjtTll2csudcV0TvvzD_2Qz7i7ZyMI7dRocgEU1n4XbwhSJyjtWd3fv8CO-tqcPGXNEZ3fTzZjyvUK7_qr9Pp54kUerDFcmx84hbiZF-z6RRZTBNW4B3pnXLkKYKcLJw2gkpB-5PeNV3OoXIaLiudg45_27_1v0IToREjpGTefLYoRbyJ8TDMDWVQZXbW5vEA8EeDLqsZteHz6ihj0o1J7eb8MlDlIqMYLvH5dbcXLBrByFWtznfnRX8TQdkz3jDtNEZ92TneK7GRzhkpAfaj1A88ItBDQysP36mWb3v3Lwa9UZ9B7_KGiO-Bs4OdOtYtzJa9kvVzf55wnnbgQ==","format":"openai-responses-v1","id":"rs_0b3e532ad7ee644a0169b2c7ca703c81949bc437e0c4c64b39","index":0}]},"finish_reason":null,"native_finish_reason":null}]}
194
195      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"id":"call_PMwetLXlgdc65yX0cHoLY3SM","type":"function","function":{"name":"weather","arguments":""}}]},"finish_reason":null,"native_finish_reason":null}]}
196
197      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":""}}]},"finish_reason":null,"native_finish_reason":null}]}
198
199      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"finish_reason":null,"native_finish_reason":null}]}
200
201      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":"location"}}]},"finish_reason":null,"native_finish_reason":null}]}
202
203      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"finish_reason":null,"native_finish_reason":null}]}
204
205      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":"Flor"}}]},"finish_reason":null,"native_finish_reason":null}]}
206
207      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":"ence"}}]},"finish_reason":null,"native_finish_reason":null}]}
208
209      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":","}}]},"finish_reason":null,"native_finish_reason":null}]}
210
211      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":" Italy"}}]},"finish_reason":null,"native_finish_reason":null}]}
212
213      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":null,"role":"assistant","tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"finish_reason":null,"native_finish_reason":null}]}
214
215      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant","reasoning":null},"finish_reason":"tool_calls","native_finish_reason":"completed"}]}
216
217      data: {"id":"gen-1773324233-7bbCvshdLdDQrXb5TMah","object":"chat.completion.chunk","created":1773324233,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[],"usage":{"prompt_tokens":63,"completion_tokens":116,"total_tokens":179,"cost":0.00123875,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.00123875,"upstream_inference_prompt_cost":0.00007875,"upstream_inference_completions_cost":0.00116},"completion_tokens_details":{"reasoning_tokens":64,"image_tokens":0,"audio_tokens":0}}}
218
219      data: [DONE]
220
221    headers:
222      Content-Type:
223      - text/event-stream
224    status: 200 OK
225    code: 200
226    duration: 463.578542ms
227- id: 1
228  request:
229    proto: HTTP/1.1
230    proto_major: 1
231    proto_minor: 1
232    content_length: 2911
233    host: ""
234    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"call_PMwetLXlgdc65yX0cHoLY3SM","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant","reasoning_details":[{"format":"openai-responses-v1","index":0,"summary":"**Fetching weather info**\n\nI see the user is asking about the weather in Florence, Italy. I’ll use the weather tool, specifically calling functions.weather with the location specified. Since I only need to use one tool, I don''t have to worry about the parallel tool wrapper. I need to keep in mind that the function might return a mocked object, but I’ll proceed with the call to get the information for the user!","type":"reasoning.summary"},{"data":"gAAAAABpssfPPBuXIeT1toiuWv9_i_vBHisxGb9dWM1Por_xBibo5FCvcdZNYlOnt999JwMCbei0yQH2r_PrWzmnBEQpIVAKyLBm7bcvwCcr5-wfXy-XX26WXaQWJP_fwDnFcOmn0d0BfIfVQg56qKWBV5jtny9AYb-FvopEEXRtbLSgy1_PtKWMaqi8pD3zzkEoKucXPEMTkP0n0DtxAxDfvuYteixrJgrZ4qqwdMgKwnVsCrybtHARja7gpkc7qEV3xYbDak2SovVIE4lEXufYmfsDP3muyPhS8fBd5GdtgreE5EFXrzigbSZlHM93swhnb_J4Z4d3-Cr8mxEBemKhQFlXnLRKXaj16bqfE_2hvP6Z93IiGQFpw7lae5rYoldDV7hPO-RIiQKkdn1l5uFZhhFhRRRCHjVtsx0WcSe7ySYMUcSdYSwLO_HdGrWiO6LTSO05MstqmgedeG3UNiVsFJ1eE3G1mVoa-sQtdBSdCILHa5wSRHnwNsBXLjf-_Tqtr84sPynCALl7lEMl6eqd1xkFKXcowgVZlNaCpMFrW2742AyPziU1oShb4t2EiDgCxdZNWAz-vE1YoEry3nKXz4_HDH7m9MLqmAEFHJjMtG5y6z0uUGjKPAN-21Jrg5-waw7aIdDsdK5toNB2-DX19lKAK4ktdQMONTpYa7MEKH0ZQS_6HR04LB5n0sGpvdIpe_FlNT4uwIXvc-r5vRuSnwZjmewgxonFwWp57a6x4xaG0Ymf9QygIAiUtwtdYgI9Y_xbxAxlGoZbvNcst3X8CBwtMaZixA930BiqRHPtkgy_LojAK6bMOH5DoWU7yOTjMGt9vuy0BXbmewQ4IoxvC_mbjpi8s7I0EUZWMwi_WlKsdMgacxfkO4QRZWDm7V_b3denqESZI_7AVRu3BrNYXUOTXL8qGOuKlONCowKHhWjzqPdrwV9BvombARXAGFD3s7PeqYORZ8RGFgCcqpM8GMRblIlG5JRfQI1QjsVQBO8hDJTuLx2L4nAC1O3LTTbdqVCMdz-FKFacwdRo-kAl6K3XgZXAYYQgOe960kFeUGD7FAsQ9HYlUavKx_OdqUUZcseU59y5VwT_cjtTll2csudcV0TvvzD_2Qz7i7ZyMI7dRocgEU1n4XbwhSJyjtWd3fv8CO-tqcPGXNEZ3fTzZjyvUK7_qr9Pp54kUerDFcmx84hbiZF-z6RRZTBNW4B3pnXLkKYKcLJw2gkpB-5PeNV3OoXIaLiudg45_27_1v0IToREjpGTefLYoRbyJ8TDMDWVQZXbW5vEA8EeDLqsZteHz6ihj0o1J7eb8MlDlIqMYLvH5dbcXLBrByFWtznfnRX8TQdkz3jDtNEZ92TneK7GRzhkpAfaj1A88ItBDQysP36mWb3v3Lwa9UZ9B7_KGiO-Bs4OdOtYtzJa9kvVzf55wnnbgQ==","format":"openai-responses-v1","id":"rs_0b3e532ad7ee644a0169b2c7ca703c81949bc437e0c4c64b39","index":0,"type":"reasoning.encrypted"}]},{"content":"40 C","tool_call_id":"call_PMwetLXlgdc65yX0cHoLY3SM","role":"tool"}],"model":"openai/gpt-5","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}'
235    headers:
236      Accept:
237      - application/json
238      Content-Type:
239      - application/json
240      User-Agent:
241      - OpenAI/Go 2.7.1
242    url: https://openrouter.ai/api/v1/chat/completions
243    method: POST
244  response:
245    proto: HTTP/2.0
246    proto_major: 2
247    proto_minor: 0
248    content_length: -1
249    body: |+
250      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"It","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
251
252      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"’s","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
253
254      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" currently","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
255
256      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" about","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
257
258      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" ","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
259
260      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"40","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
261
262      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"°C","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
263
264      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" in","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
265
266      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" Florence","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
267
268      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":",","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
269
270      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" Italy","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
271
272      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":".","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
273
274      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" Stay","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
275
276      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" hydrated","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
277
278      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" and","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
279
280      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" avoid","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
281
282      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" strenuous","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
283
284      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" activity","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
285
286      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" during","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
287
288      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" peak","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
289
290      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" afternoon","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
291
292      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":" heat","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
293
294      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":".","role":"assistant"},"finish_reason":null,"native_finish_reason":null}]}
295
296      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[{"index":0,"delta":{"content":"","role":"assistant"},"finish_reason":"stop","native_finish_reason":"completed"}]}
297
298      data: {"id":"gen-1773324239-e0BJ1jt1aVz5MikrC47p","object":"chat.completion.chunk","created":1773324239,"model":"openai/gpt-5-2025-08-07","provider":"OpenAI","choices":[],"usage":{"prompt_tokens":188,"completion_tokens":27,"total_tokens":215,"cost":0.000505,"is_byok":false,"prompt_tokens_details":{"cached_tokens":0,"cache_write_tokens":0,"audio_tokens":0,"video_tokens":0},"cost_details":{"upstream_inference_cost":0.000505,"upstream_inference_prompt_cost":0.000235,"upstream_inference_completions_cost":0.00027},"completion_tokens_details":{"reasoning_tokens":0,"image_tokens":0,"audio_tokens":0}}}
299
300      data: [DONE]
301
302    headers:
303      Content-Type:
304      - text/event-stream
305    status: 200 OK
306    code: 200
307    duration: 501.2125ms