mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 08:21:11 +00:00
fix(agents): avoid synthetic tool-result writes on idle-timeout cleanup
This commit is contained in:
@@ -817,6 +817,7 @@ export async function compactEmbeddedPiSessionDirect(
|
||||
await flushPendingToolResultsAfterIdle({
|
||||
agent: session?.agent,
|
||||
sessionManager,
|
||||
clearPendingOnTimeout: true,
|
||||
});
|
||||
session.dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user