Revert "fix(coding-agent): use ctx.settings instead of global settings proxy in renderInitialMessages"

This reverts commit b096de735d.
This commit is contained in:
DarkPhilosophy
2026-07-14 00:28:13 +03:00
parent cc2831e0f0
commit b85d64f9cd
@@ -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, {