mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 05:27:26 +00:00
fix(acp): mark async error completion as intentional
This commit is contained in:
@@ -758,7 +758,7 @@ export class AcpGatewayAgent implements Agent {
|
|||||||
// do not treat transient backend errors (timeouts, rate-limits) as deliberate
|
// do not treat transient backend errors (timeouts, rate-limits) as deliberate
|
||||||
// refusals. TODO: when ChatEventSchema gains a structured errorKind field
|
// refusals. TODO: when ChatEventSchema gains a structured errorKind field
|
||||||
// (e.g. "refusal" | "timeout" | "rate_limit"), use it to distinguish here.
|
// (e.g. "refusal" | "timeout" | "rate_limit"), use it to distinguish here.
|
||||||
this.finishPrompt(pending.sessionId, pending, "end_turn");
|
void this.finishPrompt(pending.sessionId, pending, "end_turn");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user