Commit 077f9807 by CalciumIon

feat: update gemini flash completion ratio #479

parent 18a55dd0
...@@ -375,8 +375,11 @@ func GetCompletionRatio(name string) float64 { ...@@ -375,8 +375,11 @@ func GetCompletionRatio(name string) float64 {
return 3 return 3
} }
if strings.HasPrefix(name, "gemini-") { if strings.HasPrefix(name, "gemini-") {
if strings.Contains(name, "flash") {
return 4 return 4
} }
return 3
}
if strings.HasPrefix(name, "command") { if strings.HasPrefix(name, "command") {
switch name { switch name {
case "command-r": case "command-r":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment