mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-18 00:16:37 +08:00
feat: update gemini flash completion ratio #479
This commit is contained in:
parent
3aa86a8cd9
commit
af33f36c7b
@ -375,7 +375,10 @@ func GetCompletionRatio(name string) float64 {
|
|||||||
return 3
|
return 3
|
||||||
}
|
}
|
||||||
if strings.HasPrefix(name, "gemini-") {
|
if strings.HasPrefix(name, "gemini-") {
|
||||||
return 4
|
if strings.Contains(name, "flash") {
|
||||||
|
return 4
|
||||||
|
}
|
||||||
|
return 3
|
||||||
}
|
}
|
||||||
if strings.HasPrefix(name, "command") {
|
if strings.HasPrefix(name, "command") {
|
||||||
switch name {
|
switch name {
|
||||||
|
Loading…
Reference in New Issue
Block a user