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$stream

The 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 | null

max_tokens

int | null

temperature

float | null

top_p

float | null

top_k

int | null

stop_sequences

string[] | null

stream

bool | null