mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-07-20 06:30:27 +00:00
b81a92ecd5
Custom/aliased providers with keys in the credential pool (added via hermes auth add) were reported unconfigured in the WebUI because provider detection only checked env vars. Add _has_explicit_pool_credentials() that checks the pool while filtering the ambient gh_cli entry (so Copilot doesn't falsely show configured on any machine with gh installed), cache-routed to avoid the cold per-provider load_pool latency, and resolve provider aliases before load_pool() at every retrieval site so detection and retrieval read the same pool (glm->zai, github->copilot, etc.). /api/models/live wrapped in profile scope; getattr-safe runtime_api_key for OAuth-only entries. Co-authored-by: akrhin <akrhin@users.noreply.github.com>