[PR #5368] [CLOSED] feat: add Chutes AI as LLM provider #5423

Closed
opened 2026-06-05 15:21:18 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5368
Author: @het4rk
Created: 4/7/2026
Status: Closed

Base: masterHead: feat/add-chutes-provider


📝 Commits (1)

  • 886c0bd feat: add Chutes AI as LLM provider

📊 Changes

9 files changed (+357 additions, -0 deletions)

View changed files

frontend/src/components/LLMSelection/ChutesAiOptions/index.jsx (+114 -0)
📝 frontend/src/components/ProviderPrivacy/constants.js (+6 -0)
📝 frontend/src/hooks/useGetProvidersModels.js (+1 -0)
frontend/src/media/llmprovider/chutes.png (+0 -0)
📝 frontend/src/pages/GeneralSettings/LLMPreference/index.jsx (+11 -0)
📝 frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx (+10 -0)
server/utils/AiProviders/chutes/index.js (+186 -0)
📝 server/utils/helpers/customModels.js (+26 -0)
📝 server/utils/helpers/index.js (+3 -0)

📄 Description

Summary

  • Adds Chutes AI (https://chutes.ai) as an OpenAI-compatible LLM provider
  • Chutes runs decentralized AI inference on Bittensor SN64 with TEE-secured (Trusted Execution Environment) computation
  • Base URL: https://llm.chutes.ai/v1 — fully OpenAI-compatible

Changes

Backend

  • server/utils/AiProviders/chutes/index.jsChutesLLM class (streaming + non-streaming, chat completions, embeddings via native embedder)
  • server/utils/helpers/index.js — provider switch case
  • server/utils/helpers/customModels.js — adds "chutes" to SUPPORT_CUSTOM_MODELS, switch case, and getChutesModels() (fetches live model list from the API)

Frontend

  • frontend/src/components/LLMSelection/ChutesAiOptions/index.jsx — API key input + dynamic model selector
  • frontend/src/media/llmprovider/chutes.png — provider logo
  • Registered in GeneralSettings/LLMPreference and OnboardingFlow/Steps/LLMPreference
  • Added to useGetProvidersModels.js default models map
  • Added to ProviderPrivacy/constants.js

Provider details

  • Provider ID: chutes
  • Env vars: CHUTES_API_KEY, CHUTES_MODEL_PREF
  • Default model: chutes/DeepSeek-V3.2-TEE
  • Notable models: DeepSeek-V3.2-TEE, Qwen3-32B-TEE, Kimi-K2.5-TEE

Test plan

  • Set CHUTES_API_KEY and verify models load in the settings UI
  • Send a chat message and confirm streaming response works
  • Verify Chutes appears in the onboarding LLM selection step

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/5368 **Author:** [@het4rk](https://github.com/het4rk) **Created:** 4/7/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/add-chutes-provider` --- ### 📝 Commits (1) - [`886c0bd`](https://github.com/Mintplex-Labs/anything-llm/commit/886c0bdb5d70e78d9a7fcaa5fdeaad8cf8a3708b) feat: add Chutes AI as LLM provider ### 📊 Changes **9 files changed** (+357 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `frontend/src/components/LLMSelection/ChutesAiOptions/index.jsx` (+114 -0) 📝 `frontend/src/components/ProviderPrivacy/constants.js` (+6 -0) 📝 `frontend/src/hooks/useGetProvidersModels.js` (+1 -0) ➕ `frontend/src/media/llmprovider/chutes.png` (+0 -0) 📝 `frontend/src/pages/GeneralSettings/LLMPreference/index.jsx` (+11 -0) 📝 `frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx` (+10 -0) ➕ `server/utils/AiProviders/chutes/index.js` (+186 -0) 📝 `server/utils/helpers/customModels.js` (+26 -0) 📝 `server/utils/helpers/index.js` (+3 -0) </details> ### 📄 Description ## Summary - Adds **Chutes AI** (https://chutes.ai) as an OpenAI-compatible LLM provider - Chutes runs decentralized AI inference on **Bittensor SN64** with **TEE-secured** (Trusted Execution Environment) computation - Base URL: `https://llm.chutes.ai/v1` — fully OpenAI-compatible ### Changes **Backend** - `server/utils/AiProviders/chutes/index.js` — `ChutesLLM` class (streaming + non-streaming, chat completions, embeddings via native embedder) - `server/utils/helpers/index.js` — provider switch case - `server/utils/helpers/customModels.js` — adds `"chutes"` to `SUPPORT_CUSTOM_MODELS`, switch case, and `getChutesModels()` (fetches live model list from the API) **Frontend** - `frontend/src/components/LLMSelection/ChutesAiOptions/index.jsx` — API key input + dynamic model selector - `frontend/src/media/llmprovider/chutes.png` — provider logo - Registered in `GeneralSettings/LLMPreference` and `OnboardingFlow/Steps/LLMPreference` - Added to `useGetProvidersModels.js` default models map - Added to `ProviderPrivacy/constants.js` ### Provider details - **Provider ID:** `chutes` - **Env vars:** `CHUTES_API_KEY`, `CHUTES_MODEL_PREF` - **Default model:** `chutes/DeepSeek-V3.2-TEE` - **Notable models:** DeepSeek-V3.2-TEE, Qwen3-32B-TEE, Kimi-K2.5-TEE ## Test plan - [ ] Set `CHUTES_API_KEY` and verify models load in the settings UI - [ ] Send a chat message and confirm streaming response works - [ ] Verify Chutes appears in the onboarding LLM selection step 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 15:21:18 -04:00
yindo closed this issue 2026-06-05 15:21:19 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5423