Repository navigation
[BUG] Stop does not work on OpenAI Compatible API Provider #404
Copy link
Copy link
Open
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Activity
Claiming.
I've identified the root cause: the and do not create an or pass an abort signal to the underlying OpenAI SDK / AI SDK requests. When the user hits Stop, the Task-level breaks out of the stream loop, but the HTTP request continues running server-side until it finishes naturally.
In contrast, and both correctly create an and pass to their API calls.
Fix plan:
- Add to both and
- Create the controller in / , pass to the SDK calls
- Check in the stream iteration loop
- Add abort support
- Regression tests
Will follow up with a PR shortly.
- added 11 commits that reference this issue
on Jun 1, 2026 175 remaining items
Load more actions- added 7 commits that reference this issue
on Jun 22, 2026 - added a commit that references this issue
on Jun 23, 2026 - added a commit that references this issue
on Sep 6, 2026 - added a commit that references this issue
on Sep 16, 2026 - added a commit that references this issue
on Oct 3, 2026 #1651 was supposed to fix this issue, but unless it isn't on the prerelease version of Zoo Code yet, this is still an issue.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Problem (one or two sentences)
Stopping an in-progress question or task does not abort the underlying HTTP request to the provider. The provider continues processing / generating tokens, invisible to the user.
This bug was already reported on Roo code: RooCodeInc/Roo-Code#10779. It still is present in Zoo code 3.56.0.
Context (who is affected and when)
OpenAI API users. I use llama.cpp on a iGPU as local solution (a propos, dedicated support for llama.cpp would be welcome at some point) which now continues its lengthy process even though I hit the stop button in Zoo.
Reproduction steps
Expected result
Underlying HTTP request is immediatly aborted
Actual result
Underlying HTTP request continues until the end, consuming precious resources, while of no benefit to the user.
Variations tried (optional)
No response
App Version
3.56.0
API Provider (optional)
OpenAI Compatible
Model Used (optional)
N/A
Zoo Code Task Links (optional)
No response
Relevant logs or errors (optional)