Summary
Switching from Claude Opus 4.5 to Claude Sonnet 4.5 within the same conversation (GitHub Copilot provider) fails with:
messages.3.content.0: Invalid `signature` in `thinking` block
Steps to Reproduce
- Start a conversation using Claude Opus 4.5 via GitHub Copilot provider.
- In the same conversation, switch to Claude Sonnet 4.5 (thinking enabled).
- Send a new message.
Actual Behavior
Request fails with the error above.
Expected Behavior
Switching between Claude models in the same thread should work, or OpenCode should strip/normalize incompatible thinking blocks to avoid signature validation failures.
Notes
- Switching to OpenAI Codex medium in the same conversation works normally.
- Workaround: start a new conversation before switching Claude models.
- OpenCode version: (not provided).
- OS: (not provided).
- Provider: GitHub Copilot.
If you need additional logs or version info, I can follow up.