anthropic.internal.MessagesRequest$stream
The complete request body. Optional fields are dropped before serialization (see _anth_drop_nulls), so an unset option never reaches the wire.
Reference version
Signature
class anthropic.internal.MessagesRequest$streamThe complete request body. Optional fields are dropped before serialization (see _anth_drop_nulls), so an unset option never reaches the wire.
Source:<builtin>/anthropic/ns_internal/messages.bamlbytes 0–0
Fields
model
string | nullmax_tokens
int | nullsystem
anthropic.internal.AnthBlock$stream[] | nullmessages
tools
tool_choice
temperature
float | nulltop_p
float | nulltop_k
int | nullstop_sequences
string[] | nullthinking
stream
bool | null