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'),
|
description: t('model.editor.providers.openai.description'),
|
||||||
modelTypes: ['chat', 'embedding', 'vllm', 'asr']
|
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',
|
value: 'aliyun',
|
||||||
label: t('model.editor.providers.aliyun.label'),
|
label: t('model.editor.providers.aliyun.label'),
|
||||||
|
|||||||
@@ -2148,6 +2148,10 @@ export default {
|
|||||||
label: 'OpenAI',
|
label: 'OpenAI',
|
||||||
description: 'gpt-5.2, gpt-5-mini, etc.',
|
description: 'gpt-5.2, gpt-5-mini, etc.',
|
||||||
},
|
},
|
||||||
|
azure_openai: {
|
||||||
|
label: 'Azure OpenAI',
|
||||||
|
description: 'OpenAI service hosted on Microsoft Azure',
|
||||||
|
},
|
||||||
aliyun: {
|
aliyun: {
|
||||||
label: 'Aliyun DashScope',
|
label: 'Aliyun DashScope',
|
||||||
description: 'qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.',
|
description: 'qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.',
|
||||||
|
|||||||
@@ -1598,6 +1598,10 @@ export default {
|
|||||||
label: "OpenAI",
|
label: "OpenAI",
|
||||||
description: "gpt-5.2, gpt-5-mini 등",
|
description: "gpt-5.2, gpt-5-mini 등",
|
||||||
},
|
},
|
||||||
|
azure_openai: {
|
||||||
|
label: 'Azure OpenAI',
|
||||||
|
description: 'Microsoft Azure에서 호스팅되는 OpenAI 서비스',
|
||||||
|
},
|
||||||
aliyun: {
|
aliyun: {
|
||||||
label: "Aliyun DashScope",
|
label: "Aliyun DashScope",
|
||||||
description: "qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank 등",
|
description: "qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank 등",
|
||||||
|
|||||||
@@ -1442,6 +1442,10 @@ export default {
|
|||||||
label: 'OpenAI',
|
label: 'OpenAI',
|
||||||
description: 'gpt-5.2, gpt-5-mini, etc.'
|
description: 'gpt-5.2, gpt-5-mini, etc.'
|
||||||
},
|
},
|
||||||
|
azure_openai: {
|
||||||
|
label: 'Azure OpenAI',
|
||||||
|
description: 'Сервис OpenAI на платформе Microsoft Azure',
|
||||||
|
},
|
||||||
aliyun: {
|
aliyun: {
|
||||||
label: 'Aliyun DashScope',
|
label: 'Aliyun DashScope',
|
||||||
description: 'qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.'
|
description: 'qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.'
|
||||||
|
|||||||
@@ -1590,6 +1590,10 @@ export default {
|
|||||||
label: "OpenAI",
|
label: "OpenAI",
|
||||||
description: "gpt-5.2, gpt-5-mini, etc.",
|
description: "gpt-5.2, gpt-5-mini, etc.",
|
||||||
},
|
},
|
||||||
|
azure_openai: {
|
||||||
|
label: 'Azure OpenAI',
|
||||||
|
description: 'Microsoft Azure 上的 OpenAI 服务',
|
||||||
|
},
|
||||||
aliyun: {
|
aliyun: {
|
||||||
label: "阿里云 DashScope",
|
label: "阿里云 DashScope",
|
||||||
description: "qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.",
|
description: "qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.",
|
||||||
|
|||||||
Reference in New Issue
Block a user