diff --git a/docSite/content/zh-cn/docs/development/configuration.md b/docSite/content/zh-cn/docs/development/configuration.md index 530806c09..e65315f4e 100644 --- a/docSite/content/zh-cn/docs/development/configuration.md +++ b/docSite/content/zh-cn/docs/development/configuration.md @@ -221,6 +221,8 @@ weight: 707 - Ollama - BAAI - 智源研究院 - FishAudio +- Intern - 书生 +- Moka - Moka-AI - Other - 其他 diff --git a/packages/global/core/ai/provider.ts b/packages/global/core/ai/provider.ts index cbdb67bce..efdfb2334 100644 --- a/packages/global/core/ai/provider.ts +++ b/packages/global/core/ai/provider.ts @@ -23,6 +23,8 @@ export type ModelProviderIdType = | 'Ollama' | 'BAAI' | 'FishAudio' + | 'Intern' + | 'Moka' | 'Other'; export type ModelProviderType = { @@ -143,6 +145,16 @@ export const ModelProviderList: ModelProviderType[] = [ name: 'FishAudio', avatar: 'model/fishaudio' }, + { + id: 'Intern', + name: i18nT('common:model_intern'), + avatar: 'model/intern' + }, + { + id: 'Moka', + name: i18nT('common:model_moka'), + avatar: 'model/moka' + }, { 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 7632a0b3e..acdec5f1a 100644 --- a/packages/web/components/common/Icon/constants.ts +++ b/packages/web/components/common/Icon/constants.ts @@ -387,6 +387,8 @@ export const iconPaths = { 'model/sparkDesk': () => import('./icons/model/sparkDesk.svg'), 'model/stepfun': () => import('./icons/model/stepfun.svg'), 'model/yi': () => import('./icons/model/yi.svg'), + 'model/intern': () => import('./icons/model/intern.svg'), + 'model/moka': () => import('./icons/model/moka.svg'), more: () => import('./icons/more.svg'), moreLine: () => import('./icons/moreLine.svg'), out: () => import('./icons/out.svg'), diff --git a/packages/web/components/common/Icon/icons/model/intern.svg b/packages/web/components/common/Icon/icons/model/intern.svg new file mode 100644 index 000000000..20f5b0e66 --- /dev/null +++ b/packages/web/components/common/Icon/icons/model/intern.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/packages/web/components/common/Icon/icons/model/moka.svg b/packages/web/components/common/Icon/icons/model/moka.svg new file mode 100644 index 000000000..e3d50bcb7 --- /dev/null +++ b/packages/web/components/common/Icon/icons/model/moka.svg @@ -0,0 +1,24 @@ + + + + Group + Created with Sketch. + + Layer 1 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/web/i18n/en/common.json b/packages/web/i18n/en/common.json index 9871c5528..448e175e6 100644 --- a/packages/web/i18n/en/common.json +++ b/packages/web/i18n/en/common.json @@ -937,6 +937,8 @@ "model_sparkdesk": "SprkDesk", "model_stepfun": "StepFun", "model_yi": "Yi", + "model_intern": "Intern", + "model_moka": "Moka-AI", "move.confirm": "Confirm move", "navbar.Account": "Account", "navbar.Chat": "Chat", diff --git a/packages/web/i18n/zh-CN/common.json b/packages/web/i18n/zh-CN/common.json index fa46e013b..f00670242 100644 --- a/packages/web/i18n/zh-CN/common.json +++ b/packages/web/i18n/zh-CN/common.json @@ -940,6 +940,8 @@ "model_sparkdesk": "讯飞星火", "model_stepfun": "阶跃星辰", "model_yi": "零一万物", + "model_intern": "书生", + "model_moka": "Moka-AI", "move.confirm": "确认移动", "navbar.Account": "账号", "navbar.Chat": "聊天", diff --git a/packages/web/i18n/zh-Hant/common.json b/packages/web/i18n/zh-Hant/common.json index efa9bbf46..24cadd4e8 100644 --- a/packages/web/i18n/zh-Hant/common.json +++ b/packages/web/i18n/zh-Hant/common.json @@ -937,6 +937,8 @@ "model_sparkdesk": "訊飛星火", "model_stepfun": "階躍星辰", "model_yi": "零一萬物", + "model_intern": "書生", + "model_moka": "Moka-AI", "move.confirm": "確認移動", "navbar.Account": "帳戶", "navbar.Chat": "對話",