[Bug] "Tool loaded." output from ToolSearch appears as user prompt (regression in 2.1.70)

Resolved 💬 5 comments Opened Mar 6, 2026 by Mizoreww Closed Mar 6, 2026

Summary

Since 2.1.70, when deferred tools are loaded via ToolSearch, each successful load displays ❯ Tool loaded. in the terminal. This is a regression — before deferred tool loading was introduced, all tools were preloaded silently.

Current Behavior

  • Every ToolSearch call produces a visible ❯ Tool loaded. line in the conversation
  • The message renders with the user prompt prefix (), making it look like something the user typed
  • The message gets picked up as the session name, which is clearly unintended

Expected Behavior

Tool loading should be silent or at minimum not appear as a user prompt. Options:

  • Hide these messages entirely (they're infrastructure, not user-facing results)
  • Collapse into a single summary line (e.g., "3 tools loaded")
  • Render as system output rather than with the user prompt prefix

Context

This was introduced in 2.1.70 with the deferred tool loading feature. Before that, all tools were preloaded and no such message existed.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗