[PR #5058] [CLOSED] feat: LLM API (llmapi.ai) integration #5282

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5058
Author: @MarkosBK
Created: 2/24/2026
Status: Closed

Base: masterHead: feat/llmapi-integration


📝 Commits (1)

  • e7e1179 feat: LLM API (llmapi.ai) integration

📊 Changes

20 files changed (+596 additions, -0 deletions)

View changed files

📝 docker/.env.example (+4 -0)
frontend/src/components/LLMSelection/LLMApiOptions/index.jsx (+102 -0)
📝 frontend/src/components/ProviderPrivacy/constants.js (+6 -0)
📝 frontend/src/hooks/useGetProvidersModels.js (+1 -0)
frontend/src/media/llmprovider/llmapi.png (+0 -0)
📝 frontend/src/pages/GeneralSettings/LLMPreference/index.jsx (+11 -0)
📝 frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx (+10 -0)
📝 frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx (+1 -0)
📝 server/.env.example (+4 -0)
📝 server/endpoints/utils.js (+3 -0)
📝 server/models/systemSettings.js (+4 -0)
server/utils/AiProviders/llmapi/index.js (+287 -0)
📝 server/utils/agents/aibitat/index.js (+2 -0)
📝 server/utils/agents/aibitat/providers/ai-provider.js (+8 -0)
📝 server/utils/agents/aibitat/providers/index.js (+2 -0)
server/utils/agents/aibitat/providers/llmapi.js (+85 -0)
📝 server/utils/agents/index.js (+6 -0)
📝 server/utils/helpers/customModels.js (+41 -0)
📝 server/utils/helpers/index.js (+8 -0)
📝 server/utils/helpers/updateENV.js (+11 -0)

📄 Description

Pull Request Type

  • feat (New feature)
  • 🐛 fix (Bug fix)
  • ♻️ refactor (Code refactoring without changing behavior)
  • 💄 style (UI style changes)
  • 🔨 chore (Build, CI, maintenance)
  • 📝 docs (Documentation updates)

Relevant Issues

resolves #5057

Description

Support code for new LLM provider - LLM API (https://llmapi.ai)

Visuals (if applicable)

image

Additional Information

The /v1/models endpoint does not require authentication, so the model
list is available before the user enters their API key.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated (if applicable)
  • 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/5058 **Author:** [@MarkosBK](https://github.com/MarkosBK) **Created:** 2/24/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/llmapi-integration` --- ### 📝 Commits (1) - [`e7e1179`](https://github.com/Mintplex-Labs/anything-llm/commit/e7e1179a650e7ab47d0095da24473fc765ccebc3) feat: LLM API (llmapi.ai) integration ### 📊 Changes **20 files changed** (+596 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docker/.env.example` (+4 -0) ➕ `frontend/src/components/LLMSelection/LLMApiOptions/index.jsx` (+102 -0) 📝 `frontend/src/components/ProviderPrivacy/constants.js` (+6 -0) 📝 `frontend/src/hooks/useGetProvidersModels.js` (+1 -0) ➕ `frontend/src/media/llmprovider/llmapi.png` (+0 -0) 📝 `frontend/src/pages/GeneralSettings/LLMPreference/index.jsx` (+11 -0) 📝 `frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx` (+10 -0) 📝 `frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx` (+1 -0) 📝 `server/.env.example` (+4 -0) 📝 `server/endpoints/utils.js` (+3 -0) 📝 `server/models/systemSettings.js` (+4 -0) ➕ `server/utils/AiProviders/llmapi/index.js` (+287 -0) 📝 `server/utils/agents/aibitat/index.js` (+2 -0) 📝 `server/utils/agents/aibitat/providers/ai-provider.js` (+8 -0) 📝 `server/utils/agents/aibitat/providers/index.js` (+2 -0) ➕ `server/utils/agents/aibitat/providers/llmapi.js` (+85 -0) 📝 `server/utils/agents/index.js` (+6 -0) 📝 `server/utils/helpers/customModels.js` (+41 -0) 📝 `server/utils/helpers/index.js` (+8 -0) 📝 `server/utils/helpers/updateENV.js` (+11 -0) </details> ### 📄 Description ### Pull Request Type - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues resolves #5057 ### Description Support code for new LLM provider - LLM API (https://llmapi.ai) ### Visuals (if applicable) <img width="757" height="486" alt="image" src="https://github.com/user-attachments/assets/3dcef49f-0ed8-4f41-ba7d-e39da3e63fa4" /> ### Additional Information The `/v1/models` endpoint does not require authentication, so the model list is available before the user enters their API key. ### Developer Validations - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated (if applicable) - [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-06-05 15:20:50 -04:00
yindo closed this issue 2026-06-05 15:20:50 -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#5282