mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:30:43 +00:00
fix(gateway): tolerate void agent command results
This commit is contained in:
@@ -311,7 +311,7 @@ function dispatchAgentRunFromGateway(params: {
|
||||
void agentCommandFromIngress(params.ingressOpts, defaultRuntime, params.context.deps)
|
||||
.then((result) => {
|
||||
if (shouldTrackTask) {
|
||||
const aborted = result.meta.aborted === true;
|
||||
const aborted = result?.meta?.aborted === true;
|
||||
tryFinalizeTrackedAgentTask({
|
||||
runId: params.runId,
|
||||
status: aborted ? "timed_out" : "succeeded",
|
||||
|
||||
Reference in New Issue
Block a user