diff --git a/docSite/content/zh-cn/docs/development/configuration.md b/docSite/content/zh-cn/docs/development/configuration.md index 2ab2d71a29df..7a0068136ef9 100644 --- a/docSite/content/zh-cn/docs/development/configuration.md +++ b/docSite/content/zh-cn/docs/development/configuration.md @@ -203,7 +203,9 @@ weight: 707 - OpenAI - Claude - Gemini +- Meta - MistralAI +- AliCloud - 阿里云 - Qwen - 通义千问 - Doubao - 豆包 - ChatGLM - 智谱 @@ -215,7 +217,10 @@ weight: 707 - Baichuan - 百川 - Yi - 零一万物 - Ernie - 文心一言 +- StepFun - 阶跃星辰 - Ollama +- BAAI - 智源研究院 +- FishAudio - Other - 其他 diff --git a/packages/global/core/ai/provider.ts b/packages/global/core/ai/provider.ts index 589371845501..cbdb67bce5ae 100644 --- a/packages/global/core/ai/provider.ts +++ b/packages/global/core/ai/provider.ts @@ -4,20 +4,25 @@ export type ModelProviderIdType = | 'OpenAI' | 'Claude' | 'Gemini' + | 'Meta' | 'MistralAI' | 'Groq' + | 'AliCloud' | 'Qwen' | 'Doubao' | 'ChatGLM' | 'DeepSeek' + | 'Ernie' | 'Moonshot' | 'MiniMax' | 'SparkDesk' | 'Hunyuan' | 'Baichuan' + | 'StepFun' | 'Yi' - | 'Ernie' | 'Ollama' + | 'BAAI' + | 'FishAudio' | 'Other'; export type ModelProviderType = { @@ -42,6 +47,11 @@ export const ModelProviderList: ModelProviderType[] = [ name: 'Gemini', avatar: 'model/gemini' }, + { + id: 'Meta', + name: 'Meta', + avatar: 'model/meta' + }, { id: 'MistralAI', name: 'MistralAI', @@ -52,6 +62,11 @@ export const ModelProviderList: ModelProviderType[] = [ name: 'Groq', avatar: 'model/groq' }, + { + id: 'AliCloud', + name: i18nT('common:model_alicloud'), + avatar: 'model/alicloud' + }, { id: 'Qwen', name: i18nT('common:model_qwen'), @@ -67,6 +82,11 @@ export const ModelProviderList: ModelProviderType[] = [ name: i18nT('common:model_chatglm'), avatar: 'model/chatglm' }, + { + id: 'Ernie', + name: i18nT('common:model_ernie'), + avatar: 'model/ernie' + }, { id: 'DeepSeek', name: 'DeepSeek', @@ -97,21 +117,32 @@ export const ModelProviderList: ModelProviderType[] = [ name: i18nT('common:model_baichuan'), avatar: 'model/baichuan' }, + { + id: 'StepFun', + name: i18nT('common:model_stepfun'), + avatar: 'model/stepfun' + }, { id: 'Yi', name: i18nT('common:model_yi'), avatar: 'model/yi' }, - { - id: 'Ernie', - name: i18nT('common:model_ernie'), - avatar: 'model/ernie' - }, + { id: 'Ollama', name: 'Ollama', avatar: 'model/ollama' }, + { + id: 'BAAI', + name: i18nT('common:model_baai'), + avatar: 'model/BAAI' + }, + { + id: 'FishAudio', + name: 'FishAudio', + avatar: 'model/fishaudio' + }, { id: 'Other', name: i18nT('common:model_other'), diff --git a/packages/web/components/common/Icon/constants.ts b/packages/web/components/common/Icon/constants.ts index 67b22d152a2c..45b38f4febe1 100644 --- a/packages/web/components/common/Icon/constants.ts +++ b/packages/web/components/common/Icon/constants.ts @@ -357,16 +357,20 @@ export const iconPaths = { 'modal/selectSource': () => import('./icons/modal/selectSource.svg'), 'modal/setting': () => import('./icons/modal/setting.svg'), 'modal/teamPlans': () => import('./icons/modal/teamPlans.svg'), + 'model/BAAI': () => import('./icons/model/BAAI.svg'), + 'model/alicloud': () => import('./icons/model/alicloud.svg'), 'model/baichuan': () => import('./icons/model/baichuan.svg'), 'model/chatglm': () => import('./icons/model/chatglm.svg'), 'model/claude': () => import('./icons/model/claude.svg'), 'model/deepseek': () => import('./icons/model/deepseek.svg'), 'model/doubao': () => import('./icons/model/doubao.svg'), 'model/ernie': () => import('./icons/model/ernie.svg'), + 'model/fishaudio': () => import('./icons/model/fishaudio.svg'), 'model/gemini': () => import('./icons/model/gemini.svg'), 'model/groq': () => import('./icons/model/groq.svg'), 'model/huggingface': () => import('./icons/model/huggingface.svg'), 'model/hunyuan': () => import('./icons/model/hunyuan.svg'), + 'model/meta': () => import('./icons/model/meta.svg'), 'model/minimax': () => import('./icons/model/minimax.svg'), 'model/mistral': () => import('./icons/model/mistral.svg'), 'model/moonshot': () => import('./icons/model/moonshot.svg'), @@ -374,6 +378,7 @@ export const iconPaths = { 'model/openai': () => import('./icons/model/openai.svg'), 'model/qwen': () => import('./icons/model/qwen.svg'), 'model/sparkDesk': () => import('./icons/model/sparkDesk.svg'), + 'model/stepfun': () => import('./icons/model/stepfun.svg'), 'model/yi': () => import('./icons/model/yi.svg'), more: () => import('./icons/more.svg'), moreLine: () => import('./icons/moreLine.svg'), diff --git a/packages/web/components/common/Icon/icons/model/BAAI.svg b/packages/web/components/common/Icon/icons/model/BAAI.svg new file mode 100644 index 000000000000..938361b679ac --- /dev/null +++ b/packages/web/components/common/Icon/icons/model/BAAI.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/web/components/common/Icon/icons/model/alicloud.svg b/packages/web/components/common/Icon/icons/model/alicloud.svg new file mode 100644 index 000000000000..4a6104a705f8 --- /dev/null +++ b/packages/web/components/common/Icon/icons/model/alicloud.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/web/components/common/Icon/icons/model/fishaudio.svg b/packages/web/components/common/Icon/icons/model/fishaudio.svg new file mode 100644 index 000000000000..d40f0febdf55 --- /dev/null +++ b/packages/web/components/common/Icon/icons/model/fishaudio.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/packages/web/components/common/Icon/icons/model/meta.svg b/packages/web/components/common/Icon/icons/model/meta.svg new file mode 100644 index 000000000000..fcc771ee70a6 --- /dev/null +++ b/packages/web/components/common/Icon/icons/model/meta.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/web/components/common/Icon/icons/model/stepfun.svg b/packages/web/components/common/Icon/icons/model/stepfun.svg new file mode 100644 index 000000000000..a78ebed2fb27 --- /dev/null +++ b/packages/web/components/common/Icon/icons/model/stepfun.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/web/components/common/Icon/icons/model/yi.svg b/packages/web/components/common/Icon/icons/model/yi.svg index ebc945d71751..38a883daec5e 100644 --- a/packages/web/components/common/Icon/icons/model/yi.svg +++ b/packages/web/components/common/Icon/icons/model/yi.svg @@ -1,13 +1,13 @@ - - + + - - - - + + + + - + diff --git a/packages/web/i18n/en/common.json b/packages/web/i18n/en/common.json index 21f3d856e01a..76e00a859941 100644 --- a/packages/web/i18n/en/common.json +++ b/packages/web/i18n/en/common.json @@ -915,6 +915,8 @@ "model.type.embedding": "Embedding", "model.type.stt": "speech recognition", "model.type.tts": "TTS", + "model_alicloud": "Ali Cloud", + "model_baai": "BAAI", "model_baichuan": "Baichuan", "model_chatglm": "ChatGLM", "model_doubao": "Doubao", @@ -924,6 +926,7 @@ "model_other": "Other", "model_qwen": "Qwen", "model_sparkdesk": "SprkDesk", + "model_stepfun": "StepFun", "model_yi": "Yi", "move.confirm": "Confirm move", "navbar.Account": "Account", diff --git a/packages/web/i18n/zh-CN/common.json b/packages/web/i18n/zh-CN/common.json index e22b820b18d6..5720977c162c 100644 --- a/packages/web/i18n/zh-CN/common.json +++ b/packages/web/i18n/zh-CN/common.json @@ -918,6 +918,8 @@ "model.type.embedding": "索引模型", "model.type.stt": "语音识别", "model.type.tts": "语音合成", + "model_alicloud": "阿里云", + "model_baai": "智源", "model_baichuan": "百川智能", "model_chatglm": "ChatGLM", "model_doubao": "豆包", @@ -927,6 +929,7 @@ "model_other": "其他", "model_qwen": "阿里千问", "model_sparkdesk": "讯飞星火", + "model_stepfun": "阶跃星辰", "model_yi": "零一万物", "move.confirm": "确认移动", "navbar.Account": "账号", diff --git a/packages/web/i18n/zh-Hant/common.json b/packages/web/i18n/zh-Hant/common.json index 2b7804c8d4bc..f046d02c5ce4 100644 --- a/packages/web/i18n/zh-Hant/common.json +++ b/packages/web/i18n/zh-Hant/common.json @@ -915,6 +915,8 @@ "model.type.chat": "語言模型", "model.type.stt": "語音辨識", "model.type.tts": "語音合成", + "model_alicloud": "阿里雲", + "model_baai": "智源", "model_baichuan": "百川智能", "model_chatglm": "ChatGLM", "model_doubao": "豆包", @@ -924,6 +926,7 @@ "model_other": "其他", "model_qwen": "阿里千問", "model_sparkdesk": "訊飛星火", + "model_stepfun": "階躍星辰", "model_yi": "零一萬物", "move.confirm": "確認移動", "navbar.Account": "帳戶",