feat: update model ratio

This commit is contained in:
1808837298@qq.com committed 2024-10-03 20:48:47 +08:00
1 parent cb1dbb15fb
commit e41540f84f
1 file changed
+3
+3
View File
@@ -340,6 +340,9 @@ func GetCompletionRatio(name string) float64 {
return 3
}
if strings.HasPrefix(name, "gpt-4o") {
if name == "gpt-4o-2024-05-13" {
return 3
}
return 4
}
return 2