Commit ecc10f80 by Seefs Committed by GitHub

Merge pull request #2619 from RedwindA/fix/disableMinimaxFetchModels

fix: remove Minimax from FETCHABLE channels
parents 4ffe7dc5 ffa8a427
...@@ -14,6 +14,9 @@ var ModelList = []string{ ...@@ -14,6 +14,9 @@ var ModelList = []string{
"speech-02-turbo", "speech-02-turbo",
"speech-01-hd", "speech-01-hd",
"speech-01-turbo", "speech-01-turbo",
"MiniMax-M2.1",
"MiniMax-M2.1-lightning",
"MiniMax-M2",
} }
var ChannelName = "minimax" var ChannelName = "minimax"
...@@ -92,7 +92,7 @@ const REGION_EXAMPLE = { ...@@ -92,7 +92,7 @@ const REGION_EXAMPLE = {
// 支持并且已适配通过接口获取模型列表的渠道类型 // 支持并且已适配通过接口获取模型列表的渠道类型
const MODEL_FETCHABLE_TYPES = new Set([ const MODEL_FETCHABLE_TYPES = new Set([
1, 4, 14, 34, 17, 26, 27, 24, 47, 25, 20, 23, 31, 35, 40, 42, 48, 43, 1, 4, 14, 34, 17, 26, 27, 24, 47, 25, 20, 23, 31, 40, 42, 48, 43,
]); ]);
function type2secretPrompt(type) { function type2secretPrompt(type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment