From 09ced16eccb98309a8ffd8a912c2ee285a965707 Mon Sep 17 00:00:00 2001 From: Teknium Date: Mon, 20 Apr 2026 02:04:50 -0700 Subject: [PATCH] fix(cli): apply markdown stripping to background-task and /btw response panels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to #12262 — extend final_response_markdown behavior to the other two final-response Panel render sites (background task completion and /btw responses) so users see consistent plain-text output everywhere. --- cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli.py b/cli.py index 13ec2ad5aa..ea4f1eec08 100644 --- a/cli.py +++ b/cli.py @@ -6162,7 +6162,7 @@ class HermesCLI: _chat_console = ChatConsole() _chat_console.print(Panel( - _rich_text_from_ansi(response), + _render_final_assistant_content(response, mode=self.final_response_markdown), title=f"[{_resp_color} bold]{label} (background #{task_num})[/]", title_align="left", border_style=_resp_color, @@ -6287,7 +6287,7 @@ class HermesCLI: _resp_color = "#4F6D4A" ChatConsole().print(Panel( - _rich_text_from_ansi(response), + _render_final_assistant_content(response, mode=self.final_response_markdown), title=f"[{_resp_color} bold]⚕ /btw[/]", title_align="left", border_style=_resp_color,