You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
would there be a way to transform it to the right format or somethin without just stripping it? or is the default behavior to strip thoughts from subsequent messages?
I can confirm that this bug in switching between models in the same session with Github Copilot subscription integration came back. I've got an error similar to @Wenbobobo 's one (messages.21.content.0: Invalid 'signature' in 'thinking' block) when switching from gemini-3-pro-preview to claude-opus-4.6 in opencode 1.1.53 installed in Pop!_OS 24.04 running in Cosmic Terminal.
The issue seems to happen only in the same execution. I closed opencode CLI client, opened it again, resumed the session, and resent the last prompt and it worked fine.
Activity
github-actions commentedon Dec 30, 2025
This issue might be a duplicate of existing issues. Please check:
thoughtSignaturesupport #4832: [BUG]: Gemini 3 Pro function calling fails - missingthoughtSignaturesupport - Similar issue withsignaturein thinking blocks when using models with reasoningFeel free to ignore if none of these address your specific case.
rekram1-node commentedon Dec 30, 2025
Yeah ik why, I think we have to filter out all reasoning from old model when u switch
rdvo commentedon Dec 30, 2025
would there be a way to transform it to the right format or somethin without just stripping it? or is the default behavior to strip thoughts from subsequent messages?
mastternick commentedon Jan 2, 2026
I can confirm this issue as well:
Description:
An error occurs when switching to Anthropic models during an active session and sending a message after switching.|
Steps to reproduce:
Error message:
messages.1.content.0: Invalid signature in thinking blockvieenrose commentedon Jan 6, 2026
I made a Session Repair Tool on this issue.
mounan commentedon Jan 18, 2026
I hit this
Corrupted thought signature.error when I switch from google provider to manul api tokenMrGuardian commentedon Feb 2, 2026
I have this too. I'm not using Anthropic subscription directly, I do it via Github Copilot subscription.
Steps I did before getting the same error (all models from Github Copilot):
Got this error
messages.1.content.0: Invalid `signature` in `thinking` block.Using
opencodeversion 1.1.48 invs code.DerekCorniello commentedon Feb 3, 2026
just now getting this same error on opus 4.5 and sonnet through github copilot sub. Using v1.1.48 on kitty with hyprland/arch
fix: strip incompatible thinking blocks when switching to Claude
rekram1-node commentedon Feb 3, 2026
This was fixed for all models a while ago, but for github copilot there was a separate issue that is fixed in dev.
Release should go out tonight
Wenbobobo commentedon Feb 10, 2026
geekgil commentedon Feb 10, 2026
I can confirm that this bug in switching between models in the same session with Github Copilot subscription integration came back. I've got an error similar to @Wenbobobo 's one (
messages.21.content.0: Invalid 'signature' in 'thinking' block) when switching from gemini-3-pro-preview to claude-opus-4.6 in opencode 1.1.53 installed in Pop!_OS 24.04 running in Cosmic Terminal.The issue seems to happen only in the same execution. I closed opencode CLI client, opened it again, resumed the session, and resent the last prompt and it worked fine.