Commit b7776bec by CaIon

馃悰 fix: update hardcoded completion model ratio for gemini-2.5-flash-lite

parent 5178e563
...@@ -509,8 +509,11 @@ func getHardcodedCompletionModelRatio(name string) (float64, bool) { ...@@ -509,8 +509,11 @@ func getHardcodedCompletionModelRatio(name string) (float64, bool) {
} }
return 3.5 / 0.15, false return 3.5 / 0.15, false
} }
if strings.HasPrefix(name, "gemini-2.5-flash-lite-preview") { if strings.HasPrefix(name, "gemini-2.5-flash-lite") {
return 4, true if strings.HasPrefix(name, "gemini-2.5-flash-lite-preview") {
return 4, false
}
return 4, false
} }
return 2.5 / 0.3, true return 2.5 / 0.3, true
} }
......
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