Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

feat: add Azure OpenAI to frontend provider list and i18n

liweixinf72b032c1da4
diff --git a/frontend/src/components/ModelEditorDialog.vue b/frontend/src/components/ModelEditorDialog.vue
index d9a041ec5..df1f2ed78 100644
--- a/frontend/src/components/ModelEditorDialog.vue
+++ b/frontend/src/components/ModelEditorDialog.vue
@@ -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'),
diff --git a/frontend/src/i18n/locales/en-US.ts b/frontend/src/i18n/locales/en-US.ts
index fa8f2b238..733fd2236 100755
--- a/frontend/src/i18n/locales/en-US.ts
+++ b/frontend/src/i18n/locales/en-US.ts
@@ -2148,6 +2148,10 @@ export default {
label: 'OpenAI',
description: 'gpt-5.2, gpt-5-mini, etc.',
},
+ azure_openai: {
+ label: 'Azure OpenAI',
+ description: 'OpenAI service hosted on Microsoft Azure',
+ },
aliyun: {
label: 'Aliyun DashScope',
description: 'qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.',
diff --git a/frontend/src/i18n/locales/ko-KR.ts b/frontend/src/i18n/locales/ko-KR.ts
index ef66cfaeb..b6154b375 100755
--- a/frontend/src/i18n/locales/ko-KR.ts
+++ b/frontend/src/i18n/locales/ko-KR.ts
@@ -1598,6 +1598,10 @@ export default {
label: "OpenAI",
description: "gpt-5.2, gpt-5-mini 등",
},
+ azure_openai: {
+ label: 'Azure OpenAI',
+ description: 'Microsoft Azure에서 호스팅되는 OpenAI 서비스',
+ },
aliyun: {
label: "Aliyun DashScope",
description: "qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank 등",
diff --git a/frontend/src/i18n/locales/ru-RU.ts b/frontend/src/i18n/locales/ru-RU.ts
index a1d153d36..9d4b37889 100755
--- a/frontend/src/i18n/locales/ru-RU.ts
+++ b/frontend/src/i18n/locales/ru-RU.ts
@@ -1442,6 +1442,10 @@ export default {
label: 'OpenAI',
description: 'gpt-5.2, gpt-5-mini, etc.'
},
+ azure_openai: {
+ label: 'Azure OpenAI',
+ description: 'Сервис OpenAI на платформе Microsoft Azure',
+ },
aliyun: {
label: 'Aliyun DashScope',
description: 'qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.'
diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.ts
index 926d63ee9..edd54e31f 100755
--- a/frontend/src/i18n/locales/zh-CN.ts
+++ b/frontend/src/i18n/locales/zh-CN.ts
@@ -1590,6 +1590,10 @@ export default {
label: "OpenAI",
description: "gpt-5.2, gpt-5-mini, etc.",
},
+ azure_openai: {
+ label: 'Azure OpenAI',
+ description: 'Microsoft Azure 上的 OpenAI 服务',
+ },
aliyun: {
label: "阿里云 DashScope",
description: "qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.",