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
116d070b
authored
Sep 10, 2025
by
DD
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge
parent
2fb5fc23
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
constant/channel.go
+2
-4
web/src/helpers/render.jsx
+1
-1
No files found.
constant/channel.go
View file @
116d070b
...
...
@@ -49,13 +49,11 @@ const (
ChannelTypeCoze
=
49
ChannelTypeKling
=
50
ChannelTypeJimeng
=
51
<<<<<<<
HEAD
ChannelTypeSubmodel
=
52
=======
ChannelTypeVidu
=
52
>>>>>>>
041782
c49e0289b9d2e64a318e81e4f75754dabf
ChannelTypeSubmodel
=
53
ChannelTypeDummy
// this one is only for count, do not add any channel after this
)
var
ChannelBaseURLs
=
[]
string
{
...
...
web/src/helpers/render.jsx
View file @
116d070b
...
...
@@ -342,7 +342,7 @@ export function getChannelIcon(channelType) {
return
<
FastGPT
.
Color
size=
{
iconSize
}
/>;
case
21
:
// 知识库:AI Proxy
case
44
:
// 嵌入模型:MokaAI M3E
case
5
2
:
// SubModel
case
5
3
:
// SubModel
return
null
;
default
:
return
null
;
// 未知类型或自定义渠道不显示图标
...
...
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