From 15918b2050c597d20b362c6133170c0c7463552b Mon Sep 17 00:00:00 2001 From: "1808837298@qq.com" <1808837298@qq.com> Date: Sat, 25 Jan 2025 23:00:27 +0800 Subject: [PATCH] fix: update DeepSeek reasoner model ratio check --- common/model-ratio.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/model-ratio.go b/common/model-ratio.go index 8fd996d6..ff6f255b 100644 --- a/common/model-ratio.go +++ b/common/model-ratio.go @@ -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