From 9d304d8a41a0c495821bc28fe123ace6eca77082 Mon Sep 17 00:00:00 2001 From: Re-bin Date: Wed, 11 Feb 2026 09:37:49 +0000 Subject: [PATCH] refactor: remove Panel border from CLI output for cleaner copy-paste --- nanobot/cli/commands.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/nanobot/cli/commands.py b/nanobot/cli/commands.py index d8e48e1..aa99d55 100644 --- a/nanobot/cli/commands.py +++ b/nanobot/cli/commands.py @@ -10,7 +10,6 @@ import sys import typer from rich.console import Console from rich.markdown import Markdown -from rich.panel import Panel from rich.table import Table from rich.text import Text @@ -102,15 +101,8 @@ def _print_agent_response(response: str, render_markdown: bool) -> None: content = response or "" body = Markdown(content) if render_markdown else Text(content) console.print() - console.print( - Panel( - body, - title=f"{__logo__} nanobot", - title_align="left", - border_style="cyan", - padding=(0, 1), - ) - ) + console.print(f"[cyan]{__logo__} nanobot[/cyan]") + console.print(body) console.print()