Commit cb1dbb15 by 1808837298@qq.com

feat: update model ratio

parent a41b1e0c
...@@ -340,10 +340,7 @@ func GetCompletionRatio(name string) float64 { ...@@ -340,10 +340,7 @@ func GetCompletionRatio(name string) float64 {
return 3 return 3
} }
if strings.HasPrefix(name, "gpt-4o") { if strings.HasPrefix(name, "gpt-4o") {
if strings.HasPrefix(name, "gpt-4o-mini") || name == "gpt-4o-2024-08-06" { return 4
return 4
}
return 3
} }
return 2 return 2
} }
...@@ -351,7 +348,7 @@ func GetCompletionRatio(name string) float64 { ...@@ -351,7 +348,7 @@ func GetCompletionRatio(name string) float64 {
return 4 return 4
} }
if name == "chatgpt-4o-latest" { if name == "chatgpt-4o-latest" {
return 3 return 4
} }
if strings.Contains(name, "claude-instant-1") { if strings.Contains(name, "claude-instant-1") {
return 3 return 3
......
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