fix(doctor): update config validation for current auth.py API

Follow-up for #3171 cherry-pick — the contributor's validation block
called get_provider_credentials() which doesn't exist on current main.
Replaces it with get_auth_status() limited to API-key providers in
PROVIDER_REGISTRY so providers without a registry entry (openrouter,
anthropic, custom) don't trigger false 'not authenticated' failures.
Also runs the provider name through resolve_provider() so aliases like
'glm'/'moonshot' validate correctly.

Adds StefanIsMe to AUTHOR_MAP.
This commit is contained in:
Teknium 2026-04-20 02:33:28 -07:00
parent 954dd8a4e0
commit 93f9db59b2
2 changed files with 23 additions and 15 deletions

View file

@ -296,6 +296,7 @@ AUTHOR_MAP = {
"jarvischer@gmail.com": "maxchernin",
"levantam.98.2324@gmail.com": "LVT382009",
"zhurongcheng@rcrai.com": "heykb",
"withapurpose37@gmail.com": "StefanIsMe",
}