فهرست منبع

fix: update DeepSeek reasoner model ratio check

1808837298@qq.com 1 سال پیش
والد
کامیت
15918b2050
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      common/model-ratio.go

+ 1 - 1
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