You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Error asks to 'press Stop' to switch model/provider, but no Stop button is shown when thread is idle #36450
I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
In a thread, let the agent start background work (background tasks, subagent, or commands).
Wait for the main agent's turn to complete / settle so the thread is idle (no active streaming run).
Switch the model or provider from the model picker in the composer.
Try to send a message.
The message is refused with:
The previous provider is still running background agents or commands, and switching would end them. Wait for them to finish, or press Stop, then send the message again.
Expected behavior
If the error message instructs the user to "press Stop":
The UI should display an accessible Stop control (e.g. a persistent Stop button in the composer or header while background work is active, or a dedicated "Stop background work" button).
Ideally, the error banner itself should offer a one-click action: "Stop background work & switch" or "Queue behind background tasks".
Actual behavior
The UI only displays a Stop button while a foreground turn is actively running/streaming.
Once the main turn is finished, the composer returns to its idle state, and no Stop button is rendered anywhere in the interface.
As a result, the user is trapped in a dead end: they are instructed to press Stop, but have no way to do so, leaving them completely unable to switch models or providers.
Impact
Blocks work completely
Environment
Platform: Windows x64 (also reproduces across desktop and web clients)
Version: T3 Code 0.1.10-nightly (and earlier versions)
Workaround
Starting a completely new thread or manually editing the underlying database state.
@Abhay2133 Which provider and model was the thread on before you switched, and what exactly was still running in the background (a shell command, a subagent, image generation, an MCP app, a Monitor)? A screenshot of the thread when the error appears would help, especially the area just above the composer.
@juliusmarminge same dead end here. I was on Codex (gpt-6.1-sol), switching to Claude. Nothing was visibly running: the delegated tasks had all finished, pendingBackgroundTasks was empty, and there was no Stop anywhere. Even an app restart would not clear it.
I've put up a fix in #36596. Stop now reaches background work that only the provider sees, and the error banner offers Stop on this refusal. Tested on macOS and Windows by Opus and Fable.
Activity
juliusmarminge commentedon Nov 14, 2026
@Abhay2133 Which provider and model was the thread on before you switched, and what exactly was still running in the background (a shell command, a subagent, image generation, an MCP app, a Monitor)? A screenshot of the thread when the error appears would help, especially the area just above the composer.
SirDragonClaw commentedon Nov 14, 2026
@juliusmarminge same dead end here. I was on Codex (
gpt-6.1-sol), switching to Claude. Nothing was visibly running: the delegated tasks had all finished,pendingBackgroundTaskswas empty, and there was no Stop anywhere. Even an app restart would not clear it.I've put up a fix in #36596. Stop now reaches background work that only the provider sees, and the error banner offers Stop on this refusal. Tested on macOS and Windows by Opus and Fable.