Skip to content

[Fix] Keep the Fast transcript's working indicator up until the turn ends - #2039

Open
mrubens wants to merge 1 commit into
developfrom
fix/fast-transcript-working-indicator
Open

[Fix] Keep the Fast transcript's working indicator up until the turn ends#2039
mrubens wants to merge 1 commit into
developfrom
fix/fast-transcript-working-indicator

Conversation

@mrubens

@mrubens mrubens commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Problem

After the model makes a tool call, the Fast transcript looks idle even though the turn is still running. The "Thinking" indicator is driven by "no visible non-user message since the user's message," and a tool event counts as visible, so it cleared on the first tool call. Until #2031 the first event was almost always the acknowledgement (integration calls were gated behind it), which hid this; now find_integration_tools can run first, and the transcript goes quiet with nothing said. It also always went quiet after any mid-turn tool call, and the trailing post-closeout request that #2030 removed used to blur the end of the turn.

Change

The session's responding lease is already the authority for "the turn is running" (set at turn start, cleared at turn end, which #2030 moved to the closeout). When it is active after visible output, the transcript shows a "Working" indicator in the same slot; "Thinking" is unchanged for the no-output-yet case. The existing stale-lease guard still applies: the client only trusts responding: true when it arrives with new output, so a reconnect with a leftover lease does not show a false indicator.

Verification

New transcript test: follow-up shows Thinking, a streamed tool event with the lease active switches it to Working, and the closeout with the lease released clears it. Transcript client suite (30) passes; typecheck and lint clean.

…ends

The Thinking indicator cleared on the first visible non-user message of
any kind, tool events included. Until integrations became on demand the
first event was almost always the acknowledgement, so this went
unnoticed; now a lookup can come first and the transcript went quiet
with nothing said yet, and it always went quiet after any mid-turn tool
call. The session's responding lease already tracks the real turn and
now ends at the closeout, so show a Working indicator whenever it is
active after visible output.
@roomote-community

roomote-community Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

No code issues found. See task

Reviewed 4201130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant