mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 04:50:52 +08:00
fix(gemini): remove default thinking for gemini 3 models
This commit is contained in:
@@ -251,9 +251,14 @@ func ThinkingBudgetToGemini3Level(model string, budget int) (string, bool) {
|
|||||||
|
|
||||||
// modelsWithDefaultThinking lists models that should have thinking enabled by default
|
// modelsWithDefaultThinking lists models that should have thinking enabled by default
|
||||||
// when no explicit thinkingConfig is provided.
|
// when no explicit thinkingConfig is provided.
|
||||||
|
// Note: Gemini 3 models are NOT included here because per Google's official documentation:
|
||||||
|
// - thinkingLevel defaults to "high" (dynamic thinking)
|
||||||
|
// - includeThoughts defaults to false
|
||||||
|
//
|
||||||
|
// We should not override these API defaults; let users explicitly configure if needed.
|
||||||
var modelsWithDefaultThinking = map[string]bool{
|
var modelsWithDefaultThinking = map[string]bool{
|
||||||
"gemini-3-pro-preview": true,
|
// "gemini-3-pro-preview": true,
|
||||||
"gemini-3-pro-image-preview": true,
|
// "gemini-3-pro-image-preview": true,
|
||||||
// "gemini-3-flash-preview": true,
|
// "gemini-3-flash-preview": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user