mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 21:10:51 +08:00
**fix(registry): update Thinking parameters and replace Gemini-3 Preview with Gemini-2.5 Flash Lite**
This commit is contained in:
@@ -114,7 +114,7 @@ func GeminiModels() []*ModelInfo {
|
|||||||
InputTokenLimit: 1048576,
|
InputTokenLimit: 1048576,
|
||||||
OutputTokenLimit: 65536,
|
OutputTokenLimit: 65536,
|
||||||
SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"},
|
SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"},
|
||||||
Thinking: &ThinkingSupport{Min: 512, Max: 24576, ZeroAllowed: true, DynamicAllowed: true},
|
Thinking: &ThinkingSupport{Min: 0, Max: 24576, ZeroAllowed: true, DynamicAllowed: true},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -156,20 +156,35 @@ func GetGeminiCLIModels() []*ModelInfo {
|
|||||||
Thinking: &ThinkingSupport{Min: 128, Max: 32768, ZeroAllowed: false, DynamicAllowed: true},
|
Thinking: &ThinkingSupport{Min: 128, Max: 32768, ZeroAllowed: false, DynamicAllowed: true},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
ID: "gemini-3-pro-preview-11-2025",
|
ID: "gemini-2.5-flash-lite",
|
||||||
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-2.5-flash-lite",
|
||||||
Version: "3",
|
Version: "2.5",
|
||||||
DisplayName: "Gemini 3 Pro Preview 11-2025",
|
DisplayName: "Gemini 2.5 Flash Lite",
|
||||||
Description: "Latest preview of Gemini Pro",
|
Description: "Our smallest and most cost effective model, built for at scale usage.",
|
||||||
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: 0, Max: 24576, ZeroAllowed: true, DynamicAllowed: true},
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// ID: "gemini-3-pro-preview-11-2025",
|
||||||
|
// Object: "model",
|
||||||
|
// Created: time.Now().Unix(),
|
||||||
|
// OwnedBy: "google",
|
||||||
|
// Type: "gemini",
|
||||||
|
// Name: "models/gemini-3-pro-preview-11-2025",
|
||||||
|
// Version: "3",
|
||||||
|
// DisplayName: "Gemini 3 Pro Preview 11-2025",
|
||||||
|
// Description: "Latest preview of Gemini Pro",
|
||||||
|
// InputTokenLimit: 1048576,
|
||||||
|
// OutputTokenLimit: 65536,
|
||||||
|
// SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"},
|
||||||
|
// Thinking: &ThinkingSupport{Min: 128, Max: 32768, ZeroAllowed: false, DynamicAllowed: true},
|
||||||
|
// },
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user