mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5508] [GUI] Stop during reasoning should finish the answer instead of leaving an empty bubble #5476
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#5476
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @Astemiir on GitHub (Nov 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5508
[GUI] Stop during reasoning should finish the answer instead of leaving an empty bubble
Area: GUI (web chat)
Versions: app 0.2.12 / control 0.1.58 (
serve/web/app.js,$("stop-btn").onclick— todayonly
busy.controller.abort()).Problem
On a reasoning model, pressing Stop while the model is still thinking aborts the stream and
keeps only the reasoning block: the answer bubble stays empty. On long tasks the model can also
fall into a repetition loop (
0,0,0,…); the only escape is Stop, and it throws away everythingthat was already worked out. The user has to start over.
Proposal
When Stop is pressed and there is
reasoningbut notextyet:reasoning_effort: "none"(thinking off), lowtemperature, and the beginning of the already-produced reasoning as context:
"Reasoning was interrupted. Here is what has been established: … Answer the question briefly,
without new reasoning.";
chat.finishedAfterStop→ "answer from the interrupted reasoning".If Stop is pressed while the answer is already streaming, keep the current behaviour (plain
stop). No server change is needed:
reasoning_effort: "none"already maps toenable_thinking: false.Evidence
Verified on a local build: "sum of all primes below 500, step by step", thinking level high,
Stop after 6 s → the bubble received "…21 536" with the "answer from the interrupted reasoning"
label instead of staying empty. The same prompt without the fix ended in the
0,0,0,…loop andan empty bubble.
Test plan
contentnon-empty, marker shown;@github-actions[bot] commented on GitHub (Nov 7, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md