mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 21:10:51 +08:00
feat(registry): enable gemini-3-pro-preview for gemini-cli provider
Add gemini-3-pro-preview model to GetGeminiCLIModels() to make it available for OAuth-based Gemini CLI users, matching the model already available in AI Studio provider. Model spec: - ID: gemini-3-pro-preview - Version: 3.0 - Input: 1M tokens - Output: 64K tokens - Thinking: 128-32K tokens (dynamic)
This commit is contained in:
@@ -170,21 +170,21 @@ func GetGeminiCLIModels() []*ModelInfo {
|
|||||||
SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"},
|
SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"},
|
||||||
Thinking: &ThinkingSupport{Min: 0, Max: 24576, ZeroAllowed: true, DynamicAllowed: true},
|
Thinking: &ThinkingSupport{Min: 0, Max: 24576, ZeroAllowed: true, DynamicAllowed: true},
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// ID: "gemini-3-pro-preview-11-2025",
|
ID: "gemini-3-pro-preview",
|
||||||
// Object: "model",
|
Object: "model",
|
||||||
// Created: time.Now().Unix(),
|
Created: time.Now().Unix(),
|
||||||
// OwnedBy: "google",
|
OwnedBy: "google",
|
||||||
// Type: "gemini",
|
Type: "gemini",
|
||||||
// Name: "models/gemini-3-pro-preview-11-2025",
|
Name: "models/gemini-3-pro-preview",
|
||||||
// Version: "3",
|
Version: "3.0",
|
||||||
// DisplayName: "Gemini 3 Pro Preview 11-2025",
|
DisplayName: "Gemini 3 Pro Preview",
|
||||||
// Description: "Latest preview of Gemini Pro",
|
Description: "Gemini 3 Pro Preview",
|
||||||
// InputTokenLimit: 1048576,
|
InputTokenLimit: 1048576,
|
||||||
// OutputTokenLimit: 65536,
|
OutputTokenLimit: 65536,
|
||||||
// SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"},
|
SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"},
|
||||||
// Thinking: &ThinkingSupport{Min: 128, Max: 32768, ZeroAllowed: false, DynamicAllowed: true},
|
Thinking: &ThinkingSupport{Min: 128, Max: 32768, ZeroAllowed: false, DynamicAllowed: true},
|
||||||
// },
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user