Skip to content

fix(mistral): pass through reasoning effort - #42164

Merged
rekram1-node merged 1 commit into
devfrom
mistral-reasoning-effort
Aug 12, 2026
Merged

fix(mistral): pass through reasoning effort#42164
rekram1-node merged 1 commit into
devfrom
mistral-reasoning-effort

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • loosen the patched Mistral SDK reasoning-effort schema from a fixed enum to a string
  • preserve arbitrary effort values on the outbound provider request
  • add regression coverage for an unknown effort value

Checks

  • bun test test/provider-mistral.test.ts (from packages/core)
  • bun typecheck (from packages/core)
  • clean forced install with the updated Bun patch

Requested by: @rekram1-node (Aiden Cline via Slack)

@opencode-agent
opencode-agent Bot force-pushed the mistral-reasoning-effort branch from 038ff69 to 6c73b21 Compare August 12, 2026 22:19
@rekram1-node
rekram1-node merged commit beeabe2 into dev Aug 12, 2026
9 checks passed
@rekram1-node
rekram1-node deleted the mistral-reasoning-effort branch August 12, 2026 22:20
sepo-eng added a commit to Draugur-AI/opencode that referenced this pull request Aug 13, 2026
…alyco/dev (#56)

* fix(ui): correct OC-2 weak icon color (anomalyco#41504)

(cherry picked from commit 3a90639)

* fix(provider): scope DeepSeek V4 Flash sampling defaults (anomalyco#41620)

Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: 侯秀凯 <9627034+hoooou@users.noreply.github.com>
(cherry picked from commit 5d95348)

* fix(opencode): detect Copilot PDF input support (anomalyco#41522)

(cherry picked from commit 561afb4)

* fix(opencode): cap session retries with jitter (anomalyco#41939)

(cherry picked from commit c789868)

* fix(provider): add Merge Gateway reasoning variants (anomalyco#41867)

(cherry picked from commit 8571a92)

* docs: fix broken DigitalOcean and Daytona links (anomalyco#42048)

Co-authored-by: skyzhao1223 <skyzhao1223@users.noreply.github.com>
(cherry picked from commit ca3df21)

* docs: fix provider display name and PAT typos (anomalyco#42034)

Co-authored-by: skyzhao1223 <skyzhao1223@users.noreply.github.com>
(cherry picked from commit 959c8bd)

* fix(xai): pass through reasoning effort (anomalyco#42160)

Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
(cherry picked from commit 502310f)

* fix(mistral): pass through reasoning effort (anomalyco#42164)

Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
(cherry picked from commit beeabe2)

* fix(groq): pass through reasoning effort (anomalyco#42166)

Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
(cherry picked from commit 6fea419)

* fix(opencode): select Kimi prompt by provider (anomalyco#42161)

Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
(cherry picked from commit 91df883)

---------

Co-authored-by: OpeOginni <107570612+OpeOginni@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: 侯秀凯 <9627034+hoooou@users.noreply.github.com>
Co-authored-by: Steven Ao <stevenao@users.noreply.github.com>
Co-authored-by: Matthew Feroz <136640686+MatthewFeroz@users.noreply.github.com>
Co-authored-by: SKY ZHAO <boyzhaotian@hotmail.com>
Co-authored-by: skyzhao1223 <skyzhao1223@users.noreply.github.com>
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant