feat: add include_reasoning

This commit is contained in:
VaalaCat
2025-02-12 13:24:21 +00:00
parent 3640274cd1
commit 67f3b169df

View File

@@ -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.