[PR #380] [MERGED] feat: enable backend ollama url update #7092

Closed
opened 2025-11-11 17:16:27 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/380
Author: @tjbck
Created: 1/4/2024
Status: Merged
Merged: 1/4/2024
Merged by: @tjbck

Base: mainHead: connection-url


📝 Commits (3)

  • 30aff2d feat: enable backend ollama url update
  • 754ea16 fix: delete model issue
  • ebc0b64 doc: troubleshooting

📊 Changes

14 files changed (+530 additions, -420 deletions)

View changed files

📝 Dockerfile (+0 -6)
📝 TROUBLESHOOTING.md (+2 -2)
📝 backend/apps/ollama/main.py (+66 -86)
backend/apps/ollama/old_main.py (+176 -0)
📝 backend/main.py (+3 -1)
📝 src/lib/apis/ollama/index.ts (+103 -36)
📝 src/lib/components/chat/SettingsModal.svelte (+119 -183)
📝 src/lib/constants.ts (+2 -7)
📝 src/routes/(app)/+layout.svelte (+3 -9)
📝 src/routes/(app)/+page.svelte (+26 -32)
📝 src/routes/(app)/c/[id]/+page.svelte (+27 -37)
📝 src/routes/(app)/modelfiles/+page.svelte (+1 -6)
📝 src/routes/(app)/modelfiles/create/+page.svelte (+1 -7)
📝 src/routes/(app)/modelfiles/edit/+page.svelte (+1 -8)

📄 Description

  • migrated ollama reverse proxy route server to fastapi
  • hide ollama api url input settings from users with "user" role
  • reverted ollama api url input in the settings to require raw ollama api url like such:
    image

🔄 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/380 **Author:** [@tjbck](https://github.com/tjbck) **Created:** 1/4/2024 **Status:** ✅ Merged **Merged:** 1/4/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `connection-url` --- ### 📝 Commits (3) - [`30aff2d`](https://github.com/open-webui/open-webui/commit/30aff2db53ab0e4e74cf6f6d11da2346e3509d18) feat: enable backend ollama url update - [`754ea16`](https://github.com/open-webui/open-webui/commit/754ea1625b375e987c6781726bc73960bbc0d0e3) fix: delete model issue - [`ebc0b64`](https://github.com/open-webui/open-webui/commit/ebc0b64d9cc1634a37c1ca57f1b1fbe73f36dbb7) doc: troubleshooting ### 📊 Changes **14 files changed** (+530 additions, -420 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+0 -6) 📝 `TROUBLESHOOTING.md` (+2 -2) 📝 `backend/apps/ollama/main.py` (+66 -86) ➕ `backend/apps/ollama/old_main.py` (+176 -0) 📝 `backend/main.py` (+3 -1) 📝 `src/lib/apis/ollama/index.ts` (+103 -36) 📝 `src/lib/components/chat/SettingsModal.svelte` (+119 -183) 📝 `src/lib/constants.ts` (+2 -7) 📝 `src/routes/(app)/+layout.svelte` (+3 -9) 📝 `src/routes/(app)/+page.svelte` (+26 -32) 📝 `src/routes/(app)/c/[id]/+page.svelte` (+27 -37) 📝 `src/routes/(app)/modelfiles/+page.svelte` (+1 -6) 📝 `src/routes/(app)/modelfiles/create/+page.svelte` (+1 -7) 📝 `src/routes/(app)/modelfiles/edit/+page.svelte` (+1 -8) </details> ### 📄 Description - migrated ollama reverse proxy route server to fastapi - hide ollama api url input settings from users with "user" role - reverted ollama api url input in the settings to require raw ollama api url like such: <img width="638" alt="image" src="https://github.com/ollama-webui/ollama-webui/assets/25473318/936dba6d-db2a-4e64-aa36-b4be9333955e"> --- <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:16:27 -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#7092