mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-30 19:59:40 +02:00
106 lines
3.5 KiB
YAML
106 lines
3.5 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"messages": [{"content": "what is the weather in SF, CA?", "role": "user"},
|
|
{"content": null, "role": "assistant", "tool_calls": [{"type": "function", "id":
|
|
"call_qaLYhIH0C6fXQBpIw9PtzwCz", "function": {"name": "get_weather", "arguments":
|
|
"{\"location\": \"SF, CA\"}"}}]}, {"content": "Error: AssertionError(''Unknown
|
|
Location'')\n Please fix your mistakes.", "role": "tool", "tool_call_id": "call_qaLYhIH0C6fXQBpIw9PtzwCz"}],
|
|
"model": "gpt-4o", "n": 1, "stream": false, "temperature": 0.0, "tools": [{"type":
|
|
"function", "function": {"name": "get_weather", "description": "Use this to
|
|
get weather information from a given location.", "parameters": {"type": "object",
|
|
"properties": {"location": {"type": "string"}}, "required": ["location"]}}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '744'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=umMudA_sRoLotDY3RQlholdYuYyxi.3FkgAe5bI5qBw-1726170184-1.0.1.1-k1_fkNSUv_n5S3ImnqfzNqWUpaLIq_u.k1mFPZJG8byKTmejozHHvmJw1LRCkLAAnzqN6EpaMXYBbQ7uoATrIQ;
|
|
_cfuvid=SnmYmGEfWdde3TdzgkwZCLc_.3Ch2tBNchvm8O1dR7c-1726170184318-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.45.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.45.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.9
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
H4sIAAAAAAAAA2xSTY/TMBS851dY79ygJE1byK0CFrEI7SLE8lUUvXVfUreObWyHpar635HTtMlW
|
|
+BBZM555k7EPEWMg1lAw4Bv0vDEyXs53yVfxYfvN8Xu8v/m9r6YfZcqpfvvG3MIkKPTjlrg/q15w
|
|
3RhJXmh1orkl9BRc00U2TxdJ+jLviEavSQZZbXyc6zhLsjxOZnE67YUbLTg5KNjPiDHGDt03RFRr
|
|
+gsFSyZnpCHnsCYoLocYA6tlQACdE86j8jAZSK6VJxVSq1bKEeG1liVHKYfBp3UY7YeeUMqS7t5X
|
|
X+6m35ul/DR/wHd/NP142O5uR/NO1nvTBapaxS/9jPgLXlwNYwwUNp22Jl8+EfoN2Ss5Y4C2bhtS
|
|
PkSHwwqk5hgMV1Cs4DMqdmNRceG4nrDXyxUc4ZnDMfrf/teoHEtV61D2rfX48XINUtfG6kd31SpU
|
|
Qgm3KS2h6/5uXHJ0ntbNgfbZPYKxujG+9HpHKti+yk+mMLyygUwXPem1RznC0zTqY4LbO09NWQlV
|
|
kzVWdE8AKlNms3mWI01xBtEx+gcAAP//AwCGW55LCwMAAA==
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c2262646e295e74-EWR
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 12 Sep 2024 19:43:04 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-organization:
|
|
- langchain
|
|
openai-processing-ms:
|
|
- '264'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '30000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '29999956'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_46e4cdaa5976b1bd98793a15753699c3
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|