fix: get gemini adapter bug

This commit is contained in:
suziheng
2025-05-16 10:18:07 +08:00
parent 93d54a7ef5
commit 1e19c333c9
2 changed files with 3 additions and 1 deletions

View File

@@ -23,6 +23,8 @@ func ToAPIType(channelType int) int {
apiType = apitype.Tencent
case Gemini:
apiType = apitype.Gemini
case GeminiOpenAICompatible:
apiType = apitype.Gemini
case Ollama:
apiType = apitype.Ollama
case AwsClaude: