diff --git a/packages/coding-agent/src/modes/utils/ui-helpers.ts b/packages/coding-agent/src/modes/utils/ui-helpers.ts index 42bccfda7..70af14750 100644 --- a/packages/coding-agent/src/modes/utils/ui-helpers.ts +++ b/packages/coding-agent/src/modes/utils/ui-helpers.ts @@ -634,7 +634,7 @@ export class UiHelpers { // the in-flight call re-renders as pending instead of vanishing; // renderSessionContext then keeps it in `pendingTools` for live routing. const context = this.ctx.viewSession.buildTranscriptSessionContext({ - collapseCompactedHistory: this.ctx.settings.get("display.collapseCompacted"), + collapseCompactedHistory: settings.get("display.collapseCompacted"), keepDanglingToolCalls: this.ctx.viewSession.isStreaming, }); this.ctx.renderSessionContext(context, {