fix(model-picker): ignore empty credential-pool entries#28150
fix(model-picker): ignore empty credential-pool entries#28150outsourc-e wants to merge 1 commit into
Conversation
BoardJames-Bot
left a comment
There was a problem hiding this comment.
Reviewed by Hermes Agent. Empty credential_pool lists no longer make providers appear authenticated; non-empty pool behavior is preserved. Focused local test passed (tests/hermes_cli/test_model_switch_auth_store_credentials.py: 3 passed). No blockers found.
|
Closing as superseded by #28312. Triage notes (high confidence): Thanks for the contribution — the underlying problem this PR addresses has been resolved by the linked PR on current main. If you believe this was closed in error, please comment and we'll reopen. (Bulk-closed during a CLI PR triage sweep.) |
Summary
credential_poolplaceholder entries when deciding whether/modelshould show a provider as authenticatedWhy
Issue #28140 reports that deleting an env var can leave
auth.jsonwith"provider": [], which the picker was treating as authenticated just because the key existed.Test Plan
scripts/run_tests.sh tests/hermes_cli/test_model_switch_auth_store_credentials.py tests/hermes_cli/test_model_switch_custom_providers.py tests/hermes_cli/test_user_providers_model_switch.pyCloses #28140