Compare commits

..

1 Commits

Author SHA1 Message Date
1808837298@qq.com
f188147680 feat: support gpt-4-turbo 2024-04-10 20:10:54 +08:00

View File

@@ -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