← Back to PRs

#11204: feat(providers): add Chutes (Bittensor) provider

by CodingAbdullah open 2026-02-07 14:53 View on GitHub →
docs cli commands stale
Adds Chutes as a provider for decentralized AI inference on Bittensor Subnet 64. - `chutes-api-key` auth choice for API key authentication - Preserves existing `chutes` OAuth option for wallet-based auth - Interactive onboarding prompts for API key + model ID - Non-interactive support via `--chutes-api-key` and `--chutes-model-id` - Full provider documentation with model examples and fallback configuration <!-- greptile_comment --> <h2>Greptile Overview</h2> <h3>Greptile Summary</h3> This PR adds a new Chutes provider/auth option (API key + model id) alongside the existing Chutes OAuth flow, wiring it into onboarding (interactive + non-interactive) and adding documentation. Key integration points are the auth-choice option lists, onboarding credential storage (`chutes:default` api_key), and provider config helpers for adding a Chutes OpenAI-compatible provider entry. Two issues need fixing before merge: - The new CLI flags for non-interactive Chutes onboarding are registered but not forwarded into `onboardCommand`, so non-interactive usage via `--chutes-api-key/--chutes-model-id` won’t work. - The Chutes provider config helper that applies a user-specified model can leave the provider with `models: []`, which breaks downstream model listing/selection assumptions. <h3>Confidence Score: 2/5</h3> - This PR should not be merged until onboarding CLI wiring and Chutes provider model list handling are fixed. - The change introduces a new auth path intended to be usable non-interactively, but the CLI flags are currently not propagated into onboarding options, making the advertised workflow fail. Additionally, provider config can be written with an empty models list, which is likely to break model selection/listing behavior. - src/cli/program/register.onboard.ts, src/commands/onboard-auth.config-core.ts <!-- greptile_other_comments_section --> <sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub> <details><summary><h4>Context used (3)</h4></summary> - Context from `dashboard` - docs/cli/agents.md ([source](https://app.greptile.com/review/custom-context?memory=057a11aa-5c5f-48bb-8d53-91b27b0fe3a2)) - Context from `dashboard` - CLAUDE.md ([source](https://app.greptile.com/review/custom-context?memory=fd949e91-5c3a-4ab5-90a1-cbe184fd6ce8)) - Context from `dashboard` - AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=0d0c8278-ef8e-4d6c-ab21-f5527e322f13)) </details> <!-- /greptile_comment -->

Most Similar PRs