-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathTestToolCall.httprr
More file actions
19 lines (15 loc) · 942 Bytes
/
Copy pathTestToolCall.httprr
File metadata and controls
19 lines (15 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
httprr trace v1
574 344
POST http://localhost:11434/api/chat HTTP/1.1
Host: localhost:11434
User-Agent: langchaingo-httprr
Content-Length: 388
Accept: application/x-ndjson
Content-Type: application/json
{"model":"gemma3:1b","messages":[{"role":"user","content":"What is the weather in San Francisco?"}],"format":"","tools":[{"type":"function","function":{"name":"get_weather","description":"Get the current weather for a location","parameters":{"properties":{"location":{"description":"The city name","type":"string"}},"required":["location"],"type":"object"}}}],"options":{"temperature":0}}HTTP/1.1 200 OK
Content-Type: application/x-ndjson
Date: Wed, 20 Aug 2025 14:00:00 GMT
Transfer-Encoding: chunked
d5
{"model":"gemma3:1b","created_at":"2025-08-20T14:00:00.000000Z","message":{"role":"assistant","content":"","tool_calls":[{"function":{"name":"get_weather","arguments":{"location":"San Francisco"}}}]},"done":true}
0