Commit 29ef1307 by 1808837298@qq.com

update model ratio

parent cd2c8fd5
...@@ -392,7 +392,7 @@ func GetCompletionRatio(name string) float64 { ...@@ -392,7 +392,7 @@ func GetCompletionRatio(name string) float64 {
if strings.HasPrefix(name, "gpt-4.5") { if strings.HasPrefix(name, "gpt-4.5") {
return 2 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 3
} }
return 2 return 2
......
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