From 62474048bb41d292b9d652a043d588656fe6976e Mon Sep 17 00:00:00 2001 From: Fan Huang <117979149+1793649019@users.noreply.github.com> Date: Mon, 14 Jul 2025 18:17:42 +0000 Subject: [PATCH] fix(cli): improve fallback message for failed or unknown commands - Replaced misleading "Unknown command" message with "Command failed or unknown" --- src/cai/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cai/cli.py b/src/cai/cli.py index e1733af4..3c061601 100644 --- a/src/cai/cli.py +++ b/src/cai/cli.py @@ -1290,7 +1290,7 @@ def run_cai_cli( # If command wasn't recognized, show error (skip for /shell or /s) if command not in ("/shell", "/s"): - console.print(f"[red]Unknown command: {command}[/red]") + console.print(f"[red]Command failed or unknown: {command}[/red]") continue from rich.text import Text