We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f35136 commit 2e76f50Copy full SHA for 2e76f50
chatcompletion.go
@@ -3056,6 +3056,8 @@ type ChatCompletionNewParams struct {
3056
// Up to 4 sequences where the API will stop generating further tokens. The
3057
// returned text will not contain the stop sequence.
3058
Stop ChatCompletionNewParamsStopUnion `json:"stop,omitzero"`
3059
+ // Whether to stream the response.
3060
+ Stream bool `json:"stream,omitzero"`
3061
// Options for streaming response. Only set this when you set `stream: true`.
3062
StreamOptions ChatCompletionStreamOptionsParam `json:"stream_options,omitzero"`
3063
// Constrains the verbosity of the model's response. Lower values will result in
0 commit comments