diff --git a/hermes_cli/model_switch.py b/hermes_cli/model_switch.py index 727905270e1..d1691ab2858 100644 --- a/hermes_cli/model_switch.py +++ b/hermes_cli/model_switch.py @@ -1232,7 +1232,7 @@ def list_authenticated_providers( try: from hermes_cli.auth import _load_auth_store store = _load_auth_store() - if store and hermes_id in store.get("credential_pool", {}): + if store and store.get("credential_pool", {}).get(hermes_id): has_creds = True except Exception: pass