mirror of https://github.com/openclaw/openclaw.git
fix(acp): mark async error completion as intentional
This commit is contained in:
parent
7bfd5b5fb1
commit
fcabdf7c31
|
|
@ -758,7 +758,7 @@ export class AcpGatewayAgent implements Agent {
|
|||
// do not treat transient backend errors (timeouts, rate-limits) as deliberate
|
||||
// refusals. TODO: when ChatEventSchema gains a structured errorKind field
|
||||
// (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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue