Agent SDK reference - Python changedagent-sdk/python
Upstream edited this page at 11 Nov 2026 14:14 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 11 Nov 2026 14:37 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line
1,379
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits74to this page, all time
The whole hunk
from line 1379, old and new numbered
/
from line 1379
13791379| :- | :- | :- |
13801380| `adaptive` | `type`, `display` | Claude adaptively decides when to think |
13811381| `enabled` | `type`, `budget_tokens`, `display` | Enable thinking with a specific token budget |
1382| `disabled` | `type` | Disable thinking |
1382| `disabled` | `type` | Turn thinking off [where the model and provider allow it](https://code.claude.com/docs/en/model-config.md#where-you-cant-turn-thinking-off) |
13831383
13841384The optional `display` field controls whether thinking text is returned `"summarized"` or `"omitted"`. On Claude Opus 4.7 and later, the API default is `"omitted"`, so set `"summarized"` to receive thinking content in [`ThinkingBlock`](#thinkingblock) outputs. On providers such as Amazon Bedrock and Google Cloud's Agent Platform, Claude Code doesn't pass `display` for earlier models it recognizes. Those are Opus 4.6, Sonnet 4.6, Haiku 4.5, and earlier models, which use their default.
13851385
No line in this hunk matches that.