We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34e43ee commit e447302Copy full SHA for e447302
1 file changed
src/agents/embedded-agent-runner/run/attempt.ts
@@ -4537,7 +4537,7 @@ export async function runEmbeddedAttempt(
4537
});
4538
const truncationResult = await withOwnedSessionWriteLock(() =>
4539
truncateOversizedToolResultsInSessionManager({
4540
- sessionManager,
+ sessionManager: activeSessionManager,
4541
contextWindowTokens: contextTokenBudget,
4542
maxCharsOverride: toolResultMaxChars,
4543
sessionFile: params.sessionFile,
0 commit comments