[PR #1424] [MERGED] [FEAT] LiteLLM provider support #3674

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1424
Author: @shatfield4
Created: 5/16/2024
Status: Merged
Merged: 5/16/2024
Merged by: @timothycarambat

Base: masterHead: 1154-feat-integration-of-litellm-as-model-proxy-such-as-ollama


📝 Commits (5)

  • 95173c9 litellm LLM provider support
  • f065687 fix lint error
  • fc9e524 Merge branch 'master' into 1154-feat-integration-of-litellm-as-model-proxy-such-as-ollama
  • 3e97806 Merge branch 'master' into 1154-feat-integration-of-litellm-as-model-proxy-such-as-ollama
  • 7775ce9 change import orders

📊 Changes

13 files changed (+422 additions, -4 deletions)

View changed files

📝 README.md (+1 -0)
📝 docker/.env.example (+6 -0)
frontend/src/components/LLMSelection/LiteLLMOptions/index.jsx (+148 -0)
frontend/src/media/llmprovider/litellm.png (+0 -0)
📝 frontend/src/pages/GeneralSettings/LLMPreference/index.jsx (+12 -2)
📝 frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx (+9 -0)
📝 frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx (+12 -2)
📝 server/.env.example (+6 -0)
📝 server/models/systemSettings.js (+6 -0)
server/utils/AiProviders/liteLLM/index.js (+178 -0)
📝 server/utils/helpers/customModels.js (+22 -0)
📝 server/utils/helpers/index.js (+3 -0)
📝 server/utils/helpers/updateENV.js (+19 -0)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #1154

What is in this change?

  • Add support for LiteLLM OpenAI proxy server LLM provider

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/1424 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 5/16/2024 **Status:** ✅ Merged **Merged:** 5/16/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `1154-feat-integration-of-litellm-as-model-proxy-such-as-ollama` --- ### 📝 Commits (5) - [`95173c9`](https://github.com/Mintplex-Labs/anything-llm/commit/95173c9f3153efea0b78cee41f269ddda7452c5f) litellm LLM provider support - [`f065687`](https://github.com/Mintplex-Labs/anything-llm/commit/f06568729c4da15fb56e74b29f42b49ddfcd27df) fix lint error - [`fc9e524`](https://github.com/Mintplex-Labs/anything-llm/commit/fc9e52499bbd2ae7ddc4681169bfe3a0f4c64a70) Merge branch 'master' into 1154-feat-integration-of-litellm-as-model-proxy-such-as-ollama - [`3e97806`](https://github.com/Mintplex-Labs/anything-llm/commit/3e9780652f47eba01a42ae5828cfc2dcf53032ad) Merge branch 'master' into 1154-feat-integration-of-litellm-as-model-proxy-such-as-ollama - [`7775ce9`](https://github.com/Mintplex-Labs/anything-llm/commit/7775ce992e1ea316aac3c74c08980c0a4dee81ca) change import orders ### 📊 Changes **13 files changed** (+422 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) 📝 `docker/.env.example` (+6 -0) ➕ `frontend/src/components/LLMSelection/LiteLLMOptions/index.jsx` (+148 -0) ➕ `frontend/src/media/llmprovider/litellm.png` (+0 -0) 📝 `frontend/src/pages/GeneralSettings/LLMPreference/index.jsx` (+12 -2) 📝 `frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx` (+9 -0) 📝 `frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx` (+12 -2) 📝 `server/.env.example` (+6 -0) 📝 `server/models/systemSettings.js` (+6 -0) ➕ `server/utils/AiProviders/liteLLM/index.js` (+178 -0) 📝 `server/utils/helpers/customModels.js` (+22 -0) 📝 `server/utils/helpers/index.js` (+3 -0) 📝 `server/utils/helpers/updateENV.js` (+19 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #1154 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Add support for LiteLLM OpenAI proxy server LLM provider ### 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. --> - [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:34:16 -05:00
yindo closed this issue 2026-02-22 18:34:16 -05:00
yindo changed title from [PR #1424] [FEAT] LiteLLM provider support to [PR #1424] [MERGED] [FEAT] LiteLLM provider support 2026-06-05 15:14:38 -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#3674