Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ecc10f80
authored
Jan 09, 2026
by
Seefs
Committed by
GitHub
Jan 09, 2026
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2619 from RedwindA/fix/disableMinimaxFetchModels
fix: remove Minimax from FETCHABLE channels
parents
4ffe7dc5
ffa8a427
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
relay/channel/minimax/constants.go
+3
-0
web/src/components/table/channels/modals/EditChannelModal.jsx
+1
-1
No files found.
relay/channel/minimax/constants.go
View file @
ecc10f80
...
@@ -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"
web/src/components/table/channels/modals/EditChannelModal.jsx
View file @
ecc10f80
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment