mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #1006] feat: "Cancel" in the Playground does not stop Ollama generation #27820
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @robertvazan on GitHub (Mar 3, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1006
Bug Report
Description
Bug Summary:
This is the same problem as #456 but in Playground.
Steps to Reproduce:
Start generation in Playground and press Cancel. It does not matter whether you use chat or text completion mode.
Expected Behavior:
Ollama should stop immediately.
Actual Behavior:
UI stops streaming, but Ollama continues to generate tokens in the background.
Reproduction Details
Confirmation:
Additional Information
More info available upon request.
@tjbck commented on GitHub (Mar 3, 2024):
It's in beta for a reason :) feel free to make a PR!