Explorar el Código

fix: update DeepSeek reasoner model ratio check

1808837298@qq.com hace 1 año
padre
commit
15918b2050
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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