[PR #844] [MERGED] feat: direct litellm integration #7280

Closed
opened 2025-11-11 17:22:15 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/844
Author: @tjbck
Created: 2/22/2024
Status: Merged
Merged: 2/25/2024
Merged by: @tjbck

Base: devHead: litellm


📝 Commits (10+)

📊 Changes

22 files changed (+1101 additions, -527 deletions)

View changed files

📝 CHANGELOG.md (+16 -0)
📝 backend/.gitignore (+6 -1)
📝 backend/apps/images/main.py (+6 -4)
📝 backend/config.py (+0 -2)
backend/data/litellm/config.yaml (+4 -0)
📝 backend/main.py (+45 -3)
📝 backend/requirements.txt (+3 -0)
📝 backend/utils/utils.py (+11 -0)
📝 package.json (+1 -1)
src/lib/apis/litellm/index.ts (+148 -0)
📝 src/lib/apis/ollama/index.ts (+5 -3)
📝 src/lib/apis/openai/index.ts (+8 -4)
📝 src/lib/components/chat/ModelSelector.svelte (+2 -2)
📝 src/lib/components/chat/Settings/About.svelte (+9 -7)
📝 src/lib/components/chat/Settings/Connections.svelte (+92 -67)
📝 src/lib/components/chat/Settings/Images.svelte (+4 -2)
📝 src/lib/components/chat/Settings/Models.svelte (+596 -265)
📝 src/lib/components/chat/SettingsModal.svelte (+21 -14)
📝 src/lib/constants.ts (+2 -0)
📝 src/routes/(app)/+layout.svelte (+23 -74)

...and 2 more files

📄 Description

Resolves #861

TODO:

  • Remove Ollama dependency
  • LiteLLM Config UI
  • Doc/Changelog

Changelog Entry

Added

  • Open WebUI now has LiteLLM built-in.

Fixed

N/A

Changed

  • Ollama is no longer required to run Open WebUI.

Removed

N/A


🔄 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/open-webui/open-webui/pull/844 **Author:** [@tjbck](https://github.com/tjbck) **Created:** 2/22/2024 **Status:** ✅ Merged **Merged:** 2/25/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `litellm` --- ### 📝 Commits (10+) - [`de0084c`](https://github.com/open-webui/open-webui/commit/de0084c8df777390704c21670dde216085ef7101) feat: litellm integration - [`9b6dca3`](https://github.com/open-webui/open-webui/commit/9b6dca3d7f59d853acbeb7a00f57c925ac111cc4) feat: litellm frontend integration - [`ee22e64`](https://github.com/open-webui/open-webui/commit/ee22e641ff97e2e1d131abb6bbb86151de23969b) Merge branch 'main' into litellm - [`af388df`](https://github.com/open-webui/open-webui/commit/af388dfe62ec2102e7c75afcf0878f93bdd2311b) fix - [`b5bd07a`](https://github.com/open-webui/open-webui/commit/b5bd07a06a7f62e548c5dd18d23ba3c3eb1f19c2) feat: secure litellm api - [`14dd0d1`](https://github.com/open-webui/open-webui/commit/14dd0d11fb6d670c0e6d3c430541810c484dcdb1) feat: litellm yaml - [`43f9a82`](https://github.com/open-webui/open-webui/commit/43f9a827d38b039b65163c8517fc59fb9b55e226) fix: gitignore - [`e8904ac`](https://github.com/open-webui/open-webui/commit/e8904ac3f7f63bbcdd7facd82f51338b26027fb8) feat: remove ollama dependency - [`bfba72d`](https://github.com/open-webui/open-webui/commit/bfba72d4868f72abe2efa569752b3c63a059e59d) fix: pip dependency - [`a74d47b`](https://github.com/open-webui/open-webui/commit/a74d47b6fc7a9b7fbd3641c08a516ed7c7d31cf5) Update requirements.txt ### 📊 Changes **22 files changed** (+1101 additions, -527 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+16 -0) 📝 `backend/.gitignore` (+6 -1) 📝 `backend/apps/images/main.py` (+6 -4) 📝 `backend/config.py` (+0 -2) ➕ `backend/data/litellm/config.yaml` (+4 -0) 📝 `backend/main.py` (+45 -3) 📝 `backend/requirements.txt` (+3 -0) 📝 `backend/utils/utils.py` (+11 -0) 📝 `package.json` (+1 -1) ➕ `src/lib/apis/litellm/index.ts` (+148 -0) 📝 `src/lib/apis/ollama/index.ts` (+5 -3) 📝 `src/lib/apis/openai/index.ts` (+8 -4) 📝 `src/lib/components/chat/ModelSelector.svelte` (+2 -2) 📝 `src/lib/components/chat/Settings/About.svelte` (+9 -7) 📝 `src/lib/components/chat/Settings/Connections.svelte` (+92 -67) 📝 `src/lib/components/chat/Settings/Images.svelte` (+4 -2) 📝 `src/lib/components/chat/Settings/Models.svelte` (+596 -265) 📝 `src/lib/components/chat/SettingsModal.svelte` (+21 -14) 📝 `src/lib/constants.ts` (+2 -0) 📝 `src/routes/(app)/+layout.svelte` (+23 -74) _...and 2 more files_ </details> ### 📄 Description Resolves #861 TODO: - [x] Remove Ollama dependency - [x] LiteLLM Config UI - [x] Doc/Changelog ### Changelog Entry ### Added - Open WebUI now has LiteLLM built-in. ### Fixed N/A ### Changed - Ollama is no longer required to run Open WebUI. ### Removed N/A --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 17:22:15 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#7280