Skip to content
Open
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 packages/opencode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@ai-sdk/google": "2.0.54",
"@ai-sdk/google-vertex": "3.0.106",
"@ai-sdk/groq": "2.0.34",
"@ai-sdk/mistral": "2.0.27",
"@ai-sdk/mistral": "3.0.30",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot Apr 10, 2026

Choose a reason for hiding this comment

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

P0: This major version bump is incompatible with the rest of the AI SDK ecosystem in this project. @ai-sdk/mistral@3.0.30 requires @ai-sdk/provider@3.0.8 and @ai-sdk/provider-utils@4.0.23, but the project uses ai@5.0.124 which depends on @ai-sdk/provider@2.0.1 and @ai-sdk/provider-utils@3.0.20. The provider object returned by createMistral from 3.x will use incompatible interfaces with the ai@5.x framework. All other @ai-sdk/* packages in the project are on the 2.x provider generation. This will likely cause runtime type mismatches or failures when using Mistral models.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/opencode/package.json, line 72:

<comment>This major version bump is incompatible with the rest of the AI SDK ecosystem in this project. `@ai-sdk/mistral@3.0.30` requires `@ai-sdk/provider@3.0.8` and `@ai-sdk/provider-utils@4.0.23`, but the project uses `ai@5.0.124` which depends on `@ai-sdk/provider@2.0.1` and `@ai-sdk/provider-utils@3.0.20`. The provider object returned by `createMistral` from 3.x will use incompatible interfaces with the `ai@5.x` framework. All other `@ai-sdk/*` packages in the project are on the 2.x provider generation. This will likely cause runtime type mismatches or failures when using Mistral models.</comment>

<file context>
@@ -69,7 +69,7 @@
     "@ai-sdk/google-vertex": "3.0.106",
     "@ai-sdk/groq": "2.0.34",
-    "@ai-sdk/mistral": "2.0.27",
+    "@ai-sdk/mistral": "3.0.30",
     "@ai-sdk/openai": "2.0.89",
     "@ai-sdk/openai-compatible": "1.0.32",
</file context>
Fix with Cubic

"@ai-sdk/openai": "2.0.89",
"@ai-sdk/openai-compatible": "1.0.32",
"@ai-sdk/perplexity": "2.0.23",
Expand Down
Loading