fix(util): disable default thinking for gemini-3 series

This commit is contained in:
hkfires
2026-01-02 09:43:40 +08:00
parent 2a663d5cba
commit e33676bb87

View File

@@ -252,8 +252,8 @@ func ThinkingBudgetToGemini3Level(model string, budget int) (string, bool) {
// modelsWithDefaultThinking lists models that should have thinking enabled by default
// when no explicit thinkingConfig is provided.
var modelsWithDefaultThinking = map[string]bool{
"gemini-3-pro-preview": true,
"gemini-3-pro-image-preview": true,
// "gemini-3-pro-preview": true,
// "gemini-3-pro-image-preview": true,
// "gemini-3-flash-preview": true,
}