fix(coding-agent): reuse session thinking for compaction closes #3438

This commit is contained in:
Mario Zechner
2026-04-20 15:09:50 +02:00
parent d66ef6dce8
commit da6a81d398
4 changed files with 69 additions and 10 deletions

View File

@@ -1667,6 +1667,7 @@ export class AgentSession {
headers,
customInstructions,
this._compactionAbortController.signal,
this.thinkingLevel,
);
summary = result.summary;
firstKeptEntryId = result.firstKeptEntryId;
@@ -1931,6 +1932,7 @@ export class AgentSession {
headers,
undefined,
this._autoCompactionAbortController.signal,
this.thinkingLevel,
);
summary = compactResult.summary;
firstKeptEntryId = compactResult.firstKeptEntryId;