Merge pull request #13 from songquanpeng/main

Fork Sync: Update from parent repository
This commit is contained in:
quzard
2023-06-09 18:37:30 +08:00
committed by GitHub
5 changed files with 25 additions and 7 deletions

View File

@@ -198,6 +198,20 @@ const EditChannel = () => {
handleInputChange(null, { name: 'models', value: fullModels });
}}>填入所有模型</Button>
</div>
{
inputs.type === 1 && (
<Form.Field>
<Form.Input
label='代理'
name='base_url'
placeholder={'请输入 OpenAI API 代理地址如果不需要请留空格式为https://api.openai.com'}
onChange={handleInputChange}
value={inputs.base_url}
autoComplete='new-password'
/>
</Form.Field>
)
}
{
batch ? <Form.Field>
<Form.TextArea