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 93a611c commit 446019cCopy full SHA for 446019c
chat.go
@@ -275,6 +275,8 @@ type ChatCompletionRequest struct {
275
Metadata map[string]string `json:"metadata,omitempty"`
276
// Configuration for a predicted output.
277
Prediction *Prediction `json:"prediction,omitempty"`
278
+ // ExtraBody provides a way to add non-standard parameters to the request body. such as think mode for qwen3
279
+ ChatTemplateKwargs map[string]interface{} `json:"chat_template_kwargs,omitempty"`
280
}
281
282
type StreamOptions struct {
0 commit comments