Merge pull request #2619 from RedwindA/fix/disableMinimaxFetchModels
fix: remove Minimax from FETCHABLE channels
This commit is contained in:
@@ -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 = {
|
|||||||
|
|
||||||
// 支持并且已适配通过接口获取模型列表的渠道类型
|
// 支持并且已适配通过接口获取模型列表的渠道类型
|
||||||
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user