Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions message.go
Original file line number Diff line number Diff line change
Expand Up @@ -9042,6 +9042,10 @@ type MessageNewParams struct {
// Specifies the geographic region for inference processing. If not specified, the
// workspace's `default_inference_geo` is used.
InferenceGeo param.Opt[string] `json:"inference_geo,omitzero"`
// Whether to incrementally stream the response using server-sent events.
//
// See [streaming](https://docs.claude.com/en/api/messages-streaming) for details.
Stream param.Opt[bool] `json:"stream,omitzero"`
// Amount of randomness injected into the response.
//
// Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`
Expand Down