Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(chat): keep assistant text visible across tool calls #14698

Draftmaria-rckswants to merge 9 commits intomain fromrefs/pull/14698/headopened View on GitHub

Showing 4 changed files with 30 additions and 10 deletions (loading 2).

x
0 of 4 viewed, 4 left
29 additions and 3 deletionsapps/mobile/src/lib/threadActivity.test.tsModified
View file
@@ -841,7 +841,7 @@
).toBe(false);
});
​
- it("keeps opening and final assistant messages around the first hidden work", () => {
+ it("keeps assistant text before and between tools visible while folding work and reasoning", () => {
const opening = {
...assistantMessage("2026-06-20T00:00:01.500Z"),
id: TurnItemId.make("item-opening"),
@@ -859,7 +859,17 @@
projected(opening, 1),
projected(command(), 2),
projected(middle, 3),
- projected(assistantMessage(), 4),
+ projected({ ...command("2026-06-20T00:00:02.600Z"), id: TurnItemId.make("item-build") }, 4),
+ projected(
+ {
+ ...base("item-reasoning", "2026-06-20T00:00:02.700Z", 5),
+ type: "reasoning",
+ text: "Checking the build output.",
+ streaming: false,
+ },
+ 5,
+ ),
+ projected(assistantMessage(), 6),
]);
const latestRun = {
runId,