SIGN IN SIGN UP

fix(fireworks): drop reasoning history blocks (#39973)

Fixed Fireworks requests failing after switching from a model that
stores reasoning blocks in conversation history.

---

Users switching from an OpenAI Responses model to Fireworks could
receive a 400 because canonical `reasoning` blocks remained in
conversation history. `ChatFireworks` now drops those provider-specific
blocks before serializing Chat Completions requests, matching its
handling of other unsupported reasoning formats.

Made by [Open
SWE](https://openswe.vercel.app/agents/15bd8573-dbbf-55f8-8f22-d5295ec6de11)

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
M
Mason Daugherty committed
033ff67b33caea00d2b890433bb3f3fa39f622a9
Parent: 4fe9d30
Committed by GitHub <noreply@github.com> on 8/27/2026, 9:28:40 PM