feat: add Azure OpenAI to frontend provider list and i18n
This commit is contained in:
@@ -317,6 +317,18 @@ const fallbackProviderOptions = computed(() => [
|
||||
description: t('model.editor.providers.openai.description'),
|
||||
modelTypes: ['chat', 'embedding', 'vllm', 'asr']
|
||||
},
|
||||
{
|
||||
value: 'azure_openai',
|
||||
label: t('model.editor.providers.azure_openai.label'),
|
||||
defaultUrls: {
|
||||
chat: 'https://{resource}.openai.azure.com',
|
||||
embedding: 'https://{resource}.openai.azure.com',
|
||||
vllm: 'https://{resource}.openai.azure.com',
|
||||
asr: 'https://{resource}.openai.azure.com'
|
||||
},
|
||||
description: t('model.editor.providers.azure_openai.description'),
|
||||
modelTypes: ['chat', 'embedding', 'vllm', 'asr']
|
||||
},
|
||||
{
|
||||
value: 'aliyun',
|
||||
label: t('model.editor.providers.aliyun.label'),
|
||||
|
||||
Reference in New Issue
Block a user