opencode icon indicating copy to clipboard operation
opencode copied to clipboard

opencode zen models tool calls are not parsed correctly mid conversation

Open tsah opened this issue 2 months ago • 11 comments

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

  1. started conversation in plan mode with sonnet 4.5 (anthropic api key)
  2. switched to build mode with kimi k2 (zen)
  3. Got weird output that looks to me like tool calls that are not parsed correctly

Screenshot and/or share link

Image

Operating System

Arch

Terminal

Ghostty + tmux

tsah avatar Oct 30 '25 07:10 tsah