Skip to content

fix(provider): serialize Mistral prompt cache keys - #38448

Merged
rekram1-node merged 1 commit into
devfrom
mistral-cache
Jul 23, 2026
Merged

rekram1-node merged 1 commit into
devfrom
mistral-cache

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade @ai-sdk/mistral to 3.0.34
  • Patch Mistral provider options to accept promptCacheKey and serialize it as prompt_cache_key
  • Add wire-level coverage for the final Mistral request body

Completes the Mistral request behavior introduced in #38424. Split from #35982.

Test plan

  • bun test test/provider-mistral.test.ts in packages/core
  • bun typecheck in packages/core
  • bun typecheck in packages/opencode

@rekram1-node
rekram1-node merged commit fada1a5 into dev Jul 23, 2026
11 checks passed
@rekram1-node
rekram1-node deleted the mistral-cache branch July 23, 2026 03:53
banlanzs pushed a commit to banlanzs/opencode that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant