Fix issue where subagent thoughts are appended. (#22975)

This commit is contained in:
Christian Gunderman
2026-03-18 19:20:31 +00:00
committed by GitHub
parent 4cedf7bcba
commit ab1c7c7719
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ export class LocalSubagentInvocation extends BaseToolInvocation<
lastItem.type === 'thought' &&
lastItem.status === 'running'
) {
lastItem.content += text;
lastItem.content = text;
} else {
recentActivity.push({
id: randomUUID(),