open-webui / open-webui/computer
bug: Response output repeats infinitely due to missing stream termination
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 569
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I discovered a bug where the ai response output repeats the same text block dozens of times in a single turn. This happens when the model finishes generating a response but the streaming connection is not properly terminated.
Steps to reproduce:
- Start a conversation with cptr
- Ask a question that triggers a multi-step response (e.g. running commands, creating files)
- After the model finishes generating, the last response block repeats infinitely
- The chat becomes unusable until manually stopped
I suspect the issue is that the harness does not correctly detect or signal stream termination.
Thank you again for your work and I wish you all a great day,
Joshua Krimmer
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by starting a cptr conversation that triggers a multi-step response, then inspect the harness handling of stream termination. Done means the final response block appears only once and the chat remains usable after generation finishes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100