mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-20 01:16:36 +08:00
commit
300947f400
@ -202,7 +202,7 @@ func GetCompletionRatio(name string) float64 {
|
||||
return 4.0 / 3.0
|
||||
}
|
||||
if strings.HasPrefix(name, "gpt-4") {
|
||||
if strings.HasSuffix(name, "gpt-4-turbo") {
|
||||
if strings.HasPrefix(name, "gpt-4-turbo")|| strings.HasSuffix(name, "preview") {
|
||||
return 3
|
||||
}
|
||||
return 2
|
||||
|
Loading…
Reference in New Issue
Block a user