anthropic.ThinkingConfig$stream
Extended-thinking configuration (`thinking` on the Messages request).
Reference version
Signature
class anthropic.ThinkingConfig$streamExtended-thinking configuration (thinking on the Messages request).
budget_tokens must be smaller than the request's max_tokens, and
Anthropic rejects temperature / top_p / top_k alongside enabled
thinking — the client sends what it is given and lets the API say so.
Source:<builtin>/anthropic/messages.bamlbytes 0–0
Fields
type
string | null"enabled" or "disabled".
budget_tokens
int | null