Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: A response that pauses and resumes is folded as several separate responses #8945

Closedorbitingflea(GitHub profile, opens in a new tab) opened this issue 0 comments

When a response finishes, its intermediate steps collapse behind a "Worked for …" row. But a response that paused midway is treated as several separate responses.

Area: apps/web

Steps to reproduce

  1. Send a prompt that the agent answers with a pause in the middle. The easiest way: a task where it hands work to a subagent, waits, then continues writing after the subagent finishes.
  2. Wait for the response to finish.

Expected behavior The whole answer collapses behind one "Worked for …" row, and only the last message stays visible.

Actual behavior Each pause starts a new group. The answer ends up with several "Worked for …" rows, and the messages written before each pause stay on screen as if each were a separate finished answer.

Cause (from reading the code) Each time output resumes after a pause, the messages carry a new turn id (the internal id that marks which turn a message belongs to). The folding code in apps/web/src/components/chat/MessagesTimeline.logic.ts groups by turn id, so one answer with two pauses becomes three groups.

Impact: Minor bug or occasional failure — it happens on more or less every answer that uses subagents.

Version or commit: v0.0.34-nightly.20260823.1164; the grouping code is unchanged on main @ 31c1c5996.

Workaround We patched our own deployment to group by "everything between two user messages" instead of by turn id. Happy to share the diff.

(Not the same as #8879 / #8075 — those are about which message stays visible inside one group; this is about one answer being split into several groups.)

  1. juliusmarminge closed this

Sign in to join this conversation.