mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 08:36:22 +00:00
fix: update DeepSeek reasoner model ratio check
This commit is contained in:
@@ -405,7 +405,7 @@ func GetCompletionRatio(name string) float64 {
|
||||
}
|
||||
}
|
||||
if strings.HasPrefix(name, "deepseek") {
|
||||
if name == "deepseek-reasoner" {
|
||||
if strings.Contains(name, "reasoner") {
|
||||
return 4
|
||||
}
|
||||
return 2
|
||||
|
||||
Reference in New Issue
Block a user