mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 07:19:55 +00:00
update model ratio
This commit is contained in:
@@ -392,7 +392,7 @@ func GetCompletionRatio(name string) float64 {
|
||||
if strings.HasPrefix(name, "gpt-4.5") {
|
||||
return 2
|
||||
}
|
||||
if strings.HasPrefix(name, "gpt-4-turbo") || strings.HasSuffix(name, "preview") {
|
||||
if strings.HasPrefix(name, "gpt-4-turbo") || (strings.HasPrefix(name, "gpt-4-") && strings.HasSuffix(name, "preview")) {
|
||||
return 3
|
||||
}
|
||||
return 2
|
||||
|
||||
Reference in New Issue
Block a user