[PR #1272] [MERGED] feat: cancel model download #7419

Closed
opened 2025-11-11 17:25:54 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/1272
Author: @anuraagdjain
Created: 3/23/2024
Status: Merged
Merged: 3/24/2024
Merged by: @tjbck

Base: devHead: feat/cancel-model-download


📝 Commits (8)

  • ae97a96 WIP feat: cancel model download
  • 45311bf Merge branch 'main' into feat/cancel-model-download
  • d291821 refac: delete button UI
  • 7e6d499 refac: remove conosle.log
  • 642ca5a refac: ui
  • 244f34c refac: cancel download
  • e008738 feat: cancel download from backend
  • 3e0d9ad Merge branch 'dev' into feat/cancel-model-download

📊 Changes

7 files changed (+120 additions, -28 deletions)

View changed files

📝 .gitignore (+1 -1)
📝 backend/apps/ollama/main.py (+18 -2)
📝 src/lib/apis/ollama/index.ts (+1 -1)
📝 src/lib/components/chat/Settings/Models.svelte (+90 -14)
📝 src/routes/(app)/+page.svelte (+3 -3)
📝 src/routes/(app)/c/[id]/+page.svelte (+3 -3)
📝 src/routes/(app)/playground/+page.svelte (+4 -4)

📄 Description

Pull Request Checklist

  • Description: Briefly describe the changes in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?

Description

[Insert a brief description of the changes made in this pull request]

image

Changelog Entry

Added

  • [List any new features or additions]
  • Show X button next to the download progress, allowing user to cancel the download.

Fixed

  • [List any fixes or corrections]

Changed

  • [List any changes or updates]

Removed

  • [List any removed features or files]

🔄 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/1272 **Author:** [@anuraagdjain](https://github.com/anuraagdjain) **Created:** 3/23/2024 **Status:** ✅ Merged **Merged:** 3/24/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/cancel-model-download` --- ### 📝 Commits (8) - [`ae97a96`](https://github.com/open-webui/open-webui/commit/ae97a96379ed85d14e2b70cbd5ede233f1178534) WIP feat: cancel model download - [`45311bf`](https://github.com/open-webui/open-webui/commit/45311bfa15a6e549de8ae3e4e6d501ea449c6486) Merge branch 'main' into feat/cancel-model-download - [`d291821`](https://github.com/open-webui/open-webui/commit/d291821bf39f939c7170be7506a1da8633e42a2c) refac: delete button UI - [`7e6d499`](https://github.com/open-webui/open-webui/commit/7e6d49948657348240546b6f5b10bb8f4db47ac1) refac: remove conosle.log - [`642ca5a`](https://github.com/open-webui/open-webui/commit/642ca5a94a0d9fd683c00cd80cb5272486cb936a) refac: ui - [`244f34c`](https://github.com/open-webui/open-webui/commit/244f34c24e0a56433c2a0c996994d5271af41159) refac: cancel download - [`e008738`](https://github.com/open-webui/open-webui/commit/e008738f30081e4697a1b3c3278e2e51d47539ad) feat: cancel download from backend - [`3e0d9ad`](https://github.com/open-webui/open-webui/commit/3e0d9ad74f9090fdebac915023a0bfbadd73eb58) Merge branch 'dev' into feat/cancel-model-download ### 📊 Changes **7 files changed** (+120 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -1) 📝 `backend/apps/ollama/main.py` (+18 -2) 📝 `src/lib/apis/ollama/index.ts` (+1 -1) 📝 `src/lib/components/chat/Settings/Models.svelte` (+90 -14) 📝 `src/routes/(app)/+page.svelte` (+3 -3) 📝 `src/routes/(app)/c/[id]/+page.svelte` (+3 -3) 📝 `src/routes/(app)/playground/+page.svelte` (+4 -4) </details> ### 📄 Description ## Pull Request Checklist - [x] **Description:** Briefly describe the changes in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? --- ## Description [Insert a brief description of the changes made in this pull request] - Ability to cancel the download of a model. Addresses https://github.com/open-webui/open-webui/issues/526 - WIP: Deleting the model from Ollama <img width="517" alt="image" src="https://github.com/open-webui/open-webui/assets/4705103/55122bfb-493b-410e-96d4-7d0acc9d479c"> --- ### Changelog Entry ### Added - [List any new features or additions] - Show **X** button next to the download progress, allowing user to cancel the download. ### Fixed - [List any fixes or corrections] ### Changed - [List any changes or updates] ### Removed - [List any removed features or files] --- <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:25:54 -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#7419