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
be55ef2e
authored
May 24, 2024
by
1808837298@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加自定义渠道提示
parent
fa9b5740
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
web/src/pages/Channel/EditChannel.js
+10
-0
No files found.
web/src/pages/Channel/EditChannel.js
View file @
be55ef2e
...
@@ -486,6 +486,16 @@ const EditChannel = (props) => {
...
@@ -486,6 +486,16 @@ const EditChannel = (props) => {
{
inputs
.
type
===
8
&&
(
{
inputs
.
type
===
8
&&
(
<>
<>
<
div
style
=
{{
marginTop
:
10
}}
>
<
div
style
=
{{
marginTop
:
10
}}
>
<
Banner
type
=
{
'warning'
}
description
=
{
<>
如果你对接的是上游
One
API
或者
New
API
,请使用
OpenAI
类型,不要使用此类型,除非你知道你在做什么。
<
/
>
}
><
/Banner
>
<
/div
>
<
div
style
=
{{
marginTop
:
10
}}
>
<
Typography
.
Text
strong
>
<
Typography
.
Text
strong
>
完整的
Base
URL
,支持变量
{
'{model}'
}
:
完整的
Base
URL
,支持变量
{
'{model}'
}
:
<
/Typography.Text
>
<
/Typography.Text
>
...
...
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