refactor(hermes_cli): pack re-export imports and closers in setup flows

This commit is contained in:
Teknium
2026-09-02 20:56:35 -07:00
parent 9f9401cf05
commit 2bdd7c6abb
4 changed files with 35 additions and 52 deletions
+1 -2
View File
@@ -46,8 +46,7 @@ def _azure_entra_preflight(current_entra: dict):
try:
from agent.azure_identity_adapter import (
EntraIdentityConfig, SCOPE_AI_AZURE_DEFAULT, build_token_provider, describe_active_credential,
has_azure_identity_installed,
)
has_azure_identity_installed)
except ImportError as exc:
_say("", f"⚠ Could not import azure-identity adapter: {exc}", " Falling back to API key auth.")
return False