From e36c43c9e5b90b614976479b8a0b650a2efc45fa Mon Sep 17 00:00:00 2001 From: 04cb <0x04cb@gmail.com> Date: Sat, 13 Jun 2026 22:39:41 +0800 Subject: [PATCH] fix(cli): use configured bot_icon for agent interactive banner (#4262) --- nanobot/cli/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nanobot/cli/commands.py b/nanobot/cli/commands.py index 0b7539fd..93f5dc30 100644 --- a/nanobot/cli/commands.py +++ b/nanobot/cli/commands.py @@ -1282,7 +1282,8 @@ def agent( from nanobot.bus.events import InboundMessage _init_prompt_session() _model, _preset_tag = _model_display(config) - console.print(f"{__logo__} Interactive mode [bold blue]({_model})[/bold blue]{_preset_tag} — type [bold]exit[/bold] or [bold]Ctrl+C[/bold] to quit\n") + _icon = config.agents.defaults.bot_icon or __logo__ + console.print(f"{_icon} Interactive mode [bold blue]({_model})[/bold blue]{_preset_tag} — type [bold]exit[/bold] or [bold]Ctrl+C[/bold] to quit\n") if ":" in session_id: cli_channel, cli_chat_id = session_id.split(":", 1)