ch01_single_call

show:
mock turns=1 · messages=3
live turns=1 · messages=3
scenario agent_with_no_tool
scenario agent_with_no_tool · 6.2ms · 1 turn · ended: no_tool_calls
turn 1 · 6.0ms · responded with: Forty-two, though the question is generally held to be the harder half.
model mock · 6.0ms · responded with: Forty-two, though the question is generally held to be the harder half.
context sent — 2 message(s)
rolecontent
[0]systemYou answer briefly and plainly.
[1]humanIn one sentence, and per The Hitchhiker's Guide to the Galaxy: what is the Answer to the Ultimate Question of Life, the Universe, and Everything?
context ignored by the mock model {"messages": 2, "roles": ["system", "human"]}
reply
rolecontent
[0]aiForty-two, though the question is generally held to be the harder half.
ended {"reason": "no_tool_calls"}
scenario agent_with_no_tool · 1253.6ms · 1 turn · ended: no_tool_calls
turn 1 · 1253.4ms · 69 in / 74 out · responded with: The Answer to the Ultimate Question of Life, the Universe, and Everything is 42.
model live · 1253.4ms (model provider 996.6 · library 256.8) · 69 in / 74 out · responded with: The Answer to the Ultimate Question of Life, the Universe, and Everything is 42.
context sent — 2 message(s)
rolecontent
[0]systemYou answer briefly and plainly.
[1]humanIn one sentence, and per The Hitchhiker's Guide to the Galaxy: what is the Answer to the Ultimate Question of Life, the Universe, and Everything?
wire request
attempt
1
method
POST
url
https://api.deepseek.com/v1/chat/completions
defaulted (7)
temperature, max_tokens, top_p, stop, seed, tools, tool_choice
headers (18)
show
acceptapplication/json
accept-encodinggzip, deflate, zstd
authorizationnot recorded
connectionkeep-alive
content-length290
content-typeapplication/json
hostapi.deepseek.com
user-agentOpenAI/Python 3.6.0
x-stainless-archarm64
x-stainless-asyncfalse
x-stainless-langpython
x-stainless-osMacOS
x-stainless-package-version3.6.0
x-stainless-raw-responsetrue
x-stainless-read-timeout60.0
x-stainless-retry-count0
x-stainless-runtimeCPython
x-stainless-runtime-version3.14.7
{
  "messages": [
    {
      "content": "You answer briefly and plainly.",
      "role": "system"
    },
    {
      "content": "In one sentence, and per The Hitchhiker's Guide to the Galaxy: what is the Answer to the Ultimate Question of Life, the Universe, and Everything?",
      "role": "user"
    }
  ],
  "model": "deepseek-flash",
  "stream": false
}
wire response
status
200
headers (15)
show
access-control-allow-credentialstrue
connectionkeep-alive
content-encodinggzip
content-typeapplication/json
dateSun, 13 Sep 2026 21:51:11 GMT
serverelb
strict-transport-securitymax-age=31536000; includeSubDomains; preload
transfer-encodingchunked
varyorigin, access-control-request-method, access-control-request-headers
via1.1 898cace407c8c555d5663d79cc4cc36a.cloudfront.net (CloudFront)
x-amz-cf-idJV_-XqIHbpwliTUSJsuBoLfn_R7fTWNsw5xmCMoM2VcRNK6ng_Eyqg==
x-amz-cf-popDEN52-P3
x-cacheMiss from cloudfront
x-content-type-optionsnosniff
x-ds-trace-id0a4f309bb3b4ec5bb942ea3dbb8032aa
{
  "id": "c107fe9a-b429-4ab8-9be0-54b9c476d691",
  "object": "chat.completion",
  "created": 1789336271,
  "model": "deepseek-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "The Answer to the Ultimate Question of Life, the Universe, and Everything is 42.",
        "reasoning_content": "We need answer one sentence, per Hitchhiker's Guide. The answer is 42. Need maybe one sentence. \"The Answer to the Ultimate Question of Life, the Universe, and Everything is 42.\" That's one sentence. Ensure per HHGTTG."
      },
      "logprobs": null,
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 69,
    "completion_tokens": 74,
    "total_tokens": 143,
    "prompt_tokens_details": {
      "cached_tokens": 0
    },
    "completion_tokens_details": {
      "reasoning_tokens": 55
    },
    "prompt_cache_hit_tokens": 0,
    "prompt_cache_miss_tokens": 69
  },
  "system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}
reply
rolecontent
[0]aiThe Answer to the Ultimate Question of Life, the Universe, and Everything is 42.
ended {"reason": "no_tool_calls"}