| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | check_order({"order_id": "A100"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| [2] | ai | check_order({"order_id": "A100"}) |
| [3] | tool | order A100: shipped, tracking XYZ001 |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | Order A100 has shipped. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| [2] | ai | check_order({"order_id": "A100"}) |
| [3] | tool | order A100: shipped, tracking XYZ001 |
| [4] | ai | Order A100 has shipped. |
| [5] | human | And what's the tracking number? |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | Tracking number: XYZ001. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 421 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "What's the status of order A100?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "check_order",
"description": "Check the status of an order by id.",
"parameters": {
"properties": {
"order_id": {
"type": "string"
}
},
"required": [
"order_id"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:57:31 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 8a50fe9452625079391cf0ce7a3e0c56.cloudfront.net (CloudFront) |
| x-amz-cf-id | EDqSncHzP3gDBACDqD8uSP8BzS-3MZADBh1Ra9gQrWHzjk80qSzpTg== |
| x-amz-cf-pop | DEN52-P2 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | fdd4af1a5538dde7f04b7db0da6c185f |
{
"id": "f70f2eb2-ebab-435b-b298-36d03dde7b9d",
"object": "chat.completion",
"created": 1789336651,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "Simple tool call.",
"tool_calls": [
{
"index": 0,
"id": "call_00_JHuUieddcVKfNp8lP1953813",
"type": "function",
"function": {
"name": "check_order",
"arguments": "{\"order_id\": \"A100\"}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 314,
"completion_tokens": 44,
"total_tokens": 358,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 4
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 186
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | check_order({"order_id": "A100"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| [2] | ai | check_order({"order_id": "A100"}) |
| [3] | tool | order A100: shipped, tracking XYZ001 |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 760 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "What's the status of order A100?",
"role": "user"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"type": "function",
"id": "call_00_JHuUieddcVKfNp8lP1953813",
"function": {
"name": "check_order",
"arguments": "{\"order_id\": \"A100\"}"
}
}
],
"reasoning_content": "Simple tool call."
},
{
"content": "order A100: shipped, tracking XYZ001",
"role": "tool",
"tool_call_id": "call_00_JHuUieddcVKfNp8lP1953813"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "check_order",
"description": "Check the status of an order by id.",
"parameters": {
"properties": {
"order_id": {
"type": "string"
}
},
"required": [
"order_id"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:57:32 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 8df77e01b229d5d8502d6471c086aeb2.cloudfront.net (CloudFront) |
| x-amz-cf-id | xcXHPzK8DxMotJd2Q9FCUOfvhBCAIV_bmD8-GyIOuyBvmuomaX1ONw== |
| x-amz-cf-pop | DEN53-P4 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | dab01c11f25e53cf9e0b038adc54a08e |
{
"id": "2876077d-36de-4e86-ae59-852637a3adb4",
"object": "chat.completion",
"created": 1789336652,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Order A100 has shipped. Tracking number: XYZ001.",
"reasoning_content": "Answer briefly."
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 379,
"completion_tokens": 16,
"total_tokens": 395,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 3
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 251
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | Order A100 has shipped. Tracking number: XYZ001. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| [2] | ai | check_order({"order_id": "A100"}) |
| [3] | tool | order A100: shipped, tracking XYZ001 |
| [4] | ai | Order A100 has shipped. Tracking number: XYZ001. |
| [5] | human | And what's the tracking number? |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 862 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "What's the status of order A100?",
"role": "user"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"type": "function",
"id": "call_00_JHuUieddcVKfNp8lP1953813",
"function": {
"name": "check_order",
"arguments": "{\"order_id\": \"A100\"}"
}
}
]
},
{
"content": "order A100: shipped, tracking XYZ001",
"role": "tool",
"tool_call_id": "call_00_JHuUieddcVKfNp8lP1953813"
},
{
"content": "Order A100 has shipped. Tracking number: XYZ001.",
"role": "assistant"
},
{
"content": "And what's the tracking number?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "check_order",
"description": "Check the status of an order by id.",
"parameters": {
"properties": {
"order_id": {
"type": "string"
}
},
"required": [
"order_id"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:57:33 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 2b6f0b2cd8495233ea20114fbb247772.cloudfront.net (CloudFront) |
| x-amz-cf-id | M3r5Guc-MptwaYuep_dTqNgiPs4gGbB3f_TVi4rVjZ7uy7cchNMBmQ== |
| x-amz-cf-pop | DEN53-P3 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 350b64a2d44122d9ae1983f2611e9a2f |
{
"id": "142daaf5-5663-4793-9843-2b5a123c69ac",
"object": "chat.completion",
"created": 1789336653,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "XYZ001.",
"reasoning_content": ""
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 399,
"completion_tokens": 4,
"total_tokens": 403,
"prompt_tokens_details": {
"cached_tokens": 256
},
"completion_tokens_details": {
"reasoning_tokens": 0
},
"prompt_cache_hit_tokens": 256,
"prompt_cache_miss_tokens": 143
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | XYZ001. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | check_order({"order_id": "A100"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 421 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "What's the status of order A100?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "check_order",
"description": "Check the status of an order by id.",
"parameters": {
"properties": {
"order_id": {
"type": "string"
}
},
"required": [
"order_id"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:57:34 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 75249decb514179d058bfd4c743e49a0.cloudfront.net (CloudFront) |
| x-amz-cf-id | dEuM9TSi_bSNkQ22PmR_sdQqdzGZhIruHuIyFE5-rxBUbnV1IASj8A== |
| x-amz-cf-pop | DEN53-P6 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 1480b5aaec6c25ae6df1cdba06fe9036 |
{
"id": "22f8ee03-b2c9-48cd-b3ad-7bd713ae789a",
"object": "chat.completion",
"created": 1789336654,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "The user wants the status of order A100. I should call the check_order tool.",
"tool_calls": [
{
"index": 0,
"id": "call_00_eFqeBjI72gB8aJ0MLcFK6662",
"type": "function",
"function": {
"name": "check_order",
"arguments": "{\"order_id\": \"A100\"}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 314,
"completion_tokens": 58,
"total_tokens": 372,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 18
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 186
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | check_order({"order_id": "A100"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| [2] | ai | check_order({"order_id": "A100"}) |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 390 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "What's the status of order A100?",
"role": "user"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"type": "function",
"id": "call_00_eFqeBjI72gB8aJ0MLcFK6662",
"function": {
"name": "check_order",
"arguments": "{\"order_id\": \"A100\"}"
}
}
]
}
],
"model": "deepseek-flash",
"stream": false
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-length | 264 |
| content-type | application/octet-stream |
| date | Sun, 13 Sep 2026 21:57:35 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 5257b3c7acd3727a389946b312557ff2.cloudfront.net (CloudFront) |
| x-amz-cf-id | B4c1mxlZF6JNNSmfq8cktiukc8uNGtII9oMk8PAGpGCgm_jj54z5aQ== |
| x-amz-cf-pop | DEN52-P2 |
| x-cache | Error from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | d96959ece544b1f73c749caeaf1571a6 |
{
"error": {
"message": "An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. (insufficient tool messages following tool_calls message)",
"type": "invalid_request_error",
"param": null,
"code": "invalid_request_error"
}
}| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | check_order({"order_id": "A100"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| [2] | ai | check_order({"order_id": "A100"}) |
| [3] | tool | order A100: shipped, tracking XYZ001 |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | Order A100 has shipped. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| [2] | ai | check_order({"order_id": "A100"}) |
| [3] | tool | order A100: shipped, tracking XYZ001 |
| [4] | ai | Order A100 has shipped. |
| [5] | human | Anything else I should know? |
| role | content | |
|---|---|---|
| [0] | ai | No, that's everything. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| [2] | ai | check_order({"order_id": "A100"}) |
| [3] | tool | order A100: shipped, tracking XYZ001 |
| [4] | ai | Order A100 has shipped. |
| [5] | human | Anything else I should know? |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | No, that's everything. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 421 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "What's the status of order A100?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "check_order",
"description": "Check the status of an order by id.",
"parameters": {
"properties": {
"order_id": {
"type": "string"
}
},
"required": [
"order_id"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:57:36 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 0ce5ea6368e3c7ea57962fd7b4c5fe44.cloudfront.net (CloudFront) |
| x-amz-cf-id | YTwkMj-JdbGdMaQ2YMjjVkx22wMffRpHDagWgKPuY2qq4UF3rMpopw== |
| x-amz-cf-pop | DEN53-P4 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 65813c5f2869ee3e78b60bf32d32625d |
{
"id": "37249b42-e3b3-45e9-b89c-43eea524381f",
"object": "chat.completion",
"created": 1789336656,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "",
"tool_calls": [
{
"index": 0,
"id": "call_00_ET_W7L8lSETDGbtQJtwiOJi1464",
"type": "function",
"function": {
"name": "check_order",
"arguments": "{\"order_id\": \"A100\"}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 314,
"completion_tokens": 40,
"total_tokens": 354,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 0
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 186
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | check_order({"order_id": "A100"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| [2] | ai | check_order({"order_id": "A100"}) |
| [3] | tool | order A100: shipped, tracking XYZ001 |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 726 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "What's the status of order A100?",
"role": "user"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"type": "function",
"id": "call_00_ET_W7L8lSETDGbtQJtwiOJi1464",
"function": {
"name": "check_order",
"arguments": "{\"order_id\": \"A100\"}"
}
}
]
},
{
"content": "order A100: shipped, tracking XYZ001",
"role": "tool",
"tool_call_id": "call_00_ET_W7L8lSETDGbtQJtwiOJi1464"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "check_order",
"description": "Check the status of an order by id.",
"parameters": {
"properties": {
"order_id": {
"type": "string"
}
},
"required": [
"order_id"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:57:37 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 46a64c5c80478abcfef022bde73d204e.cloudfront.net (CloudFront) |
| x-amz-cf-id | Dn5WAwthHwymS8Bljg94cpY5-BqeLNjWx6WLoB9y9OauipKkbwk92w== |
| x-amz-cf-pop | DEN53-P6 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 29d53e118651de1cea8a1bbb3dd4ed82 |
{
"id": "9af6d715-8967-4986-9dbc-886492e7168d",
"object": "chat.completion",
"created": 1789336657,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Order A100 is shipped \u2014 tracking number XYZ001.",
"reasoning_content": ""
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 375,
"completion_tokens": 12,
"total_tokens": 387,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 0
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 247
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | Order A100 is shipped — tracking number XYZ001. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| [2] | ai | check_order({"order_id": "A100"}) |
| [3] | tool | order A100: shipped, tracking XYZ001 |
| [4] | ai | Order A100 is shipped — tracking number XYZ001. |
| [5] | human | Anything else I should know? |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 651 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "What's the status of order A100?",
"role": "user"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"type": "function",
"id": "call_00_ET_W7L8lSETDGbtQJtwiOJi1464",
"function": {
"name": "check_order",
"arguments": "{\"order_id\": \"A100\"}"
}
}
]
},
{
"content": "order A100: shipped, tracking XYZ001",
"role": "tool",
"tool_call_id": "call_00_ET_W7L8lSETDGbtQJtwiOJi1464"
},
{
"content": "Order A100 is shipped \u2014 tracking number XYZ001.",
"role": "assistant"
},
{
"content": "Anything else I should know?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:57:38 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 b1a94c3ca6429736112e2213a359c78a.cloudfront.net (CloudFront) |
| x-amz-cf-id | UxGUBtNO0dfvSPnfopMA1sIa0nD_0J_P_-9nlVXXQb0kqWZhbbfFJg== |
| x-amz-cf-pop | DEN53-P3 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 010b2c2eaca26b45fdb32726eda42bec |
{
"id": "54efbc90-f820-442c-ae58-11e6a6cc0738",
"object": "chat.completion",
"created": 1789336658,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "I only have the order status: shipped, tracking XYZ001. I don\u2019t have carrier, delivery estimate, or item details from that lookup. For location or delivery timing, use tracking XYZ001 with the carrier.",
"reasoning_content": "We need answer. User asks \"Anything else I should know?\" We have only order status via tool. Need see if can check more? We have check_order tool only? We can use tools if given. The previous tool check_order returned shipped, tracking XYZ001. User asks anything else. We don't have additional info. We should be honest: I only have status and tracking. Could suggest carrier tracking for details. Maybe ask if they want me to do something else. But tools only check_order? We can call again? No need. Need answer briefly plainly. We don't know carrier, delivery date, items, etc. So say I don't have more details from the order lookup. For delivery estimates or current location, check with carrier using tracking XYZ001. If you want, I can look up another order. But maybe no tool to look up more. We can say I can't check more with what I have. Since we have check_order, maybe call with A100 again? Same result. Not useful. We should answer. Ensure no hallucination."
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 133,
"completion_tokens": 262,
"total_tokens": 395,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 217
},
"prompt_cache_hit_tokens": 0,
"prompt_cache_miss_tokens": 133
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | I only have the order status: shipped, tracking XYZ001. I don’t have carrier, delivery estimate, or item details from that lookup. For location or delivery timing, use tracking XYZ001 with the carrier. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What's the status of order A100? |
| [2] | ai | check_order({"order_id": "A100"}) |
| [3] | tool | order A100: shipped, tracking XYZ001 |
| [4] | ai | Order A100 is shipped — tracking number XYZ001. |
| [5] | human | Anything else I should know? |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 866 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "What's the status of order A100?",
"role": "user"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"type": "function",
"id": "call_00_ET_W7L8lSETDGbtQJtwiOJi1464",
"function": {
"name": "check_order",
"arguments": "{\"order_id\": \"A100\"}"
}
}
]
},
{
"content": "order A100: shipped, tracking XYZ001",
"role": "tool",
"tool_call_id": "call_00_ET_W7L8lSETDGbtQJtwiOJi1464"
},
{
"content": "Order A100 is shipped \u2014 tracking number XYZ001.",
"role": "assistant"
},
{
"content": "Anything else I should know?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "check_order",
"description": "Check the status of an order by id.",
"parameters": {
"properties": {
"order_id": {
"type": "string"
}
},
"required": [
"order_id"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:57:40 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 f6327093dd59f54131617ea3ab04bd94.cloudfront.net (CloudFront) |
| x-amz-cf-id | fsCiCiu3Qm04pMOEcrOUzGtmIOsM2Wt3AmCPb7g_N4bz5VAhchle9A== |
| x-amz-cf-pop | DEN53-P2 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | e888a39b3c912e3e6447d6fdbefd0057 |
{
"id": "e21b4559-50de-44f8-91b7-b2aee053b616",
"object": "chat.completion",
"created": 1789336660,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Not from what I can see \u2014 the only detail I have is that it's shipped, with tracking XYZ001. I don't have info on the carrier, delivery estimate, or items in the order. If you need those, the carrier's tracking page for XYZ001 or your order confirmation email would be the place to look.",
"reasoning_content": "The user asks \"Anything else I should know?\" I only have the tool output: order A100 shipped, tracking XYZ001. I shouldn't invent details like delivery date. Be plain."
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 397,
"completion_tokens": 105,
"total_tokens": 502,
"prompt_tokens_details": {
"cached_tokens": 256
},
"completion_tokens_details": {
"reasoning_tokens": 38
},
"prompt_cache_hit_tokens": 256,
"prompt_cache_miss_tokens": 141
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | Not from what I can see — the only detail I have is that it's shipped, with tracking XYZ001. I don't have info on the carrier, delivery estimate, or items in the order. If you need those, the carrier's tracking page for XYZ001 or your order confirmation email would be the place to look. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Track order A100. |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | Order A100 has shipped. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Track order B200. |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | Order B200 is processing. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Track order A100. |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 406 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "Track order A100.",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "check_order",
"description": "Check the status of an order by id.",
"parameters": {
"properties": {
"order_id": {
"type": "string"
}
},
"required": [
"order_id"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:57:42 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 5dcf09eaf65257abe85ddc5988a25c4e.cloudfront.net (CloudFront) |
| x-amz-cf-id | SdPmwMtSMzEJWaaiXlLFHG2o03-w5GhviTT55I6K_IUj2XQrbtU3wQ== |
| x-amz-cf-pop | DEN52-P3 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 1a875f02567e1e463ace4db72523b12c |
{
"id": "143f7a2b-fa06-4e28-a0cf-ca8ea5c3b6e8",
"object": "chat.completion",
"created": 1789336662,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "The user wants to track order A100. I should call the check_order tool.",
"tool_calls": [
{
"index": 0,
"id": "call_00_LfzPbRpsIPdiWxWEcTnO2205",
"type": "function",
"function": {
"name": "check_order",
"arguments": "{\"order_id\": \"A100\"}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 310,
"completion_tokens": 57,
"total_tokens": 367,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 17
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 182
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | check_order({"order_id": "A100"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Track order B200. |
| tool | description | schema |
|---|---|---|
| check_order | Check the status of an order by id. | {"description": "Check the status of an order by id.", "properties": {"order_id": {"title": "Order Id", "type": "string"}}, "required": ["order_id"], "title": "check_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 406 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "Track order B200.",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "check_order",
"description": "Check the status of an order by id.",
"parameters": {
"properties": {
"order_id": {
"type": "string"
}
},
"required": [
"order_id"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:57:43 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 8ebed69b9bff6cc42b0f52303f299b96.cloudfront.net (CloudFront) |
| x-amz-cf-id | kDClSvnCpcbTyNnV5dsAFIEbk9ti5OyP1arIv32H-UD87ECKRARceg== |
| x-amz-cf-pop | DEN53-P2 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | ee5f622403bc5c08418428cb98b3dd70 |
{
"id": "53909ac8-25e5-4b36-9454-97e1d8298fcf",
"object": "chat.completion",
"created": 1789336663,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "The user wants to track order B200. I should use the check_order tool.",
"tool_calls": [
{
"index": 0,
"id": "call_00_35EXvpYujFIfIR5b6y8x8239",
"type": "function",
"function": {
"name": "check_order",
"arguments": "{\"order_id\": \"B200\"}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 310,
"completion_tokens": 57,
"total_tokens": 367,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 17
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 182
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | check_order({"order_id": "B200"}) |