[PR #509] [MERGED] feat: terminate request on user stop #7155

Closed
opened 2025-11-11 17:18:33 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: stop-fix


📝 Commits (3)

  • 442e3d9 feat: terminate request on user stop
  • b8337db Update +page.svelte
  • 981ec89 fix: cancel chat generation on route change

📊 Changes

4 files changed (+189 additions, -89 deletions)

View changed files

📝 backend/apps/ollama/main.py (+37 -1)
📝 src/lib/apis/ollama/index.ts (+23 -0)
📝 src/routes/(app)/+page.svelte (+66 -44)
📝 src/routes/(app)/c/[id]/+page.svelte (+63 -44)

📄 Description

Resolves #456


🔄 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/509 **Author:** [@tjbck](https://github.com/tjbck) **Created:** 1/18/2024 **Status:** ✅ Merged **Merged:** 1/18/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `stop-fix` --- ### 📝 Commits (3) - [`442e3d9`](https://github.com/open-webui/open-webui/commit/442e3d978a67484b8dab39424239ed47ac09330d) feat: terminate request on user stop - [`b8337db`](https://github.com/open-webui/open-webui/commit/b8337db9d5ee42bf0894c020cbcc459e67a055c5) Update +page.svelte - [`981ec89`](https://github.com/open-webui/open-webui/commit/981ec89e15d22e430dc59133bd80f42379f8de97) fix: cancel chat generation on route change ### 📊 Changes **4 files changed** (+189 additions, -89 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/ollama/main.py` (+37 -1) 📝 `src/lib/apis/ollama/index.ts` (+23 -0) 📝 `src/routes/(app)/+page.svelte` (+66 -44) 📝 `src/routes/(app)/c/[id]/+page.svelte` (+63 -44) </details> ### 📄 Description Resolves #456 --- <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:18:33 -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#7155