mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 04:03:18 +00:00
fix(model_ratio): update return value logic for gemini-2.5-flash-lite
This commit is contained in:
@@ -541,7 +541,7 @@ func getHardcodedCompletionModelRatio(name string) (float64, bool) {
|
||||
if strings.HasPrefix(name, "gemini-2.5-flash-lite") {
|
||||
return 4, false
|
||||
}
|
||||
return 2.5 / 0.3, true
|
||||
return 2.5 / 0.3, false
|
||||
}
|
||||
return 4, false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user