interactions: - request: body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "what''s the weather in the coolest cities?"}], "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: - '494' 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 | H4sIAAAAAAAAA1SQTU/DMAyG/0rlC5dMKmu2qbmBEHAZoN0QQlFoTRs1S7rZ2Yeq/neUDgScrNf2 +/hjAFuDgi01Or+WS3+8KYuN3MVzV27w9PRoegIBfO4xdSGRaRAE7INLCUNkiY1nELANNTpQUDkT a5wVs9bYLs7m+VzmRb4CAVXwjJ5BvQ0/RMZT8k5BwXNnziJzyFeUfVpfZyFyxi1mRzTc4j6zfpJV CA6Js8qyRVIwil9gCE5HSjtOhyUddX5938i7Q7mW649DtWgfXl6jv11KEODNNvkaZP2N1RdsIvg+ MqhhHN8FEIde79FQ8P/nTAXCXURfISgfnRMQp0ep4cLQHDr0BKpYlQJC5L+5hRzHLwAAAP//AwBY jV5YhwEAAA== headers: CF-Cache-Status: - DYNAMIC CF-RAY: - 8c2263cfd8f75e60-EWR Connection: - keep-alive Content-Encoding: - gzip Content-Type: - application/json Date: - Thu, 12 Sep 2024 19:44:03 GMT Server: - cloudflare Transfer-Encoding: - chunked X-Robots-Tag: - none request-id: - req_01BNGmhM1t5gRtnQN8RUjNR5 via: - 1.1 google x-cloud-trace-context: - ee2891219c1399a97b978373485ca0ce status: code: 200 message: OK - request: body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "what''s the weather in the coolest cities?"}, {"role": "assistant", "content": [{"text": "Okay, let''s find out the weather in the coolest cities:", "type": "text"}, {"type": "tool_use", "name": "get_coolest_cities", "input": {}, "id": "toolu_01Fg4Dv9M4Mbvc5hGPYunB64"}]}, {"role": "user", "content": [{"type": "tool_result", "content": "nyc, sf", "tool_use_id": "toolu_01Fg4Dv9M4Mbvc5hGPYunB64", "is_error": false}]}], "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: - '866' 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 | H4sIAAAAAAAAA0xQS2vDMAz+K0aXXVxIm9B1vq2UdbR0hzK6FyOYREtMXbuL5LUh5L8PZxvrSeiT vofUgSlBwYGqPBk/z9fN7Gm7Po93W7NY7ZY7nz4uQAK3R4xbSKQrBAmNtxHQRIZYOwYJB1+iBQWF 1aHEUTqqtdmH0SSZZEmaXIOEwjtGx6Deuj9FxnPkDkXBgz8Ji3xFokIWXKM4oeYaG/HhG8G1JxSF YYOkoJf/It7bPFDMNRwT+5An483tvGybu9VX9sr3s5dN2/KS9iDB6UPkVcj5r0GkumNgUB1YX2g2 3oEC1xbQ9+8SiP0xb1DTAF8YDgPCz4CuQFAuWCshDF9S3Y9mzn6PjkBl2Y0EH/gSm077/hsAAP// AwDP4X/zhAEAAA== headers: CF-Cache-Status: - DYNAMIC CF-RAY: - 8c2263d56f785e60-EWR Connection: - keep-alive Content-Encoding: - gzip Content-Type: - application/json Date: - Thu, 12 Sep 2024 19:44:04 GMT Server: - cloudflare Transfer-Encoding: - chunked X-Robots-Tag: - none request-id: - req_01DB9tRv21zzAXsxWWiznf5w via: - 1.1 google x-cloud-trace-context: - a6058db9eb3262e941940a89566eea8b status: code: 200 message: OK - request: body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "what''s the weather in the coolest cities?"}, {"role": "assistant", "content": [{"text": "Okay, let''s find out the weather in the coolest cities:", "type": "text"}, {"type": "tool_use", "name": "get_coolest_cities", "input": {}, "id": "toolu_01Fg4Dv9M4Mbvc5hGPYunB64"}]}, {"role": "user", "content": [{"type": "tool_result", "content": "nyc, sf", "tool_use_id": "toolu_01Fg4Dv9M4Mbvc5hGPYunB64", "is_error": false}]}, {"role": "assistant", "content": [{"text": "Now let''s get the weather for those cities:", "type": "text"}, {"type": "tool_use", "name": "get_weather", "input": {"location": "nyc"}, "id": "toolu_01MABdyrFJv4ZtH8YMyytGsk"}]}, {"role": "user", "content": [{"type": "tool_result", "content": "It''s 90 degrees and sunny.", "tool_use_id": "toolu_01MABdyrFJv4ZtH8YMyytGsk", "is_error": false}]}], "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: - '1255' 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 | H4sIAAAAAAAAA1SP20rEQAyG3+W/nkK3BxfmUlkEsYsoKCJShjb2NDvTbTIeKH13aUXQy3zJ/yWZ 0dXQOHFTxru8fS4u5eHxsO8v8pv8qe+vx+IMBfkaaZ0iZtMQFCZvV2CYOxbjBAonX5OFRmVNqClK o9Z0Q4iSOMniNN5DofJOyAn0y/xrFO9tGXhVbnesdSjj3ZEm9368H4osaT/T3d2Bb8erBgrOnNZc Q1J+kJGWpjXqxiDQM6yvjHTeQYPfsCyvCix+LCcyvNE/+7YG0zmQqwjaBWsVwvafnn+UpfiBHEPn aabgg/xj2bJ8AwAA//8DAAbtk1I+AQAA headers: CF-Cache-Status: - DYNAMIC CF-RAY: - 8c2263d9fce65e60-EWR Connection: - keep-alive Content-Encoding: - gzip Content-Type: - application/json Date: - Thu, 12 Sep 2024 19:44:04 GMT Server: - cloudflare Transfer-Encoding: - chunked X-Robots-Tag: - none request-id: - req_01M4rNpamz5S3BPBQbgwTdRL via: - 1.1 google x-cloud-trace-context: - 76310bf2fed828734e4aff1ed0dd00d9 status: code: 200 message: OK - request: body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "what''s the weather in the coolest cities?"}, {"role": "assistant", "content": [{"text": "Okay, let''s find out the weather in the coolest cities:", "type": "text"}, {"type": "tool_use", "name": "get_coolest_cities", "input": {}, "id": "toolu_01Fg4Dv9M4Mbvc5hGPYunB64"}]}, {"role": "user", "content": [{"type": "tool_result", "content": "nyc, sf", "tool_use_id": "toolu_01Fg4Dv9M4Mbvc5hGPYunB64", "is_error": false}]}, {"role": "assistant", "content": [{"text": "Now let''s get the weather for those cities:", "type": "text"}, {"type": "tool_use", "name": "get_weather", "input": {"location": "nyc"}, "id": "toolu_01MABdyrFJv4ZtH8YMyytGsk"}]}, {"role": "user", "content": [{"type": "tool_result", "content": "It''s 90 degrees and sunny.", "tool_use_id": "toolu_01MABdyrFJv4ZtH8YMyytGsk", "is_error": false}]}, {"role": "assistant", "content": [{"type": "tool_use", "name": "get_weather", "input": {"location": "sf"}, "id": "toolu_01NernvNRkM42hx31PEsLpCg"}]}, {"role": "user", "content": [{"type": "tool_result", "content": "It''s 60 degrees and foggy.", "tool_use_id": "toolu_01NernvNRkM42hx31PEsLpCg", "is_error": false}]}], "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: - '1570' 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 | H4sIAAAAAAAAA4yRQUsDQQyF/0rIeSprq7XOUdGbglRQsVKG3bgdd5rUScZaSv+7bFVQT54C7315 7/C2GBv0uNR2Xh1OV/Xz8eTm5bq7ndxdvE1Gl/dXwzE6tM2KeopUQ0voMEvqhaAa1QIbOlxKQwk9 1imUhgajwSLErgyG1fCoGlUn6LAWNmJD/7j9TjR673/3x+NZUGpAGGxBkElLMnUQDZJIp5BiR3tr TcEWlCF+krVIIjWoo0VSiOpnPIBrWsOD5A7Oo208nFbQUJuJFAI3oIV502PTwHCZA9dRa/Ew/o09 S9tuZjzjqfyrGQIs4zv8ae+N1xKNYB3y0sF6ERP9bu4R+RGaQWNDB7h7cqgmq3mmoMLokbiZW8mM X4bSayGuCT2XlByW/UR+i5FXxeYmHbGiH1cTh1Lsp3ZyvNt9AAAA//8DADH79HoBAgAA headers: CF-Cache-Status: - DYNAMIC CF-RAY: - 8c2263dde9365e60-EWR Connection: - keep-alive Content-Encoding: - gzip Content-Type: - application/json Date: - Thu, 12 Sep 2024 19:44:05 GMT Server: - cloudflare Transfer-Encoding: - chunked X-Robots-Tag: - none request-id: - req_01P8iMAhDUzK1RXCmgAbUj4k via: - 1.1 google x-cloud-trace-context: - a1245d7b2c52715527e433138e313ed6 status: code: 200 message: OK version: 1