Skip to content

[BUG] Token Wasting by Enforcing Tool Use in Ask Mode - Duplicate Responses #548

@instructiongrab4-cmd

Description

@instructiongrab4-cmd

Describe the bug
In Ask mode, every response is forced to include a tool call — even simple Q&A. A text-only answer gets rejected with [ERROR] You did not use a tool..., then the model regenerates the same answer wrapped in attempt_completion. This doubles token usage for no value.

To Reproduce

  1. Open Ask mode
  2. Ask: "What model are you running?"
  3. First text-only response is rejected with the [ERROR]; model retries with a redundant attempt_completion

Expected behavior
Text-only responses should be accepted in Ask mode without requiring a tool call.

What version of zoo are you running
3.58.1 (52c4473)

Additional context
Root cause: dist/extension.js:4509 — the Dqt() system prompt function hardcodes "You must call at least one tool per assistant response." Enforcement triggers at lines ~4359-4362.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions