Commit c3592269 by 1808837298@qq.com

feat: support gpt-4-turbo

parent 366adc01
......@@ -201,7 +201,7 @@ func GetCompletionRatio(name string) float64 {
return 4.0 / 3.0
}
if strings.HasPrefix(name, "gpt-4") {
if strings.HasSuffix(name, "preview") {
if strings.HasSuffix(name, "gpt-4-turbo") {
return 3
}
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