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
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@ai-sdk/azure": "^2.0.26",
"@ai-sdk/google": "^2.0.24",
"@ai-sdk/groq": "^2.0.17",
"@ai-sdk/mistral": "^2.0.13",
"@ai-sdk/mistral": "^3.0.27",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major version mismatch between mistral provider and AI SDK core

High Severity

@ai-sdk/mistral@3.0.27 depends on @ai-sdk/provider@3.0.8 and @ai-sdk/provider-utils@4.0.21 (part of AI SDK v6), but the core ai package is pinned at 5.0.81 which depends on @ai-sdk/provider@2.0.0. This means models created via createMistral implement the v3 provider interface, while generateText and generateObject from ai@5.x expect the v2 provider interface. All other provider packages (anthropic, openai, groq, google, azure, bedrock) still correctly use @ai-sdk/provider@2.0.0. This will break the Mistral provider in the playground at runtime.

Additional Locations (1)
Fix in Cursor Fix in Web

"@ai-sdk/openai": "^2.0.23",
"@ai-sdk/provider": "2.0.0",
"@ai-sdk/react": "^2.0.116",
Expand Down
Loading
Loading