Skip to content

[BUG] All responses are duplicated 3 times regardless of tool usage #864

Description

@AlonDan

Describe the bug
Every response from the model is duplicated 2-3 times in the chat, regardless of whether the model uses tools or not. The number of duplicates appears to be random (sometimes 2, sometimes 3).
All responses contain identical content, only the visual presentation differs. The first responses appear in a plain/basic format, while the final response appears with proper formatting (emojis, colors, structured layout).


To Reproduce

  1. Open Zoo Code
  2. Send any message (e.g., "who are you?" or any question)
  3. Wait for the model response
  4. Observe that the same response appears 2-3 times in the chat

Expected behavior
The model should respond only once with a single response. No duplication should occur.


Screenshots
The issues is NOT the thinking, it is collapsed by default, I'm using a clean ZOO CODE installation:

Image

Video
In this example it duplicates twice, sometimes it's 3, sometimes it's 2:

ZOO.CODE.-.3.or.2.replies.every.time.mp4

What version of zoo are you running
3.66.0


Additional context

  • All responses contain identical content
  • The first responses appear in a plain/basic format
  • The final response appears with proper formatting (emojis, colors, structured layout)
  • The number of duplicates is random: sometimes 2, sometimes 3
  • This happens consistently for every message, regardless of tool usage
  • Tested across all Modes (Ask, Code, Architect, Debug, Orchestrator) — the issue occurs in all Modes
  • Tested with multiple models: Qwen3.6 (27B/35B), Gemma4 (26B/31B) — same issue occurs with all
  • Same models, same hardware, same PC: NO issue in Open Code Desktop or LM Studio or CLINE
  • This suggests the problem is specific to Zoo Code's response handling

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions