feat: add include_reasoning
This commit is contained in:
3
chat.go
3
chat.go
@@ -272,7 +272,8 @@ type ChatCompletionRequest struct {
|
|||||||
// Controls effort on reasoning for reasoning models. It can be set to "low", "medium", or "high".
|
// Controls effort on reasoning for reasoning models. It can be set to "low", "medium", or "high".
|
||||||
ReasoningEffort string `json:"reasoning_effort,omitempty"`
|
ReasoningEffort string `json:"reasoning_effort,omitempty"`
|
||||||
// Metadata to store with the completion.
|
// Metadata to store with the completion.
|
||||||
Metadata map[string]string `json:"metadata,omitempty"`
|
Metadata map[string]string `json:"metadata,omitempty"`
|
||||||
|
IncludeReasoning *bool `json:"include_reasoning,omitempty"`
|
||||||
// Configuration for a predicted output.
|
// Configuration for a predicted output.
|
||||||
Prediction *Prediction `json:"prediction,omitempty"`
|
Prediction *Prediction `json:"prediction,omitempty"`
|
||||||
// ChatTemplateKwargs provides a way to add non-standard parameters to the request body.
|
// ChatTemplateKwargs provides a way to add non-standard parameters to the request body.
|
||||||
|
|||||||
Reference in New Issue
Block a user