From 75e278c7a5d3ed6c845574cc84cac0324b7d941e Mon Sep 17 00:00:00 2001 From: hkfires <10558748+hkfires@users.noreply.github.com> Date: Sun, 30 Nov 2025 20:56:29 +0800 Subject: [PATCH] feat(registry): add thinking support to gemini models --- internal/registry/model_definitions.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/registry/model_definitions.go b/internal/registry/model_definitions.go index 51f984f2..fd4bd428 100644 --- a/internal/registry/model_definitions.go +++ b/internal/registry/model_definitions.go @@ -222,6 +222,7 @@ func GetGeminiModels() []*ModelInfo { InputTokenLimit: 1048576, OutputTokenLimit: 65536, SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"}, + Thinking: &ThinkingSupport{Min: 128, Max: 32768, ZeroAllowed: false, DynamicAllowed: true}, }, } } @@ -301,6 +302,7 @@ func GetGeminiVertexModels() []*ModelInfo { InputTokenLimit: 1048576, OutputTokenLimit: 65536, SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"}, + Thinking: &ThinkingSupport{Min: 128, Max: 32768, ZeroAllowed: false, DynamicAllowed: true}, }, } }