mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-09 07:33:41 +08:00
feat: 渠道支持指定组织
This commit is contained in:
@@ -38,6 +38,7 @@ const EditChannel = () => {
|
||||
name: '',
|
||||
type: 1,
|
||||
key: '',
|
||||
openai_organization:'',
|
||||
base_url: '',
|
||||
other: '',
|
||||
model_mapping: '',
|
||||
@@ -418,6 +419,16 @@ const EditChannel = () => {
|
||||
/>
|
||||
</Form.Field>
|
||||
}
|
||||
<Form.Field>
|
||||
<Form.Input
|
||||
label='组织,可选,不填则为默认组织'
|
||||
name='openai_organization'
|
||||
placeholder='请输入组织org-xxx'
|
||||
onChange={handleInputChange}
|
||||
value={inputs.openai_organization}
|
||||
autoComplete='new-password'
|
||||
/>
|
||||
</Form.Field>
|
||||
{
|
||||
!isEdit && (
|
||||
<Form.Checkbox
|
||||
|
||||
Reference in New Issue
Block a user