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]: "Starting {provider}" shows after every message, even when the provider is already running #42621
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web (also affects apps/mobile through packages/client-runtime, and the provider adapters in apps/server)
Steps to reproduce
Open a thread with a provider such as Claude Code and send a message. Wait for the reply.
Send a second message in the same thread.
Watch the working row before the reply starts streaming.
Expected behavior
"Starting {provider}" shows only while T3 Code is actually starting the provider: on the first message, or when the provider process is no longer running (after Stop, after it exited or crashed). When the process is already running, the send goes straight to the normal working indicator, because nothing is starting.
Actual behavior
"Starting {provider}" shows for a moment after every message, until the provider turn opens. The provider process from the previous turn is still running and nothing is being started, so the label describes something that is not happening.
Clients decide that a provider is starting because the provider turn does not exist yet. That is briefly true on every send, whether or not the provider process is running.
Context
#35008 added "Starting {provider}" so a slow Claude CLI boot no longer reads as "Thinking", and #41928 made it show from the moment of send. Both use "the run has no provider turn yet" as the signal, which is also true for a moment on every send to a provider that is already running. Real starts (first message, after Stop, after a crash, after the idle release from #41174) should keep showing it exactly as they do today.
Fedora 45, T3 Code web, reproduced with Claude Code
Screenshots, recordings, or supporting files
Second message in a thread whose provider process is still running: "Starting {provider}" shows for ~2s before "Thinking".
before-second-message.mp4
Proposed fix
I'll open a PR that links this issue. Clients show "Starting {provider}" only when the provider session is not live, or when the session reports a startup phase. Adapters whose session stays live after their process exits (Claude, ACP, Cursor) report launch as soon as the process is gone and no turn is open, so a send that really starts a process still shows "Starting {provider}" from the moment it is sent.
Activity