添加Azure配置支持,修复重复的配置项冲突

This commit is contained in:
Alcedo 2023-08-31 08:51:39 +08:00
parent 5028c2ea67
commit 57416dcd03
3 changed files with 27 additions and 2 deletions

View file

@ -61,6 +61,10 @@
"label": "必应",
"value": "bing"
},
{
"label": "Azure OpenAI",
"value": "azure"
},
{
"label": "ChatGPT API",
"value": "api"
@ -823,6 +827,27 @@
"data": "bardForceUseReverse"
}
]
},
{
"title": "Azure",
"tab": "azure",
"view": [
{
"type": "password",
"label": "Azure API Key",
"data": "azApiKey"
},
{
"type": "url",
"label": "端点地址",
"data": "azureUrl"
},
{
"type": "url",
"label": "部署名称",
"data": "azureDeploymentName"
}
]
}
]
}