feat: update gemini flash completion ratio #479

This commit is contained in:
CalciumIon 2024-09-18 20:39:06 +08:00
parent 3aa86a8cd9
commit af33f36c7b

View File

@ -375,8 +375,11 @@ func GetCompletionRatio(name string) float64 {
return 3
}
if strings.HasPrefix(name, "gemini-") {
if strings.Contains(name, "flash") {
return 4
}
return 3
}
if strings.HasPrefix(name, "command") {
switch name {
case "command-r":