Files
langgraph/docs/cassettes/tool-calling_17.yaml
T

81 lines
2.3 KiB
YAML

interactions:
- request:
body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "what''s
the weather in sf?"}], "model": "claude-3-haiku-20240307", "temperature": 0.0,
"tools": [{"name": "get_weather", "description": "Call to get the current weather.",
"input_schema": {"type": "object", "properties": {"location": {"type": "string"}},
"required": ["location"]}}, {"name": "get_coolest_cities", "description": "Get
a list of coolest cities", "input_schema": {"type": "object", "properties":
{}}}]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
anthropic-version:
- '2023-06-01'
connection:
- keep-alive
content-length:
- '478'
content-type:
- application/json
host:
- api.anthropic.com
user-agent:
- Anthropic/Python 0.34.2
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 0.34.2
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.9
method: POST
uri: https://api.anthropic.com/v1/messages
response:
body:
string: !!binary |
H4sIAAAAAAAAA1RQ20rDQBD9lXBefNlC2kiL+2ZtRSh4xaqIhHUzNDGb3ZidrYaQf5dExfo0zJlz
mZkORQaJyu/SePq0bKqLVfv2ut67fR6S1W2zrjcQ4LamgUXeqx1BoHFmAJT3hWdlGQKVy8hAQhsV
Mpokk1wVZZjM4tlxnMQLCGhnmSxDPne/jkyfg3YsElelakVkiI98pHPSZcQ5RR+kOKcmKmx0p2x0
3iirC6+dRC/+jJwzafDDbuNBQx/SeLq5z8/U9nT9ePNQ7q9Xl0vKtvUJBKyqBt2OOP0JGKS2DgzZ
wTituHAWEv8y0fcvAp5dnTak/Eg4iB4Hnt4DWU2QNhgjEMafye7bPWVXkvWQyWIu4AIfYvN5338B
AAD//wMA07nX5pIBAAA=
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c2263bc3a645e60-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Thu, 12 Sep 2024 19:44:00 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Robots-Tag:
- none
request-id:
- req_01DAVYt4UyKwjYGVdMbmNEXc
via:
- 1.1 google
x-cloud-trace-context:
- 1c841baaaedc5d496faca7a1ee015f9f
status:
code: 200
message: OK
version: 1