mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 22:21:37 +00:00
ACP: start typing lifecycle at turn start and harden delivery
This commit is contained in:
@@ -239,6 +239,14 @@ export async function tryDispatchAcpReply(params: {
|
||||
throw agentPolicyError;
|
||||
}
|
||||
|
||||
try {
|
||||
await delivery.startReplyLifecycle();
|
||||
} catch (error) {
|
||||
logVerbose(
|
||||
`dispatch-acp: start reply lifecycle failed: ${error instanceof Error ? error.message : String(error)}`,
|
||||
);
|
||||
}
|
||||
|
||||
await acpManager.runTurn({
|
||||
cfg: params.cfg,
|
||||
sessionKey,
|
||||
|
||||
Reference in New Issue
Block a user