mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-31 02:18:08 +00:00
fix(acp): mark async error completion as intentional
This commit is contained in:
parent
7bfd5b5fb1
commit
fcabdf7c31
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue