Skip to content

fix: add Pi and Roo to doctor auth env var detection#285

Merged
mikeyobrien merged 1 commit intomikeyobrien:mainfrom
sanchesfree:fix/doctor-pi-roo-auth
Apr 9, 2026
Merged

fix: add Pi and Roo to doctor auth env var detection#285
mikeyobrien merged 1 commit intomikeyobrien:mainfrom
sanchesfree:fix/doctor-pi-roo-auth

Conversation

@sanchesfree
Copy link
Copy Markdown
Contributor

Pi and Roo are supported backends but were missing from auth_env_vars() and canonical_backend_name() in doctor.rs.

This caused ralph doctor to fall through to the generic "authenticate via the CLI" hint instead of checking for known provider API keys (ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY).

Changes:

  • Add "pi" and "roo" to auth_env_vars() with their supported provider keys
  • Add "pi" and "roo" to canonical_backend_name() for explicit mapping

Pi and Roo are supported backends but were missing from auth_env_vars()
and canonical_backend_name() in doctor.rs. This caused ralph doctor to
fall through to the generic "authenticate via the CLI" hint instead of
checking for known provider API keys (ANTHROPIC_API_KEY, OPENAI_API_KEY,
GEMINI_API_KEY).
@mikeyobrien
Copy link
Copy Markdown
Owner

Thanks!

@mikeyobrien mikeyobrien merged commit c77eae9 into mikeyobrien:main Apr 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants