[PR #5006] [CLOSED] Implement Local Inference Service (LIS) support across the application #4855

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5006
Author: @heavymidget
Created: 2/16/2026
Status: Closed

Base: masterHead: sync_with_lis


📝 Commits (1)

  • b5d42b6 Implement Local Inference Service (LIS) support across the application

📊 Changes

19 files changed (+857 additions, -954 deletions)

View changed files

📝 frontend/src/hooks/useGetProvidersModels.js (+1 -0)
📝 frontend/src/locales/en/common.js (+20 -0)
📝 frontend/src/models/system.js (+13 -0)
📝 frontend/src/pages/GeneralSettings/LLMPreference/index.jsx (+187 -545)
📝 frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx (+157 -392)
📝 frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx (+1 -2)
📝 server/endpoints/api/openai/index.js (+2 -2)
📝 server/endpoints/api/workspace/index.js (+3 -3)
📝 server/endpoints/api/workspaceThread/index.js (+3 -3)
📝 server/endpoints/chat.js (+2 -2)
📝 server/endpoints/embed/index.js (+1 -1)
📝 server/endpoints/system.js (+41 -0)
📝 server/endpoints/workspaceThreads.js (+1 -1)
📝 server/endpoints/workspaces.js (+1 -1)
📝 server/models/documents.js (+1 -1)
server/utils/AiProviders/lis/index.js (+344 -0)
📝 server/utils/helpers/customModels.js (+47 -0)
📝 server/utils/helpers/index.js (+9 -1)
📝 server/utils/helpers/updateENV.js (+23 -0)

📄 Description

  • Added LIS as a new LLM provider in various components, including hooks, settings, and API endpoints.
  • Introduced connection checking for LIS in the system endpoints.
  • Updated translations to include LIS-specific messages.
  • Refactored model fetching to support LIS models.
  • Adjusted telemetry to default to LIS for LLM selection.
  • Cleaned up unused imports and components related to other LLM providers.

This update enhances the application's capability to connect and utilize models from the Local Inference Service, improving flexibility for users.

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #xxx

What is in this change?

Additional Information

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/5006 **Author:** [@heavymidget](https://github.com/heavymidget) **Created:** 2/16/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `sync_with_lis` --- ### 📝 Commits (1) - [`b5d42b6`](https://github.com/Mintplex-Labs/anything-llm/commit/b5d42b6e0fe8648f29607d46e8204cb9002229fa) Implement Local Inference Service (LIS) support across the application ### 📊 Changes **19 files changed** (+857 additions, -954 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/hooks/useGetProvidersModels.js` (+1 -0) 📝 `frontend/src/locales/en/common.js` (+20 -0) 📝 `frontend/src/models/system.js` (+13 -0) 📝 `frontend/src/pages/GeneralSettings/LLMPreference/index.jsx` (+187 -545) 📝 `frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx` (+157 -392) 📝 `frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx` (+1 -2) 📝 `server/endpoints/api/openai/index.js` (+2 -2) 📝 `server/endpoints/api/workspace/index.js` (+3 -3) 📝 `server/endpoints/api/workspaceThread/index.js` (+3 -3) 📝 `server/endpoints/chat.js` (+2 -2) 📝 `server/endpoints/embed/index.js` (+1 -1) 📝 `server/endpoints/system.js` (+41 -0) 📝 `server/endpoints/workspaceThreads.js` (+1 -1) 📝 `server/endpoints/workspaces.js` (+1 -1) 📝 `server/models/documents.js` (+1 -1) ➕ `server/utils/AiProviders/lis/index.js` (+344 -0) 📝 `server/utils/helpers/customModels.js` (+47 -0) 📝 `server/utils/helpers/index.js` (+9 -1) 📝 `server/utils/helpers/updateENV.js` (+23 -0) </details> ### 📄 Description - Added LIS as a new LLM provider in various components, including hooks, settings, and API endpoints. - Introduced connection checking for LIS in the system endpoints. - Updated translations to include LIS-specific messages. - Refactored model fetching to support LIS models. - Adjusted telemetry to default to LIS for LLM selection. - Cleaned up unused imports and components related to other LLM providers. This update enhances the application's capability to connect and utilize models from the Local Inference Service, improving flexibility for users. ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #xxx ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] 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 --- <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:36:40 -05:00
yindo closed this issue 2026-02-22 18:36:40 -05:00
yindo changed title from [PR #5006] Implement Local Inference Service (LIS) support across the application to [PR #5006] [CLOSED] Implement Local Inference Service (LIS) support across the application 2026-06-05 15:20:43 -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#4855