| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…odels When switching from a model like minimax to Claude/Opus, the session contains thinking blocks with signatures that Anthropic's API rejects with 'Invalid signature in thinking block' error. This fix: - Filters out thinking blocks with signatures when targeting Claude - Converts reasoning parts to text wrapped in <thinking> tags to preserve the content while making it compatible
|
can validate this is still an issue |
Sorry, something went wrong.
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Problem
When switching from a model like minimax to Claude/Opus mid-session, the API returns:
This happens because the session contains cached messages with thinking blocks that have signatures from the previous model (minimax), which Anthropic's API rejects.
Solution
In normalizeMessages(), when the target model is Claude:
Testing