[GH-ISSUE #9014] Ongoing text generation not being terminated on deletion of chat tab #86094

Closed
opened 2026-05-15 10:34:33 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @katakombi on GitHub (Jan 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9014

Bug Report

Important Notes

  • Before submitting a bug report: Please check the Issues or Discussions section to see if a similar issue or feature request has already been posted. It's likely we're already tracking it! If you’re unsure, start a discussion post first. This will help us efficiently focus on improving the project.

  • Collaborate respectfully: We value a constructive attitude, so please be mindful of your communication. If negativity is part of your approach, our capacity to engage may be limited. We’re here to help if you’re open to learning and communicating positively. Remember, Open WebUI is a volunteer-driven project managed by a single maintainer and supported by contributors who also have full-time jobs. We appreciate your time and ask that you respect ours.

  • Contributing: If you encounter an issue, we highly encourage you to submit a pull request or fork the project. We actively work to prevent contributor burnout to maintain the quality and continuity of Open WebUI.

  • Bug reproducibility: If a bug cannot be reproduced with a :main or :dev Docker setup, or a pip install with Python 3.11, it may require additional help from the community. In such cases, we will move it to the "issues" Discussions section due to our limited resources. We encourage the community to assist with these issues. Remember, it’s not that the issue doesn’t exist; we need your help!

Note: Please remove the notes above when submitting your post. Thank you for your understanding and support!


Installation Method

git clone & manual install via "uv"

[Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.]

Environment

  • Open WebUI Version: [e.g., v0.5.7]
  • Operating System: [Linux Mint Wilma]

Confirmation:

  • Ihave read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

If I generate a LLM response inside a chat and I delete the chat while the answer is being processed, the processing is being stopped automatically.

Actual Behavior:

I open a new chat tab. I generate a long response. I delete the chat tab. The CPU/GPU utilization continues. When the generaton ends a notification is being shown in the top right but the response is not accessible.

Description

Bug Summary:
Ongoing text generation not being terminated on deletion of chat tab

Originally created by @katakombi on GitHub (Jan 28, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/9014 # Bug Report ## Important Notes - **Before submitting a bug report**: Please check the Issues or Discussions section to see if a similar issue or feature request has already been posted. It's likely we're already tracking it! If you’re unsure, start a discussion post first. This will help us efficiently focus on improving the project. - **Collaborate respectfully**: We value a constructive attitude, so please be mindful of your communication. If negativity is part of your approach, our capacity to engage may be limited. We’re here to help if you’re open to learning and communicating positively. Remember, Open WebUI is a volunteer-driven project managed by a single maintainer and supported by contributors who also have full-time jobs. We appreciate your time and ask that you respect ours. - **Contributing**: If you encounter an issue, we highly encourage you to submit a pull request or fork the project. We actively work to prevent contributor burnout to maintain the quality and continuity of Open WebUI. - **Bug reproducibility**: If a bug cannot be reproduced with a `:main` or `:dev` Docker setup, or a pip install with Python 3.11, it may require additional help from the community. In such cases, we will move it to the "issues" Discussions section due to our limited resources. We encourage the community to assist with these issues. Remember, it’s not that the issue doesn’t exist; we need your help! Note: Please remove the notes above when submitting your post. Thank you for your understanding and support! --- ## Installation Method git clone & manual install via "uv" [Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.] ## Environment - **Open WebUI Version:** [e.g., v0.5.7] - **Operating System:** [Linux Mint Wilma] **Confirmation:** - [X] Ihave read and followed all the instructions provided in the README.md. - [X] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. - [ ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: If I generate a LLM response inside a chat and I delete the chat while the answer is being processed, the processing is being stopped automatically. ## Actual Behavior: I open a new chat tab. I generate a long response. I delete the chat tab. The CPU/GPU utilization continues. When the generaton ends a notification is being shown in the top right but the response is not accessible. ## Description **Bug Summary:** Ongoing text generation not being terminated on deletion of chat tab
Author
Owner

@tjbck commented on GitHub (Jan 28, 2025):

The response should be stopped explicitly.

<!-- gh-comment-id:2617890877 --> @tjbck commented on GitHub (Jan 28, 2025): The response should be stopped explicitly.
Author
Owner

@katakombi commented on GitHub (Jan 28, 2025):

Thank you for your quick response.
I can't see the sense in that behavior - I am pretty new to webui I might oversee something in context that justifies this behavior. It is just that I would expect once the response is completed and I get notified it should be possible to access it from the UI.

<!-- gh-comment-id:2618084166 --> @katakombi commented on GitHub (Jan 28, 2025): Thank you for your quick response. I can't see the sense in that behavior - I am pretty new to webui I might oversee something in context that justifies this behavior. It is just that I would expect once the response is completed and I get notified it should be possible to access it from the UI.
Author
Owner

@frostysashimi commented on GitHub (Jan 29, 2025):

This issue compounds with the visual bug where the stop button disappears after swapping to another chat tab or admin menu etc.

<!-- gh-comment-id:2621722871 --> @frostysashimi commented on GitHub (Jan 29, 2025): This issue compounds with the visual bug where the stop button disappears after swapping to another chat tab or admin menu etc.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#86094