feat: update model ratio

This commit is contained in:
1808837298@qq.com
2024-10-03 20:48:47 +08:00
parent 9969ed2d7c
commit 31d84ee32f

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