| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Order a couple bottles of milk. |
| tool | description | schema |
|---|---|---|
| place_order | Order a quantity of an item. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "Order a quantity of an item.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}, "quantity": {"title": "Quantity", "type": "integer"}}, "required": ["item", "quantity"], "title": "place_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | place_order({"item": "milk", "quantity": 500}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Order a couple bottles of milk. |
| [2] | ai | place_order({"item": "milk", "quantity": 500}) |
| [3] | tool | rejected: 500 is not reasonable for 'a couple'. Try different arguments. |
| tool | description | schema |
|---|---|---|
| place_order | Order a quantity of an item. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "Order a quantity of an item.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}, "quantity": {"title": "Quantity", "type": "integer"}}, "required": ["item", "quantity"], "title": "place_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | place_order({"item": "milk", "quantity": 2}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Order a couple bottles of milk. |
| tool | description | schema |
|---|---|---|
| place_order | Order a quantity of an item. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "Order a quantity of an item.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}, "quantity": {"title": "Quantity", "type": "integer"}}, "required": ["item", "quantity"], "title": "place_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 487 |
| 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": "Order a couple bottles of milk.",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "place_order",
"description": "Order a quantity of an item.",
"parameters": {
"properties": {
"item": {
"enum": [
"bread",
"butter",
"chips",
"milk"
],
"type": "string"
},
"quantity": {
"type": "integer"
}
},
"required": [
"item",
"quantity"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:22 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 9d0c0f607ed2753212b70ce75683881e.cloudfront.net (CloudFront) |
| x-amz-cf-id | AqaxxyvRPD1A1KTDqiuAUq3jfxKta9-o4a69TAzxn45hparcUzI0xg== |
| x-amz-cf-pop | DEN53-P3 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | eaffbf06f2196cb10c6eb9936e0e77ed |
{
"id": "1fdedca3-11c1-40c9-b638-df595826b0b9",
"object": "chat.completion",
"created": 1789336402,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "The user wants \"a couple bottles of milk.\" \"A couple\" typically means 2. Item is milk, quantity 2.",
"tool_calls": [
{
"index": 0,
"id": "call_00_GBP5MxEJoiBQa0FN95Jt6774",
"type": "function",
"function": {
"name": "place_order",
"arguments": "{\"item\": \"milk\", \"quantity\": 2}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 338,
"completion_tokens": 82,
"total_tokens": 420,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 27
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 210
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | place_order({"item": "milk", "quantity": 2}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| role | content | |
|---|---|---|
| [0] | ai | Sure, happy to help with grocery questions. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| [2] | ai | Sure, happy to help with grocery questions. |
| [3] | human | That does not work: answer does not mention 'milk'. Try again. |
| role | content | |
|---|---|---|
| [0] | ai | Milk is 1.20 per bottle. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 191 |
| 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": "How much is milk?",
"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:53:23 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 6ee8e8bdbabf89947c73b848e4ee7230.cloudfront.net (CloudFront) |
| x-amz-cf-id | xvT3SobzhpTP28QyNjPO-73I-1FjkUGIJiCa30QboxRI457Mqd2rOw== |
| x-amz-cf-pop | DEN53-P2 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | a0373df4ab29e8a5b886d25c3dfef77b |
{
"id": "b36df5c4-7f25-4b9f-ac55-2831d077fdc4",
"object": "chat.completion",
"created": 1789336403,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Milk prices vary by location, type, and size. In the U.S., a gallon of regular whole milk is often around **$3.50\u2013$5.00**, but it can be higher depending on where you are and whether it\u2019s organic, lactose-free, etc.\n\nIf you tell me your location and the type/size you mean, I can give a closer estimate.",
"reasoning_content": "We need answer. User asks \"How much is milk?\" Ambiguous. We need maybe no context. We have tools? None specified in prompt except \"Use the tools you are given.\" But no tools listed. We need answer briefly plainly. We should ask for context? We can say prices vary; need location/type/unit. Maybe if general US average: about $4 per gallon? Since current date 2026-05-09. But knowledge cutoff 2024. We shouldn't hallucinate current price. We can say milk prices vary by location, type, size, store. In the U.S., a gallon of conventional whole milk is often around $3.50\u2013$5.00, but could be higher. If you tell me where and what kind, I can narrow it. Need maybe mention if asking \"how much is milk\" as idiom? We can answer.\n\nShould we use tools? No tools given. Maybe there is no tool. We can't. Final brief. "
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 48,
"completion_tokens": 286,
"total_tokens": 334,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 205
},
"prompt_cache_hit_tokens": 0,
"prompt_cache_miss_tokens": 48
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | Milk prices vary by location, type, and size. In the U.S., a gallon of regular whole milk is often around **$3.50–$5.00**, but it can be higher depending on where you are and whether it’s organic, lactose-free, etc. If you tell me your location and the type/size you mean, I can give a closer estimate. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Order a couple bottles of milk. |
| tool | description | schema |
|---|---|---|
| place_order | Order a quantity of an item. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "Order a quantity of an item.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}, "quantity": {"title": "Quantity", "type": "integer"}}, "required": ["item", "quantity"], "title": "place_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | place_order({"item": "milk", "quantity": 500}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Order a couple bottles of milk. |
| [2] | ai | place_order({"item": "milk", "quantity": 500}) |
| [3] | tool | rejected: 500 is not reasonable for 'a couple'. Try different arguments. |
| tool | description | schema |
|---|---|---|
| place_order | Order a quantity of an item. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "Order a quantity of an item.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}, "quantity": {"title": "Quantity", "type": "integer"}}, "required": ["item", "quantity"], "title": "place_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | place_order({"item": "milk", "quantity": 500}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Order a couple bottles of milk. |
| [2] | ai | place_order({"item": "milk", "quantity": 500}) |
| [3] | tool | rejected: 500 is not reasonable for 'a couple'. Try different arguments. |
| [4] | ai | place_order({"item": "milk", "quantity": 500}) |
| [5] | tool | rejected: 500 is not reasonable for 'a couple'. Try different arguments. |
| tool | description | schema |
|---|---|---|
| place_order | Order a quantity of an item. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "Order a quantity of an item.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}, "quantity": {"title": "Quantity", "type": "integer"}}, "required": ["item", "quantity"], "title": "place_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | place_order({"item": "milk", "quantity": 500}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Order a couple bottles of milk. |
| tool | description | schema |
|---|---|---|
| place_order | Order a quantity of an item. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "Order a quantity of an item.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}, "quantity": {"title": "Quantity", "type": "integer"}}, "required": ["item", "quantity"], "title": "place_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 487 |
| 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": "Order a couple bottles of milk.",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "place_order",
"description": "Order a quantity of an item.",
"parameters": {
"properties": {
"item": {
"enum": [
"bread",
"butter",
"chips",
"milk"
],
"type": "string"
},
"quantity": {
"type": "integer"
}
},
"required": [
"item",
"quantity"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:25 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 1a5bcf25cf6144683736a6579a7fb98e.cloudfront.net (CloudFront) |
| x-amz-cf-id | tOc0urX_vwtXnP2OJsGb6QU9H81xcVuT7K4KXb0CT_uCQMHdQ3cwtQ== |
| x-amz-cf-pop | DEN53-P2 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 9d2fa6a5dbfbfa93c786d32f1eca548a |
{
"id": "8a817260-4bcb-4733-baaf-8363db2e2b99",
"object": "chat.completion",
"created": 1789336405,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "The user wants \"a couple bottles of milk.\" A couple means 2. So order quantity 2 of milk.\n\nLet me place the order.",
"tool_calls": [
{
"index": 0,
"id": "call_00_H3joMpXic2hk1gC7sZja1716",
"type": "function",
"function": {
"name": "place_order",
"arguments": "{\"item\": \"milk\", \"quantity\": 2}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 338,
"completion_tokens": 85,
"total_tokens": 423,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 30
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 210
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | place_order({"item": "milk", "quantity": 2}) |