feat: add Chutes AI provider integration

- Add OAuth + API key authentication flows
- Dynamic model discovery with TEE filtering and fallback catalog
- CLI onboarding: --auth-choice chutes/chutes-api-key, --chutes-api-key flag
- Provider config with teeOnly and confidentialCompute support
- Comprehensive docs at docs/providers/chutes.md
- Tests for auth-choice options and onboarding flows

Models include GLM 4.7 Flash, Kimi K2.5-TEE, DeepSeek V3.2-TEE,
Qwen 3 235B-TEE, and more via OpenAI-compatible endpoints.
This commit is contained in:
sirouk committed 2026-01-30 03:09:04 -05:00
1 parent 9025da2296
commit 8cfe61dda2
22 files changed
+754 -11

No files matched your search

+2 -1
View File
@@ -297,7 +297,7 @@ Options:
- `--non-interactive`
- `--mode <local|remote>`
- `--flow <quickstart|advanced|manual>` (manual is an alias for advanced)
- `--auth-choice <setup-token|token|chutes|openai-codex|openai-api-key|openrouter-api-key|ai-gateway-api-key|moonshot-api-key|kimi-code-api-key|synthetic-api-key|venice-api-key|gemini-api-key|zai-api-key|apiKey|minimax-api|minimax-api-lightning|opencode-zen|skip>`
- `--auth-choice <setup-token|token|chutes|chutes-api-key|openai-codex|openai-api-key|openrouter-api-key|ai-gateway-api-key|moonshot-api-key|kimi-code-api-key|synthetic-api-key|venice-api-key|gemini-api-key|zai-api-key|apiKey|minimax-api|minimax-api-lightning|opencode-zen|skip>`
- `--token-provider <id>` (non-interactive; used with `--auth-choice token`)
- `--token <token>` (non-interactive; used with `--auth-choice token`)
- `--token-profile-id <id>` (non-interactive; default: `<provider>:manual`)
@@ -307,6 +307,7 @@ Options:
- `--openrouter-api-key <key>`
- `--ai-gateway-api-key <key>`
- `--moonshot-api-key <key>`
- `--chutes-api-key <key>`
- `--kimi-code-api-key <key>`
- `--gemini-api-key <key>`
- `--zai-api-key <key>`