Description
Using Claude Sonnet 4.5 and GLM.4.6 and switching between them based on the task, after switching from GLM 4.6 to Claude Sonnet 4.5 and sending a message it returns error "messages: text content block must contain non-whitespace text"
OpenCode version
15.4
Steps to reproduce
- Start a new session
- Use GLM 4.6 to edit some files do somethings
- Switch to Claude Sonnet 4.5
- Send message
- (you might need to switch multiple times between the models to get the error)
- Profit.
Screenshot and/or share link
Operating System
Arch Linux (btw)
Terminal
Wizterm
Description
Using Claude Sonnet 4.5 and GLM.4.6 and switching between them based on the task, after switching from GLM 4.6 to Claude Sonnet 4.5 and sending a message it returns error "messages: text content block must contain non-whitespace text"
OpenCode version
15.4
Steps to reproduce
Screenshot and/or share link
Operating System
Arch Linux (btw)
Terminal
Wizterm