fix(providers): standardize oauth_cli_kit error messages across CLI and WebUI

This commit is contained in:
axelray-dev
2026-07-06 12:11:03 +08:00
committed by Xubin Ren
parent 83e4bae7db
commit 6a95877196
2 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -2401,7 +2401,7 @@ def _logout_github_copilot() -> None:
try:
from nanobot.providers.github_copilot_provider import get_storage
except ImportError:
console.print("[red]GitHub Copilot provider unavailable. Ensure oauth-cli-kit is installed.[/red]")
console.print("[red]oauth_cli_kit not installed. Run: pip install oauth-cli-kit[/red]")
raise typer.Exit(1)
storage = get_storage()