[PR #373] [MERGED] Support LocalAi as LLM provider by @tlandenberger #3322

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/373
Author: @timothycarambat
Created: 11/13/2023
Status: Merged
Merged: 11/14/2023
Merged by: @timothycarambat

Base: masterHead: feature/localai-llm-provider


📝 Commits (5)

  • dea869c feature: add LocalAI as llm provider
  • 522a4ca Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into feature/localai-llm-provider
  • f61f30c update Onboarding/mgmt settings
  • ce7d18d update streaming for complete chunk streaming
  • 3381207 force schema on URL

📊 Changes

15 files changed (+442 additions, -12 deletions)

View changed files

📝 docker/.env.example (+5 -0)
frontend/src/components/LLMSelection/LocalAiOptions/index.jsx (+140 -0)
frontend/src/media/llmprovider/localai.png (+0 -0)
📝 frontend/src/models/system.js (+2 -1)
📝 frontend/src/pages/GeneralSettings/LLMPreference/index.jsx (+14 -0)
📝 frontend/src/pages/OnboardingFlow/OnboardingModal/Steps/DataHandling/index.jsx (+8 -0)
📝 frontend/src/pages/OnboardingFlow/OnboardingModal/Steps/LLMSelection/index.jsx (+13 -1)
📝 server/.env.example (+5 -0)
📝 server/endpoints/system.js (+6 -2)
📝 server/models/systemSettings.js (+14 -0)
server/utils/AiProviders/localAi/index.js (+182 -0)
📝 server/utils/chats/stream.js (+9 -3)
📝 server/utils/helpers/customModels.js (+21 -2)
📝 server/utils/helpers/index.js (+4 -0)
📝 server/utils/helpers/updateENV.js (+19 -3)

📄 Description

Credit to @tlandenberger for kicking this off and doing all the hard work to ensure this integration works.


🔄 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/373 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 11/13/2023 **Status:** ✅ Merged **Merged:** 11/14/2023 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `feature/localai-llm-provider` --- ### 📝 Commits (5) - [`dea869c`](https://github.com/Mintplex-Labs/anything-llm/commit/dea869c6c91bd6c4f583243c5fca21f40eff9526) feature: add LocalAI as llm provider - [`522a4ca`](https://github.com/Mintplex-Labs/anything-llm/commit/522a4ca97b321bbfe421a546750f687f6e55f8f2) Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into feature/localai-llm-provider - [`f61f30c`](https://github.com/Mintplex-Labs/anything-llm/commit/f61f30c80ec4af584e325f0b62602378f2bc38ce) update Onboarding/mgmt settings - [`ce7d18d`](https://github.com/Mintplex-Labs/anything-llm/commit/ce7d18dc2072a10d21838d9e62bff654ba53be1e) update streaming for complete chunk streaming - [`3381207`](https://github.com/Mintplex-Labs/anything-llm/commit/3381207c66d932adafef539f38a8010bc923fcbf) force schema on URL ### 📊 Changes **15 files changed** (+442 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `docker/.env.example` (+5 -0) ➕ `frontend/src/components/LLMSelection/LocalAiOptions/index.jsx` (+140 -0) ➕ `frontend/src/media/llmprovider/localai.png` (+0 -0) 📝 `frontend/src/models/system.js` (+2 -1) 📝 `frontend/src/pages/GeneralSettings/LLMPreference/index.jsx` (+14 -0) 📝 `frontend/src/pages/OnboardingFlow/OnboardingModal/Steps/DataHandling/index.jsx` (+8 -0) 📝 `frontend/src/pages/OnboardingFlow/OnboardingModal/Steps/LLMSelection/index.jsx` (+13 -1) 📝 `server/.env.example` (+5 -0) 📝 `server/endpoints/system.js` (+6 -2) 📝 `server/models/systemSettings.js` (+14 -0) ➕ `server/utils/AiProviders/localAi/index.js` (+182 -0) 📝 `server/utils/chats/stream.js` (+9 -3) 📝 `server/utils/helpers/customModels.js` (+21 -2) 📝 `server/utils/helpers/index.js` (+4 -0) 📝 `server/utils/helpers/updateENV.js` (+19 -3) </details> ### 📄 Description Credit to @tlandenberger for kicking this off and doing all the hard work to ensure this integration works. --- <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:33:33 -05:00
yindo closed this issue 2026-02-22 18:33:33 -05: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#3322