mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-21 01:36:37 +08:00
feat: 添加自定义渠道提示
This commit is contained in:
parent
1e0053985a
commit
0c8696816d
@ -485,6 +485,16 @@ const EditChannel = (props) => {
|
|||||||
)}
|
)}
|
||||||
{inputs.type === 8 && (
|
{inputs.type === 8 && (
|
||||||
<>
|
<>
|
||||||
|
<div style={{ marginTop: 10 }}>
|
||||||
|
<Banner
|
||||||
|
type={'warning'}
|
||||||
|
description={
|
||||||
|
<>
|
||||||
|
如果你对接的是上游One API或者New API,请使用OpenAI类型,不要使用此类型,除非你知道你在做什么。
|
||||||
|
</>
|
||||||
|
}
|
||||||
|
></Banner>
|
||||||
|
</div>
|
||||||
<div style={{ marginTop: 10 }}>
|
<div style={{ marginTop: 10 }}>
|
||||||
<Typography.Text strong>
|
<Typography.Text strong>
|
||||||
完整的 Base URL,支持变量{'{model}'}:
|
完整的 Base URL,支持变量{'{model}'}:
|
||||||
|
Loading…
Reference in New Issue
Block a user