Przeglądaj źródła

fix: update DeepSeek reasoner model ratio check

1808837298@qq.com 1 rok temu
rodzic
commit
15918b2050
1 zmienionych plików z 1 dodań i 1 usunięć
  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