[Bug] Muse Spark 1.3 via OpenCode Zen/Go: task-plan rounds are followed by text-only replies with 0 tool calls (no error, turn just stops)
Summary
After a task-plan round (the ekko_studio_update_plan interaction that shows "step 1 in_progress → completed" cards in the chat), Muse Spark 1.3 (muse-spark-1.3-contributor, served via OpenCode Zen/Go /responses) replies with plain text describing something it is about to do, then ends the turn with finish_reason=stop and zero tool calls. No error is raised — the run just stops. The user must send a follow-up like "go on" to make it actually call the tool.
This is not a schema/stripping issue on our side (see Evidence below — all 49 tool definitions are forwarded intact).
Environment
- Ekko Studio (desktop): 0.7.24
- Hermes Agent: 0.21.5
- Model:
muse-spark-1.3-contributor(via OpenCode) - Tool count per request: 49 (Hermes sends 49 tool definitions every turn)
Symptoms
- Normal chat turns work fine — the model calls tools as expected.
- The failure reliably coincides with task-plan rounds: right after the assistant calls
ekko_studio_update_plan(creating/updating the multi-step plan card), the next model response is text-only ("I'll check X…", "Let me do Y…") withfinish_reason=stopand 0 tool calls, even though tool definitions were present. - Happens across several sessions, reproducible on demand by creating a task plan and then asking for any tool-backed action.
- Same model through a different relay (Command Code's OpenAI-compatible endpoint) never exhibits this — long multi-turn sessions with hundreds of tool calls are fine there.
Evidence (client-side logs, every affected request)
Every request this evening:
[MUSE] target=https://opencode.ai/zen/go/v1/responses status=200 stream=true done=true sawTool=false tools_in=49 tools_out=49 duration=9.4stools_in=49 tools_out=49— all 49 tool definitions were forwarded to OpenCode unchanged (nothing stripped, nothing lost).done=true— the upstream stream completed normally with a terminal event (response.completed); this is NOT a mid-stream cut/truncation.sawTool=false— the upstream event stream contained nofunction_calloutput item at all. The model genuinely produced text-only output and finished; the upstream event stream was fully received with no dropped events (when tools ARE called, the same log showssawTool=true).
Hermes side (conversation_loop), matching the same minutes:
Turn ended: reason=text_response(finish_reason=stop) ... last_msg_role=assistant response_len=29→ The agent received a clean text reply and ended the turn. No error, no timeout.
Suggested root cause & why it's worth a look
OpenCode Zen/Go relays appear to carry multi-turn tool-call continuation state per session (x-opencode-session). The pattern is: task-plan rounds involve several consecutive tool-call turns (update_plan → terminal/read_file → …), and after that burst the next continuation intermittently resolves to a plain text reply instead of a tool call. This resembles the upstream issues where continuation chunks lose tool-call state:
- https://github.com/anomalyco/opencode/issues/44852 — "Failed parallel tool call leaves dangling tool_call_id"
- https://github.com/anomalyco/opencode/issues/49692 — "models fail on tool calls (missing tool_call id in continuation chunks)"
The Command Code relay settles each request independently (no cross-turn continuation state), which is why the same model never misbehaves there — the difference is in the relay's turn-continuation handling, not in the model.
Request
- When a session's previous turn(s) contained tool calls (especially after a task-plan update round), ensure the next continuation still carries a valid tool-call context for Muse Spark 1.3 — or
- Provide a config option to disable the task-plan injection /
interactioncapability for sessions that don't need it (as a workaround until the continuation state issue is fixed).
Happy to provide full docker logs excerpts, the x-opencode session ids, or raw request/response dumps of any affected request if that helps.
Source: EKKOLearnAI/hermes-studio