diff --git a/README.md b/README.md index 8d34fb947..b292f3f9a 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ SQLBot 是一款基于大语言模型和 RAG 的智能问数系统,由 DataEas | 腾讯云 | OpenAI 兼容 | | 火山引擎 | OpenAI 兼容 | | MiniMax | OpenAI 兼容 | +| OrcaRouter | OpenAI 兼容 | | 通用 OpenAI 兼容 | 自定义 | ## 快速开始 diff --git a/docs/README.en.md b/docs/README.en.md index 02aacf3c5..f89db5b84 100644 --- a/docs/README.en.md +++ b/docs/README.en.md @@ -45,6 +45,7 @@ SQLBot is an intelligent data query system based on large language models and RA | Tencent Cloud | OpenAI Compatible | | Volcano Engine | OpenAI Compatible | | MiniMax | OpenAI Compatible | +| OrcaRouter | OpenAI Compatible | | Generic OpenAI Compatible | Custom | ## Quick Start diff --git a/frontend/src/assets/model/icon_orcarouter_colorful.png b/frontend/src/assets/model/icon_orcarouter_colorful.png new file mode 100644 index 000000000..e8a11250f Binary files /dev/null and b/frontend/src/assets/model/icon_orcarouter_colorful.png differ diff --git a/frontend/src/entity/supplier.ts b/frontend/src/entity/supplier.ts index bd4ddc971..87e723c8b 100644 --- a/frontend/src/entity/supplier.ts +++ b/frontend/src/entity/supplier.ts @@ -11,6 +11,7 @@ import icon_hsyq_colorful from '@/assets/model/icon_hsyq_colorful.png' // import icon_vllm_colorful from '@/assets/model/icon_vllm_colorful.png' import icon_common_openai from '@/assets/model/icon_common_openai.png' import icon_minimax_colorful from '@/assets/model/icon_minimax_colorful.png' +import icon_orcarouter_colorful from '@/assets/model/icon_orcarouter_colorful.png' // import icon_azure_openAI_colorful from '@/assets/model/icon_Azure_OpenAI_colorful.png' type ModelArg = { key: string; val?: string | number; type: string; range?: string } @@ -294,6 +295,36 @@ export const supplierList: Array<{ }, }, }, + { + id: 16, + name: 'OrcaRouter', + i18nKey: 'supplier.orcarouter', + icon: icon_orcarouter_colorful, + model_config: { + 0: { + api_domain: 'https://api.orcarouter.ai/v1', + common_args: [{ key: 'temperature', val: 1.0, type: 'number', range: '[0, 2]' }], + model_options: [ + { name: 'orcarouter/fusion' }, + { name: 'orcarouter/fusion-flash' }, + { name: 'orcarouter/fusion-mini' }, + { name: 'orcarouter/auto' }, + { name: 'deepseek/deepseek-v4-pro' }, + { name: 'deepseek/deepseek-v4-flash' }, + { name: 'deepseek/deepseek-chat' }, + { name: 'openai/gpt-4.1' }, + { name: 'openai/gpt-4.1-mini' }, + { name: 'openai/gpt-4o' }, + { name: 'qwen/qwen3.5-plus' }, + { name: 'qwen/qwen3.5-flash' }, + { name: 'google/gemini-2.5-pro' }, + { name: 'google/gemini-2.5-flash' }, + { name: 'anthropic/claude-sonnet-5' }, + { name: 'anthropic/claude-haiku-4.5' }, + ], + }, + }, + }, /* { id: 11, name: 'vLLM', diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index 3680a773d..132bf1561 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -956,6 +956,7 @@ "tencent_cloud": "Tencent Cloud", "volcano_engine": "Volcano Engine", "minimax": "MiniMax", + "orcarouter": "OrcaRouter", "generic_openai": "Generic OpenAI" }, "modelType": { diff --git a/frontend/src/i18n/ko-KR.json b/frontend/src/i18n/ko-KR.json index 332e303f6..b4964744b 100644 --- a/frontend/src/i18n/ko-KR.json +++ b/frontend/src/i18n/ko-KR.json @@ -956,6 +956,7 @@ "tencent_cloud": "텐센트 클라우드", "volcano_engine": "볼케이노 엔진", "minimax": "MiniMax", + "orcarouter": "OrcaRouter", "generic_openai": "범용 OpenAI" }, "modelType": { diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index 06697bd26..792358df0 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -956,6 +956,7 @@ "tencent_cloud": "腾讯云", "volcano_engine": "火山引擎", "minimax": "MiniMax", + "orcarouter": "OrcaRouter", "generic_openai": "通用OpenAI" }, "modelType": { diff --git a/frontend/src/i18n/zh-TW.json b/frontend/src/i18n/zh-TW.json index 86991ae44..7e35d2657 100644 --- a/frontend/src/i18n/zh-TW.json +++ b/frontend/src/i18n/zh-TW.json @@ -956,6 +956,7 @@ "tencent_cloud": "騰訊雲", "volcano_engine": "火山引擎", "minimax": "MiniMax", + "orcarouter": "OrcaRouter", "generic_openai": "通用OpenAI" }, "modelType": {