feat: add include_reasoning
This commit is contained in:
1
chat.go
1
chat.go
@@ -262,6 +262,7 @@ type ChatCompletionRequest struct {
|
|||||||
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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type StreamOptions struct {
|
type StreamOptions struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user