Skip to content

[Bug]: Assistant turn ends silently after a failed tool call — no reply rendered, no error surfaced #37535

Closed

Description

@Tian-Timm

Summary

An assistant turn ended without producing any reply after a Bash tool call returned a non-zero exit code. From the user's perspective the agent "read the message but never replied". In the same time window the session repeatedly emitted tool-availability change notifications.

Timeline (2026-11-16, Asia/Shanghai)

  • ~13:58 — The agent runs a Bash call (lark-cli … | jq …). jq exits 3 with a compile error on stderr; the tool result is returned to the harness normally.
  • After that tool result, the turn ends with no assistant message at all — nothing rendered in the UI, no error shown.
  • Same window: several system notifications toggling tool availability (tools_added / tools_removed for Agent, Bash, Edit, Glob, Grep, Write — removed, then re-added a moment later).
  • ~14:05 — The user sends a new message; subsequent turns work normally again.

Expected

  • After a tool result (even a failed one), the turn should continue and produce an assistant message; or
  • if the follow-up model request failed (provider error / timeout), the error should be surfaced in the UI instead of the turn ending silently.

Actual

The turn ends silently. No error is surfaced anywhere in the UI, so the user cannot tell whether the agent is still working, finished, or crashed.

Environment

  • T3 Code through the acpRegistry harness
  • Provider / model: free-tokens_kimi / coding-model-1112
  • macOS client; long-running thread (~2h of prior turns, several background tasks)

Notes / hypotheses

  • This could be the provider request after the tool result failing without being surfaced, or the session loop terminating when a tool call errors. Logs for the ~13:55–14:00 window should disambiguate — happy to share session logs if you point me to where T3 Code keeps them.
  • The tools_added / tools_removed churn right around the failure may be related.

Activity

  1. changed the title [-]Assistant turn ends silently after a failed tool call — no reply rendered, no error surfaced[/-] [+][Bug]: Assistant turn ends silently after a failed tool call — no reply rendered, no error surfaced[/+] on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions