ArulGandhi
commited on
Commit
·
1b1cd18
1
Parent(s):
5e8a0b0
mistral models added
Browse filesmore mistral models added. some tested, rest assumed to be working
- app/utils/constants.ts +10 -2
- pnpm-lock.yaml +15 -0
app/utils/constants.ts
CHANGED
@@ -30,8 +30,16 @@ const staticModels: ModelInfo[] = [
|
|
30 |
{ name: 'gpt-4-turbo', label: 'GPT-4 Turbo', provider: 'OpenAI' },
|
31 |
{ name: 'gpt-4', label: 'GPT-4', provider: 'OpenAI' },
|
32 |
{ name: 'gpt-3.5-turbo', label: 'GPT-3.5 Turbo', provider: 'OpenAI' },
|
33 |
-
{ name: 'open-mistral-7b', label: 'Mistral', provider: 'Mistral' },
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
];
|
36 |
|
37 |
export let MODEL_LIST: ModelInfo[] = [...staticModels];
|
|
|
30 |
{ name: 'gpt-4-turbo', label: 'GPT-4 Turbo', provider: 'OpenAI' },
|
31 |
{ name: 'gpt-4', label: 'GPT-4', provider: 'OpenAI' },
|
32 |
{ name: 'gpt-3.5-turbo', label: 'GPT-3.5 Turbo', provider: 'OpenAI' },
|
33 |
+
{ name: 'open-mistral-7b', label: 'Mistral 7B', provider: 'Mistral' },
|
34 |
+
{ name: 'open-mixtral-8x7b', label: 'Mistral 8x7B', provider: 'Mistral' },
|
35 |
+
{ name: 'open-mixtral-8x22b', label: 'Mistral 8x22B', provider: 'Mistral' },
|
36 |
+
{ name: 'open-codestral-mamba', label: 'Codestral Mamba', provider: 'Mistral' },
|
37 |
+
{ name: 'open-mistral-nemo', label: 'Mistral Nemo', provider: 'Mistral' },
|
38 |
+
{ name: 'pixtral-12b-2409', label: 'Pixtral 12B', provider: 'Mistral' },
|
39 |
+
{ name: 'ministral-8b-latest', label: 'Mistral 8B', provider: 'Mistral' },
|
40 |
+
{ name: 'ministral-small-latest', label: 'Mistral Small', provider: 'Mistral' },
|
41 |
+
{ name: 'codestral-latest', label: 'Codestral', provider: 'Mistral' },
|
42 |
+
{ name: 'ministral-large-latest', label: 'Mistral Large Latest', provider: 'Mistral' },
|
43 |
];
|
44 |
|
45 |
export let MODEL_LIST: ModelInfo[] = [...staticModels];
|
pnpm-lock.yaml
CHANGED
@@ -17,6 +17,9 @@ importers:
|
|
17 |
'@ai-sdk/google':
|
18 |
specifier: ^0.0.52
|
19 |
version: 0.0.52([email protected])
|
|
|
|
|
|
|
20 |
'@ai-sdk/openai':
|
21 |
specifier: ^0.0.66
|
22 |
version: 0.0.66([email protected])
|
@@ -264,6 +267,12 @@ packages:
|
|
264 |
peerDependencies:
|
265 |
zod: ^3.0.0
|
266 |
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
'@ai-sdk/[email protected]':
|
268 |
resolution: {integrity: sha512-V4XeDnlNl5/AY3GB3ozJUjqnBLU5pK3DacKTbCNH3zH8/MggJoH6B8wRGdLUPVFMcsMz60mtvh4DC9JsIVFrKw==}
|
269 |
engines: {node: '>=18'}
|
@@ -5387,6 +5396,12 @@ snapshots:
|
|
5387 |
json-schema: 0.4.0
|
5388 |
zod: 3.23.8
|
5389 |
|
|
|
|
|
|
|
|
|
|
|
|
|
5390 |
'@ai-sdk/[email protected]([email protected])':
|
5391 |
dependencies:
|
5392 |
'@ai-sdk/provider': 0.0.24
|
|
|
17 |
'@ai-sdk/google':
|
18 |
specifier: ^0.0.52
|
19 |
version: 0.0.52([email protected])
|
20 |
+
'@ai-sdk/mistral':
|
21 |
+
specifier: ^0.0.43
|
22 |
+
version: 0.0.43([email protected])
|
23 |
'@ai-sdk/openai':
|
24 |
specifier: ^0.0.66
|
25 |
version: 0.0.66([email protected])
|
|
|
267 |
peerDependencies:
|
268 |
zod: ^3.0.0
|
269 |
|
270 |
+
'@ai-sdk/[email protected]':
|
271 |
+
resolution: {integrity: sha512-YcneVvO57bbmseUmnvQaj6OolMj7/q1W/oeiFj1h+CJZsXIOX8P9i2Cmo2B7HMBbt73NIcvtyPze3GjaczZRqw==}
|
272 |
+
engines: {node: '>=18'}
|
273 |
+
peerDependencies:
|
274 |
+
zod: ^3.0.0
|
275 |
+
|
276 |
'@ai-sdk/[email protected]':
|
277 |
resolution: {integrity: sha512-V4XeDnlNl5/AY3GB3ozJUjqnBLU5pK3DacKTbCNH3zH8/MggJoH6B8wRGdLUPVFMcsMz60mtvh4DC9JsIVFrKw==}
|
278 |
engines: {node: '>=18'}
|
|
|
5396 |
json-schema: 0.4.0
|
5397 |
zod: 3.23.8
|
5398 |
|
5399 |
+
'@ai-sdk/[email protected]([email protected])':
|
5400 |
+
dependencies:
|
5401 |
+
'@ai-sdk/provider': 0.0.24
|
5402 |
+
'@ai-sdk/provider-utils': 1.0.20([email protected])
|
5403 |
+
zod: 3.23.8
|
5404 |
+
|
5405 |
'@ai-sdk/[email protected]([email protected])':
|
5406 |
dependencies:
|
5407 |
'@ai-sdk/provider': 0.0.24
|