fix(model_picker): detect mapped-provider auth-store credentials

This commit is contained in:
jakubkrcmar
2026-04-24 05:20:05 -07:00
committed by Teknium
parent fff7ee31ae
commit 1af44a13c0
2 changed files with 27 additions and 0 deletions
+8
View File
@@ -990,6 +990,14 @@ def list_authenticated_providers(
# Check if any env var is set
has_creds = any(os.environ.get(ev) for ev in env_vars)
if not has_creds:
try:
from hermes_cli.auth import _load_auth_store
store = _load_auth_store()
if store and hermes_id in store.get("credential_pool", {}):
has_creds = True
except Exception:
pass
if not has_creds:
continue