[PR #3680] [CLOSED] Add Kluster as a Supported Provider #4357

Closed
opened 2026-02-22 18:35:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3680
Author: @themacexpert
Created: 4/18/2025
Status: Closed

Base: masterHead: master


📝 Commits (3)

📊 Changes

11 files changed (+347 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)
frontend/src/components/LLMSelection/KlusterLLMOptions/index.jsx (+56 -0)
frontend/src/media/llmprovider/kluster.png (+0 -0)
📝 frontend/src/pages/GeneralSettings/LLMPreference/index.jsx (+10 -0)
📝 frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx (+1 -0)
server/utils/AiProviders/base.js (+27 -0)
server/utils/AiProviders/kluster.js (+137 -0)
📝 server/utils/AiProviders/modelMap.js (+10 -0)
server/utils/agents/aibitat/providers/kluster.js (+86 -0)
📝 server/utils/helpers/index.js (+6 -0)
📝 server/utils/helpers/updateENV.js (+13 -0)

📄 Description

Pull Request Type

  • feat

Relevant Issues

What is in this change?

This PR adds support for Kluster as a new LLM provider in AnythingLLM. The changes include:

  1. Added Kluster configuration settings to updateENV.js:

    • KlusterApiKey with environment variable KLUSTER_API_KEY
    • KlusterMaxTokens with environment variable KLUSTER_MAX_TOKENS
    • Added validation checks for both settings
  2. Added "kluster" to the list of supported LLM providers in the supportedLLM function

  3. Updated the README.md to include Kluster in the list of supported LLM providers

For more information about Kluster, see https://www.kluster.ai/

Additional Information

  • The implementation follows the same pattern as other LLM providers in the codebase
  • The changes are minimal and focused, only adding the necessary configuration without modifying existing functionality
  • Documentation has been updated to reflect the new provider support
  • No breaking changes were introduced

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/3680 **Author:** [@themacexpert](https://github.com/themacexpert) **Created:** 4/18/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`a497356`](https://github.com/Mintplex-Labs/anything-llm/commit/a497356f29accaede55d9a50b7ae533735f570f7) add kluster as supported LLM provider - [`7371cc9`](https://github.com/Mintplex-Labs/anything-llm/commit/7371cc9a3d16857cbadea6b6b345a9141b0df660) add kluster to Readme - [`00b2c1f`](https://github.com/Mintplex-Labs/anything-llm/commit/00b2c1f3dac85eb1c095535730a20b114a619802) run yarn lint ### 📊 Changes **11 files changed** (+347 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) ➕ `frontend/src/components/LLMSelection/KlusterLLMOptions/index.jsx` (+56 -0) ➕ `frontend/src/media/llmprovider/kluster.png` (+0 -0) 📝 `frontend/src/pages/GeneralSettings/LLMPreference/index.jsx` (+10 -0) 📝 `frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx` (+1 -0) ➕ `server/utils/AiProviders/base.js` (+27 -0) ➕ `server/utils/AiProviders/kluster.js` (+137 -0) 📝 `server/utils/AiProviders/modelMap.js` (+10 -0) ➕ `server/utils/agents/aibitat/providers/kluster.js` (+86 -0) 📝 `server/utils/helpers/index.js` (+6 -0) 📝 `server/utils/helpers/updateENV.js` (+13 -0) </details> ### 📄 Description ### Pull Request Type - [x] ✨ feat ### Relevant Issues ### What is in this change? This PR adds support for Kluster as a new LLM provider in AnythingLLM. The changes include: 1. Added Kluster configuration settings to `updateENV.js`: - `KlusterApiKey` with environment variable `KLUSTER_API_KEY` - `KlusterMaxTokens` with environment variable `KLUSTER_MAX_TOKENS` - Added validation checks for both settings 2. Added "kluster" to the list of supported LLM providers in the `supportedLLM` function 3. Updated the README.md to include Kluster in the list of supported LLM providers For more information about Kluster, see https://www.kluster.ai/ ### Additional Information - The implementation follows the same pattern as other LLM providers in the codebase - The changes are minimal and focused, only adding the necessary configuration without modifying existing functionality - Documentation has been updated to reflect the new provider support - No breaking changes were introduced ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <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-02-22 18:35:40 -05:00
yindo closed this issue 2026-02-22 18:35:40 -05:00
yindo changed title from [PR #3680] Add Kluster as a Supported Provider to [PR #3680] [CLOSED] Add Kluster as a Supported Provider 2026-06-05 15:18:10 -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#4357