mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix(cli): apply markdown stripping to background-task and /btw response panels
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.
This commit is contained in:
parent
177e6eb3da
commit
09ced16ecc
1 changed files with 2 additions and 2 deletions
4
cli.py
4
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue