feat: add reasoning format
This commit is contained in:
1
chat.go
1
chat.go
@@ -263,6 +263,7 @@ type ChatCompletionRequest struct {
|
|||||||
// 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"`
|
IncludeReasoning *bool `json:"include_reasoning,omitempty"`
|
||||||
|
ReasoningFormat *string `json:"reasoning_format,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type StreamOptions struct {
|
type StreamOptions struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user