feat: support openai api baseurl

This commit is contained in:
ikechan8370 2023-03-02 19:42:36 +08:00
parent 17fb123e3b
commit f84663e2a9
4 changed files with 11 additions and 1 deletions

View file

@ -167,6 +167,12 @@ export function supportGuoba () {
bottomHelpMessage: 'OpenAI的ApiKey用于访问OpenAI的API接口。',
component: 'InputPassword'
},
{
field: 'openAiBaseUrl',
label: 'OpenAI API服务器地址',
bottomHelpMessage: 'OpenAI的API服务器地址。默认为https://api.openai.com',
component: 'Input'
},
{
field: 'model',
label: '模型',