kaiiddo commited on
Commit
e45a757
·
verified ·
1 Parent(s): baa9725

Update src/models/modelConfig.js

Browse files
Files changed (1) hide show
  1. src/models/modelConfig.js +6 -77
src/models/modelConfig.js CHANGED
@@ -1,106 +1,36 @@
1
- // Model configuration for different companies
2
  export const modelCompanies = [
3
  {
4
  id: 'deepseek',
5
  name: 'DeepSeek',
6
- logo: 'brain-circuit', // Lucide icon name
7
  models: [
8
  {
9
  id: 'deepseek-v3.2-exp',
10
  name: 'DeepSeek V3.2 Exp',
11
- description: 'Latest experimental version with enhanced reasoning',
12
  provider: 'novita',
13
  endpoint: 'deepseek-ai/DeepSeek-V3.2-Exp'
14
- },
15
- {
16
- id: 'deepseek-v3',
17
- name: 'DeepSeek V3',
18
- description: 'Powerful general-purpose model',
19
- provider: 'novita',
20
- endpoint: 'deepseek-ai/DeepSeek-V3'
21
- },
22
- {
23
- id: 'deepseek-coder',
24
- name: 'DeepSeek Coder',
25
- description: 'Specialized in programming and code generation',
26
- provider: 'novita',
27
- endpoint: 'deepseek-ai/DeepSeek-Coder-V2'
28
  }
29
  ]
30
  },
31
  {
32
  id: 'zai-org',
33
  name: 'ZAI Org',
34
- logo: 'atom', // Lucide icon name
35
  models: [
36
  {
37
  id: 'glm-4.6',
38
  name: 'GLM-4.6',
39
- description: 'Advanced multimodal language model',
40
  provider: 'zai-org',
41
  endpoint: 'zai-org/GLM-4.6'
42
- },
43
- {
44
- id: 'glm-4',
45
- name: 'GLM-4',
46
- description: 'General language model v4',
47
- provider: 'zai-org',
48
- endpoint: 'zai-org/GLM-4'
49
- }
50
- ]
51
- },
52
- {
53
- id: 'synapse',
54
- name: 'SynapseAI',
55
- logo: 'neuron', // Lucide icon name
56
- models: [
57
- {
58
- id: 'synapse-7b',
59
- name: 'Synapse-7B',
60
- description: 'Fast and efficient model for general tasks',
61
- provider: 'synapse',
62
- endpoint: 'synapse-ai/Synapse-7B'
63
- },
64
- {
65
- id: 'synapse-13b',
66
- name: 'Synapse-13B',
67
- description: 'Advanced model for complex reasoning',
68
- provider: 'synapse',
69
- endpoint: 'synapse-ai/Synapse-13B'
70
- },
71
- {
72
- id: 'synapse-70b',
73
- name: 'Synapse-70B',
74
- description: 'Most powerful model for expert tasks',
75
- provider: 'synapse',
76
- endpoint: 'synapse-ai/Synapse-70B'
77
- }
78
- ]
79
- },
80
- {
81
- id: 'meta',
82
- name: 'Meta',
83
- logo: 'square-activity', // Lucide icon name
84
- models: [
85
- {
86
- id: 'llama-3.1-8b',
87
- name: 'Llama 3.1 8B',
88
- description: 'Efficient and capable small model',
89
- provider: 'meta',
90
- endpoint: 'meta-llama/Llama-3.1-8B'
91
- },
92
- {
93
- id: 'llama-3.1-70b',
94
- name: 'Llama 3.1 70B',
95
- description: 'Large model for complex tasks',
96
- provider: 'meta',
97
- endpoint: 'meta-llama/Llama-3.1-70B'
98
  }
99
  ]
100
  }
101
  ];
102
 
103
- // Get all models flattened for easy access
104
  export const allModels = modelCompanies.flatMap(company =>
105
  company.models.map(model => ({
106
  ...model,
@@ -109,7 +39,6 @@ export const allModels = modelCompanies.flatMap(company =>
109
  }))
110
  );
111
 
112
- // Find model by ID
113
  export const findModelById = (modelId) => {
114
  return allModels.find(model => model.id === modelId);
115
  };
 
1
+ // Model configuration with provider details
2
  export const modelCompanies = [
3
  {
4
  id: 'deepseek',
5
  name: 'DeepSeek',
6
+ logo: 'brain-circuit',
7
  models: [
8
  {
9
  id: 'deepseek-v3.2-exp',
10
  name: 'DeepSeek V3.2 Exp',
11
+ description: 'Latest experimental version',
12
  provider: 'novita',
13
  endpoint: 'deepseek-ai/DeepSeek-V3.2-Exp'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  }
15
  ]
16
  },
17
  {
18
  id: 'zai-org',
19
  name: 'ZAI Org',
20
+ logo: 'atom',
21
  models: [
22
  {
23
  id: 'glm-4.6',
24
  name: 'GLM-4.6',
25
+ description: 'Advanced multimodal model',
26
  provider: 'zai-org',
27
  endpoint: 'zai-org/GLM-4.6'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
29
  ]
30
  }
31
  ];
32
 
33
+ // Helper functions
34
  export const allModels = modelCompanies.flatMap(company =>
35
  company.models.map(model => ({
36
  ...model,
 
39
  }))
40
  );
41
 
 
42
  export const findModelById = (modelId) => {
43
  return allModels.find(model => model.id === modelId);
44
  };