Commit 37142f3f by iszcz Committed by GitHub

Merge branch 'Calcium-Ion:main' into pr

parents cbf45e23 c9d1842b
...@@ -202,7 +202,7 @@ func GetCompletionRatio(name string) float64 { ...@@ -202,7 +202,7 @@ func GetCompletionRatio(name string) float64 {
return 4.0 / 3.0 return 4.0 / 3.0
} }
if strings.HasPrefix(name, "gpt-4") { 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 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