mistral models added

more mistral models added. some tested, rest assumed to be working
This commit is contained in:
ArulGandhi 2024-10-22 09:47:30 +05:30
parent 5e8a0b077a
commit 1b1cd183f5
2 changed files with 25 additions and 2 deletions

View File

@ -30,8 +30,16 @@ const staticModels: ModelInfo[] = [
{ name: 'gpt-4-turbo', label: 'GPT-4 Turbo', provider: 'OpenAI' },
{ name: 'gpt-4', label: 'GPT-4', provider: 'OpenAI' },
{ name: 'gpt-3.5-turbo', label: 'GPT-3.5 Turbo', provider: 'OpenAI' },
{ name: 'open-mistral-7b', label: 'Mistral', provider: 'Mistral' },
{ name: 'open-mistral-7b', label: 'Mistral 7B', provider: 'Mistral' },
{ name: 'open-mixtral-8x7b', label: 'Mistral 8x7B', provider: 'Mistral' },
{ name: 'open-mixtral-8x22b', label: 'Mistral 8x22B', provider: 'Mistral' },
{ name: 'open-codestral-mamba', label: 'Codestral Mamba', provider: 'Mistral' },
{ name: 'open-mistral-nemo', label: 'Mistral Nemo', provider: 'Mistral' },
{ name: 'pixtral-12b-2409', label: 'Pixtral 12B', provider: 'Mistral' },
{ name: 'ministral-8b-latest', label: 'Mistral 8B', provider: 'Mistral' },
{ name: 'ministral-small-latest', label: 'Mistral Small', provider: 'Mistral' },
{ name: 'codestral-latest', label: 'Codestral', provider: 'Mistral' },
{ name: 'ministral-large-latest', label: 'Mistral Large Latest', provider: 'Mistral' },
];
export let MODEL_LIST: ModelInfo[] = [...staticModels];

View File

@ -17,6 +17,9 @@ importers:
'@ai-sdk/google':
specifier: ^0.0.52
version: 0.0.52(zod@3.23.8)
'@ai-sdk/mistral':
specifier: ^0.0.43
version: 0.0.43(zod@3.23.8)
'@ai-sdk/openai':
specifier: ^0.0.66
version: 0.0.66(zod@3.23.8)
@ -264,6 +267,12 @@ packages:
peerDependencies:
zod: ^3.0.0
'@ai-sdk/mistral@0.0.43':
resolution: {integrity: sha512-YcneVvO57bbmseUmnvQaj6OolMj7/q1W/oeiFj1h+CJZsXIOX8P9i2Cmo2B7HMBbt73NIcvtyPze3GjaczZRqw==}
engines: {node: '>=18'}
peerDependencies:
zod: ^3.0.0
'@ai-sdk/openai@0.0.66':
resolution: {integrity: sha512-V4XeDnlNl5/AY3GB3ozJUjqnBLU5pK3DacKTbCNH3zH8/MggJoH6B8wRGdLUPVFMcsMz60mtvh4DC9JsIVFrKw==}
engines: {node: '>=18'}
@ -5387,6 +5396,12 @@ snapshots:
json-schema: 0.4.0
zod: 3.23.8
'@ai-sdk/mistral@0.0.43(zod@3.23.8)':
dependencies:
'@ai-sdk/provider': 0.0.24
'@ai-sdk/provider-utils': 1.0.20(zod@3.23.8)
zod: 3.23.8
'@ai-sdk/openai@0.0.66(zod@3.23.8)':
dependencies:
'@ai-sdk/provider': 0.0.24