Repository navigation
[codex] Add provider catalog - #19
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR introduces a provider catalog as the single source of truth for provider identity, CLI tokens, display names, environment variables, and production construction. The new ChangesProvider Catalog Refactoring
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
[codex] Add provider catalog
Summary
Adds a bootstrap-owned provider catalog as the source of truth for real provider identity, CLI tokens, display names, environment variable names, stable ordering, and production construction.
What changed
src/bootstrap/provider_catalog.rswith ordered Brave and Exa catalog entries and production builders.ProviderRegistryto build configured providers and stable order from the catalog.ProviderIdvalues while keepingallas a CLI-only aggregate mode.Validation
cargo test --test architecture_testcargo test --test provider_registry_integrationcargo test --test cli_integrationcargo test cli::argspython3 scripts/check_markdown_frontmatter.pymdbook buildcargo run -- --helpjust checkpassed locally and in the pre-push hook.Notes
No live Brave or Exa API calls were run; live provider calls remain outside automated evidence. The existing generated
scripts/__pycache__/and the pre-existing staged architecture-exploration artifacts were left out of this PR.Summary by CodeRabbit
Refactor
Documentation
--provider allmode.