fix: modernize dependency recovery guidance (#5282)
This commit is contained in:
1 parent
02a002a0e6
commit
ff6deda178
15 files changed
+113
-29
No files matched your search
@@ -32,6 +32,7 @@ from nanobot.cli.models import (
|
||||
)
|
||||
from nanobot.config.loader import get_config_path, load_config, resolve_config_env_vars
|
||||
from nanobot.config.schema import Config, ModelPresetConfig
|
||||
from nanobot.providers.oauth_guidance import OAUTH_CLI_KIT_MISSING_MESSAGE
|
||||
|
||||
console = Console()
|
||||
|
||||
@@ -1674,7 +1675,7 @@ def _quick_start_oauth_login(config: Config, provider_name: str) -> bool:
|
||||
login_oauth_interactive,
|
||||
)
|
||||
except ImportError:
|
||||
console.print("[red]oauth_cli_kit not installed. Run: pip install oauth-cli-kit[/red]")
|
||||
console.print(f"[red]{OAUTH_CLI_KIT_MISSING_MESSAGE}[/red]")
|
||||
return False
|
||||
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user