refactor(hermes_cli): AST-neutral layout compaction of provider/platform setup flows

This commit is contained in:
Teknium
2026-09-02 20:03:18 -07:00
parent 113f04616b
commit b5f96ab3e5
7 changed files with 110 additions and 276 deletions
+1 -2
View File
@@ -21,8 +21,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