[PR #271] [CLOSED] General logistic improvements #7031

Closed
opened 2025-11-11 17:14:59 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/271
Author: @dnviti
Created: 12/23/2023
Status: Closed

Base: devHead: general-logistic-improvements


📝 Commits (10+)

  • f622281 feat: custom openai api endpoint support
  • 0fcdee6 chore: version update
  • ecc2466 feat: alternative models response support
  • b79c060 fix: custom suggestion prompts styling
  • f63178b fix: header fields removed
  • 6d2d2d5 fix: trailing "assistant" message issue
  • 6ea9f6e Merge pull request #265 from ollama-webui/custom-openai-endpoint
  • bbfe2fb Added a better more generic gitignore which covers both python and nodejs
  • a580aa8 general-compose-improvements
  • 2994e1a fixed gpu count env

📊 Changes

19 files changed (+1582 additions, -355 deletions)

View changed files

📝 .gitignore (+291 -0)
📝 README.md (+4 -2)
📝 backend/.gitignore (+3 -1)
📝 backend/apps/web/main.py (+2 -1)
backend/apps/web/routers/utils.py (+164 -0)
📝 backend/config.py (+1 -1)
📝 backend/requirements.txt (+1 -0)
📝 backend/utils/misc.py (+8 -0)
docker-compose.api.yaml (+6 -0)
docker-compose.gpu.yaml (+12 -0)
📝 docker-compose.yaml (+2 -14)
run-compose.sh (+190 -0)
📝 src/lib/components/chat/MessageInput.svelte (+1 -1)
📝 src/lib/components/chat/MessageInput/Suggestions.svelte (+1 -1)
📝 src/lib/components/chat/SettingsModal.svelte (+592 -113)
📝 src/lib/constants.ts (+2 -1)
📝 src/routes/(app)/+layout.svelte (+10 -4)
📝 src/routes/(app)/+page.svelte (+146 -108)
📝 src/routes/(app)/c/[id]/+page.svelte (+146 -108)

📄 Description

  • Fixed .gitignore which was too generic.
  • Separated docker-compose-yaml in 3 parts, main is docker-compose.yaml, added 2 more: docker-compose.gpu.yaml and docker-compose.api.yaml to be able to override and better configure the compose.
  • Added a complete script to allow user to control composes configuration "run-compose.sh"

Note: the script "run-compose.sh" contains a function (for linux) to automatically detect the GPU installed on the host system, i'm not be able to test it on AMD and Intel GPUs cause i do not have any. On Nvidia works flawlessly.

Defaulted api port to 11435 because port 11434 is already used in Ubuntu for some reason.

Reposted due to a little mistake


🔄 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/271 **Author:** [@dnviti](https://github.com/dnviti) **Created:** 12/23/2023 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `general-logistic-improvements` --- ### 📝 Commits (10+) - [`f622281`](https://github.com/open-webui/open-webui/commit/f62228165c986f3b650690cdfdde1907045aa5e3) feat: custom openai api endpoint support - [`0fcdee6`](https://github.com/open-webui/open-webui/commit/0fcdee60cd2d121b45c59e2dfdad33ea0b903f5c) chore: version update - [`ecc2466`](https://github.com/open-webui/open-webui/commit/ecc2466f1ed21b45147e967ebe7b44ff531904e8) feat: alternative models response support - [`b79c060`](https://github.com/open-webui/open-webui/commit/b79c06023b2cc2a8c8b0797893c75f361ad2ff59) fix: custom suggestion prompts styling - [`f63178b`](https://github.com/open-webui/open-webui/commit/f63178b592924439c7afa037daf2c6dc975c01f3) fix: header fields removed - [`6d2d2d5`](https://github.com/open-webui/open-webui/commit/6d2d2d5519c10d65c1f1b3ef5c05d60cd12251d5) fix: trailing "assistant" message issue - [`6ea9f6e`](https://github.com/open-webui/open-webui/commit/6ea9f6e198daf60964f8f5a19199ac56441d91dd) Merge pull request #265 from ollama-webui/custom-openai-endpoint - [`bbfe2fb`](https://github.com/open-webui/open-webui/commit/bbfe2fb1224350be7b9fba1527675c331e75926f) Added a better more generic gitignore which covers both python and nodejs - [`a580aa8`](https://github.com/open-webui/open-webui/commit/a580aa898466b83ae07975a04c331f8ea4de71b4) general-compose-improvements - [`2994e1a`](https://github.com/open-webui/open-webui/commit/2994e1abcd30d307fa03246ee14a35802d00003c) fixed gpu count env ### 📊 Changes **19 files changed** (+1582 additions, -355 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+291 -0) 📝 `README.md` (+4 -2) 📝 `backend/.gitignore` (+3 -1) 📝 `backend/apps/web/main.py` (+2 -1) ➕ `backend/apps/web/routers/utils.py` (+164 -0) 📝 `backend/config.py` (+1 -1) 📝 `backend/requirements.txt` (+1 -0) 📝 `backend/utils/misc.py` (+8 -0) ➕ `docker-compose.api.yaml` (+6 -0) ➕ `docker-compose.gpu.yaml` (+12 -0) 📝 `docker-compose.yaml` (+2 -14) ➕ `run-compose.sh` (+190 -0) 📝 `src/lib/components/chat/MessageInput.svelte` (+1 -1) 📝 `src/lib/components/chat/MessageInput/Suggestions.svelte` (+1 -1) 📝 `src/lib/components/chat/SettingsModal.svelte` (+592 -113) 📝 `src/lib/constants.ts` (+2 -1) 📝 `src/routes/(app)/+layout.svelte` (+10 -4) 📝 `src/routes/(app)/+page.svelte` (+146 -108) 📝 `src/routes/(app)/c/[id]/+page.svelte` (+146 -108) </details> ### 📄 Description - Fixed .gitignore which was too generic. - Separated docker-compose-yaml in 3 parts, main is docker-compose.yaml, added 2 more: docker-compose.gpu.yaml and docker-compose.api.yaml to be able to override and better configure the compose. - Added a complete script to allow user to control composes configuration "run-compose.sh" Note: the script "run-compose.sh" contains a function (for linux) to automatically detect the GPU installed on the host system, i'm not be able to test it on AMD and Intel GPUs cause i do not have any. On Nvidia works flawlessly. Defaulted api port to 11435 because port 11434 is already used in Ubuntu for some reason. **Reposted due to a little mistake** --- <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:14:59 -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#7031