Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
Accept native turn errors at sampling failure boundary
shenjiacheng14589ae7e26b
diff --git a/packages/maker-core/src/agents/codex/translator.ts b/packages/maker-core/src/agents/codex/translator.tsindex f6f3d86f92..36e56986e2 100644--- a/packages/maker-core/src/agents/codex/translator.ts+++ b/packages/maker-core/src/agents/codex/translator.ts@@ -420,7 +420,7 @@ function failSamplingSegment(rt: CodexRuntimeState, threadId: string, turnId: st/** A stopped retry remains auditable; a successful turn never marks its last reply failed. */export function finishCodexSamplingTurn(rt: CodexRuntimeState, threadId: string, turnId: string, status: string,- error?: ErrorNotification['params']['error'] | null,+ error?: Parameters<typeof classifyCodexError>[0],) {const key = JSON.stringify([threadId, turnId]);const segment = rt.samplingSegments.get(key);