Просмотр исходного кода

feat: 更新模型和模型倍率

HynoR 1 год назад
Родитель
Сommit
6e2c871015
2 измененных файлов с 5 добавлено и 2 удалено
  1. 4 1
      common/model-ratio.go
  2. 1 1
      relay/channel/deepseek/constants.go

+ 4 - 1
common/model-ratio.go

@@ -401,10 +401,13 @@ func GetCompletionRatio(name string) float64 {
 		case "command-r-plus-08-2024":
 			return 4
 		default:
-			return 2
+			return 4
 		}
 	}
 	if strings.HasPrefix(name, "deepseek") {
+		if name == "deepseek-reasoner" {
+			return 4
+		}
 		return 2
 	}
 	if strings.HasPrefix(name, "ERNIE-Speed-") {

+ 1 - 1
relay/channel/deepseek/constants.go

@@ -1,7 +1,7 @@
 package deepseek
 
 var ModelList = []string{
-	"deepseek-chat", "deepseek-coder",
+	"deepseek-chat", "deepseek-reasoner",
 }
 
 var ChannelName = "deepseek"