mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-12 03:13:41 +08:00
修改thinking config的设置,同时兼容gemini-2.5和gemini-2.0
This commit is contained in:
@@ -79,5 +79,5 @@ type ChatGenerationConfig struct {
|
||||
MaxOutputTokens int `json:"maxOutputTokens,omitempty"`
|
||||
CandidateCount int `json:"candidateCount,omitempty"`
|
||||
StopSequences []string `json:"stopSequences,omitempty"`
|
||||
ThinkingConfig *ThinkingConfig `json:"thinkingConfig,omitempty"`
|
||||
ThinkingConfig *ThinkingConfig `json:"thinkingConfig"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user