Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion modules/model/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ export const ModelProviderMap = {
'zh-CN': '深信服',
'zh-Hant': '深信服'
},
DeerAPI: {
en: 'DeerAPI',
'zh-CN': 'DeerAPI',
'zh-Hant': 'DeerAPI'
},
Other: {
en: 'Other',
'zh-CN': '其他',
Expand Down Expand Up @@ -416,5 +421,9 @@ export const aiproxyIdMap: AiproxyMapProviderType = {
48: {
name: 'Sangfor',
provider: 'Sangfor'
}
},
49: {
name: 'DeerAPI',
provider: 'DeerAPI'
},
};
5 changes: 4 additions & 1 deletion modules/model/init.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

import alicloud from './provider/AliCloud';
import baai from './provider/BAAI';
import baichuan from './provider/Baichuan';
Expand Down Expand Up @@ -31,6 +32,7 @@ import ai360 from './provider/ai360';
import huggingface from './provider/HuggingFace';
import novita from './provider/novita';
import openrouter from './provider/OpenRouter';
import deerapi from './provider/DeerAPI/index';

import { ModelItemSchema, ModelTypeEnum, type ProviderConfigType } from './type';
import { modelsBuffer } from './constants';
Expand Down Expand Up @@ -70,7 +72,8 @@ const allProviders: ProviderConfigType[] = [
siliconflow,
sparkdesk,
stepfun,
yi
yi,
deerapi
];

export const initModels = () => {
Expand Down
Loading