mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-29 06:31:32 +00:00
fix(auth): treat empty credential pool entries as unauthenticated
Fixes #28140 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
8dca28775e
commit
95846eddd2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue