Description
Switching models mid conversation leads to tool calls not being parsed.
Happened to me today while switching from sonnet 4.5 to kimi k2, happened to me in the past with GLM and big pickle as well
OpenCode version
0.15.29
Steps to reproduce
- started conversation in plan mode with sonnet 4.5 (anthropic api key)
- switched to build mode with kimi k2 (zen)
- Got weird output that looks to me like tool calls that are not parsed correctly
Screenshot and/or share link
Operating System
Arch
Terminal
Ghostty + tmux
Description
Switching models mid conversation leads to tool calls not being parsed.
Happened to me today while switching from sonnet 4.5 to kimi k2, happened to me in the past with GLM and big pickle as well
OpenCode version
0.15.29
Steps to reproduce
Screenshot and/or share link
Operating System
Arch
Terminal
Ghostty + tmux