Skip to content

fix(tui): keep verbose tool progress off stderr#31374

Closed
hclsys wants to merge 1 commit into
NousResearch:mainfrom
hclsys:fix/tui-verbose-stderr-activity-31372
Closed

fix(tui): keep verbose tool progress off stderr#31374
hclsys wants to merge 1 commit into
NousResearch:mainfrom
hclsys:fix/tui-verbose-stderr-activity-31372

Conversation

@hclsys

@hclsys hclsys commented May 24, 2026

Copy link
Copy Markdown

Fixes #31372

Summary

  • keep TUI display.tool_progress=verbose on structured tool-progress events only
  • stop mapping TUI verbose mode to AIAgent.verbose_logging, which installs a DEBUG stderr handler
  • keep live /verbose config changes from enabling Python console logging for existing TUI agents

Verification

  • python -m pytest -o addopts='' tests/test_tui_gateway_server.py::test_config_set_verbose_keeps_agent_console_logging_off tests/tui_gateway/test_make_agent_provider.py::test_make_agent_keeps_console_logging_off_for_verbose_tool_progress -q
  • git diff --check

Notes

  • I also ran python -m pytest -o addopts='' tests/test_tui_gateway_server.py tests/tui_gateway/test_make_agent_provider.py -q; unrelated environment failures remain because this local env lacks prompt_toolkit. The targeted regression tests passed.

@alt-glitch alt-glitch added type/bug Something isn't working comp/tui Terminal UI (ui-tui/ + tui_gateway/) P2 Medium — degraded but workaround exists labels May 24, 2026
@hclsys

hclsys commented May 25, 2026

Copy link
Copy Markdown
Author

Closing — superseded by #31379, which already landed the same verbose_logging=False decoupling on tui_gateway/server.py (and the matching cli.py side). My change is now a no-op against main. Thanks!

@hclsys hclsys closed this May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/tui Terminal UI (ui-tui/ + tui_gateway/) P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TUI] backend DEBUG/INFO logs leak into Activity when display.tool_progress=verbose

2 participants