fix(agents): classify tool-execution timeouts

Detect run-level timeouts that fire while a tool call is still active and keep them out of assistant model fallback.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Simon
2026-05-02 19:20:07 +05:30
committed by Ayaan Zaidi
parent afbc395dda
commit 2605490dbd
17 changed files with 122 additions and 1 deletions

View File

@@ -220,6 +220,7 @@ export class CodexAppServerEventProjector {
timedOut: false,
idleTimedOut: false,
timedOutDuringCompaction: false,
timedOutDuringToolExecution: false,
promptError,
promptErrorSource: promptError ? this.promptErrorSource || "prompt" : null,
sessionIdUsed: this.params.sessionId,