feat:add several mainstream model providers

This commit is contained in:
nullkey
2026-01-08 16:13:52 +08:00
committed by wizardchen
parent 4f74e141e6
commit 37b2899f9d
14 changed files with 481 additions and 54 deletions
+24 -4
View File
@@ -1654,7 +1654,7 @@ export default {
description: 'qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.',
},
zhipu: {
label: 'Zhipu AI',
label: 'Zhipu BigModel',
description: 'glm-4.7, embedding-3, rerank, etc.',
},
openrouter: {
@@ -1662,7 +1662,7 @@ export default {
description: 'openai/gpt-5.2-chat, google/gemini-3-flash-preview, etc.',
},
generic: {
label: 'Custom API',
label: 'Custom (OpenAI-compatible)',
description: 'Generic API endpoint',
},
siliconflow: {
@@ -1670,7 +1670,7 @@ export default {
description: 'deepseek-ai/DeepSeek-V3.1, etc.',
},
jina: {
label: 'Jina AI',
label: 'Jina',
description: 'jina-clip-v1, jina-embeddings-v2-base-zh, etc.',
},
volcengine: {
@@ -1699,7 +1699,27 @@ export default {
},
gpustack: {
label: 'GPUStack',
description: 'Self-hosted GPU cluster platform, OpenAI-compatible API',
description: 'Choose your deployed model on GPUStack',
},
modelscope: {
label: 'ModelScope',
description: 'Qwen/Qwen3-8B, Qwen/Qwen3-Embedding-8B, etc.',
},
qiniu: {
label: 'Qiniu Cloud',
description: 'deepseek/deepseek-v3.2-251201, z-ai/glm-4.7, etc.',
},
moonshot: {
label: 'Moonshot',
description: 'kimi-k2-turbo-preview, moonshot-v1-8k-vision-preview, etc.',
},
qianfan: {
label: 'Baidu Qianfan',
description: 'ernie-5.0-thinking-preview, embedding-v1, bce-reranker-base, etc.',
},
longcat: {
label: 'LongCat AI',
description: 'LongCat-Flash-Chat, LongCat-Flash-Thinking, etc.',
},
},
}
+84 -3
View File
@@ -983,6 +983,87 @@ export default {
baseUrlEmpty: "Base URL은 비워둘 수 없습니다",
baseUrlInvalid: "Base URL 형식이 올바르지 않습니다. 유효한 URL을 입력해주세요",
},
// Provider related translations
providerLabel: "제공업체",
providerPlaceholder: "모델 제공업체 선택",
providers: {
openai: {
label: "OpenAI",
description: "gpt-5.2, gpt-5-mini 등",
},
aliyun: {
label: "Aliyun DashScope",
description: "qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank 등",
},
zhipu: {
label: "Zhipu BigModel",
description: "glm-4.7, embedding-3, rerank, etc.",
},
openrouter: {
label: "OpenRouter",
description: "openai/gpt-5.2-chat, google/gemini-3-flash-preview 등",
},
generic: {
label: "사용자 정의 (OpenAI 호환)",
description: "Generic API endpoint",
},
siliconflow: {
label: "SiliconFlow",
description: "deepseek-ai/DeepSeek-V3.1 등",
},
jina: {
label: "Jina",
description: "jina-clip-v1, jina-embeddings-v2-base-zh, etc.",
},
volcengine: {
label: "Volcengine",
description: "doubao-1-5-pro-32k-250115, doubao-embedding-vision-250615 등",
},
deepseek: {
label: "DeepSeek",
description: "deepseek-chat, deepseek-reasoner 등",
},
hunyuan: {
label: "Hunyuan",
description: "hunyuan-pro, hunyuan-standard, hunyuan-embedding 등",
},
minimax: {
label: "MiniMax",
description: "MiniMax-M2.1, MiniMax-M2.1-lightning 등",
},
mimo: {
label: "MiMo",
description: "mimo-v2-flash",
},
gemini: {
label: "Google Gemini",
description: "gemini-3-flash-preview, gemini-2.5-pro 등",
},
gpustack: {
label: "GPUStack",
description: "Choose your deployed model on GPUStack",
},
modelscope: {
label: "ModelScope",
description: "Qwen/Qwen3-8B, Qwen/Qwen3-Embedding-8B, etc.",
},
qiniu: {
label: "Qiniu Cloud",
description: "deepseek/deepseek-v3.2-251201, z-ai/glm-4.7, etc.",
},
moonshot: {
label: "Moonshot",
description: "kimi-k2-turbo-preview, moonshot-v1-8k-vision-preview, etc.",
},
qianfan: {
label: "Baidu Qianfan",
description: "ernie-5.0-thinking-preview, embedding-v1, bce-reranker-base, etc.",
},
longcat: {
label: "LongCat AI",
description: "LongCat-Flash-Chat, LongCat-Flash-Thinking, etc.",
},
},
},
},
language: {
@@ -1155,9 +1236,9 @@ export default {
messages: {
deleted: "삭제됨",
deleteFailed: "삭제 실패",
file: "파일",
knowledgeBase: "지식베이스",
noResult: "결과 없음",
file: "파일",
knowledgeBase: "지식베이스",
noResult: "결과 없음",
},
features: {
knowledgeGraph: "지식 그래프 활성화됨",
+24 -4
View File
@@ -904,7 +904,7 @@ export default {
description: 'qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.',
},
zhipu: {
label: 'Zhipu AI',
label: 'Zhipu BigModel',
description: 'glm-4.7, embedding-3, rerank, etc.',
},
openrouter: {
@@ -912,7 +912,7 @@ export default {
description: 'openai/gpt-5.2-chat, google/gemini-3-flash-preview, etc.',
},
generic: {
label: 'Пользовательский API',
label: 'Пользовательский (OpenAI-совместимый)',
description: 'Generic API endpoint',
},
siliconflow: {
@@ -920,7 +920,7 @@ export default {
description: 'deepseek-ai/DeepSeek-V3.1, etc.',
},
jina: {
label: 'Jina AI',
label: 'Jina',
description: 'jina-clip-v1, jina-embeddings-v2-base-zh, etc.',
},
volcengine: {
@@ -949,7 +949,27 @@ export default {
},
gpustack: {
label: 'GPUStack',
description: 'Приватная платформа GPU-кластеров, OpenAI-совместимый API',
description: 'Choose your deployed model on GPUStack',
},
modelscope: {
label: 'ModelScope',
description: 'Qwen/Qwen3-8B, Qwen/Qwen3-Embedding-8B, etc.',
},
qiniu: {
label: 'Qiniu Cloud',
description: 'deepseek/deepseek-v3.2-251201, z-ai/glm-4.7, etc.',
},
moonshot: {
label: 'Moonshot',
description: 'kimi-k2-turbo-preview, moonshot-v1-8k-vision-preview, etc.',
},
qianfan: {
label: 'Baidu Qianfan',
description: 'ernie-5.0-thinking-preview, embedding-v1, bce-reranker-base, etc.',
},
longcat: {
label: 'LongCat AI',
description: 'LongCat-Flash-Chat, LongCat-Flash-Thinking, etc.',
},
},
}
+36 -16
View File
@@ -1181,43 +1181,43 @@ export default {
providers: {
openai: {
label: "OpenAI",
description: "OpenAI 官方 API",
description: "gpt-5.2, gpt-5-mini, etc.",
},
aliyun: {
label: "阿里云 DashScope",
description: "支持 Qwen、DeepSeek 等模型",
description: "qwen-plus, tongyi-embedding-vision-plus, qwen3-rerank, etc.",
},
zhipu: {
label: "智谱 AI",
description: "支持 GLM-4 系列模型",
label: "智谱 BigModel",
description: "glm-4.7, embedding-3, rerank, etc.",
},
openrouter: {
label: "OpenRouter",
description: "多模型聚合平台",
description: "openai/gpt-5.2-chat, google/gemini-3-flash-preview, etc.",
},
generic: {
label: "自定义 API",
description: "OpenAI 兼容的自定义端点",
label: "自定义 (OpenAI兼容接口)",
description: "Generic API endpoint (OpenAI-compatible)",
},
siliconflow: {
label: "SiliconFlow",
description: "硅基流动,支持多种模型",
label: "硅基流动 SiliconFlow",
description: "deepseek-ai/DeepSeek-V3.1, etc.",
},
jina: {
label: "Jina AI",
description: "专注于 Embedding 和 Rerank",
label: "Jina",
description: "jina-clip-v1, jina-embeddings-v2-base-zh, etc.",
},
volcengine: {
label: "火山引擎",
description: "doubao-1-5-pro-32k, doubao-embedding-vision 等",
label: "火山引擎 Volcengine",
description: "doubao-1-5-pro-32k-250115, doubao-embedding-vision-250615, etc.",
},
deepseek: {
label: "DeepSeek",
description: "deepseek-chat, deepseek-reasoner 等",
},
hunyuan: {
label: "腾讯混元",
description: "hunyuan-pro, hunyuan-standard, hunyuan-embedding 等",
label: "腾讯混元 Hunyuan",
description: "hunyuan-pro, hunyuan-standard, hunyuan-embedding, etc.",
},
minimax: {
label: "MiniMax",
@@ -1233,7 +1233,27 @@ export default {
},
gpustack: {
label: "GPUStack",
description: "私有化 GPU 集群部署平台,OpenAI 兼容 API",
description: "Choose your deployed model on GPUStack",
},
modelscope: {
label: "魔搭 ModelScope",
description: "Qwen/Qwen3-8B, Qwen/Qwen3-Embedding-8B, etc.",
},
qiniu: {
label: "七牛云 Qiniu",
description: "deepseek/deepseek-v3.2-251201, z-ai/glm-4.7, etc.",
},
moonshot: {
label: "月之暗面 Moonshot",
description: "kimi-k2-turbo-preview, moonshot-v1-8k-vision-preview, etc.",
},
qianfan: {
label: "百度千帆 Baidu Cloud",
description: "ernie-5.0-thinking-preview, embedding-v1, bce-reranker-base, etc.",
},
longcat: {
label: "LongCat AI",
description: "LongCat-Flash-Chat, LongCat-Flash-Thinking, etc.",
},
},
},