refactor: remove Panel border from CLI output for cleaner copy-paste

This commit is contained in:
Re-bin 2026-02-11 09:37:49 +00:00
parent 33930d1265
commit 9d304d8a41

View File

@ -10,7 +10,6 @@ import sys
import typer import typer
from rich.console import Console from rich.console import Console
from rich.markdown import Markdown from rich.markdown import Markdown
from rich.panel import Panel
from rich.table import Table from rich.table import Table
from rich.text import Text from rich.text import Text
@ -102,15 +101,8 @@ def _print_agent_response(response: str, render_markdown: bool) -> None:
content = response or "" content = response or ""
body = Markdown(content) if render_markdown else Text(content) body = Markdown(content) if render_markdown else Text(content)
console.print() console.print()
console.print( console.print(f"[cyan]{__logo__} nanobot[/cyan]")
Panel( console.print(body)
body,
title=f"{__logo__} nanobot",
title_align="left",
border_style="cyan",
padding=(0, 1),
)
)
console.print() console.print()