Skip to content

The open-source app everyone uses to manage agents at work

fix(ui): surface skipped wakeup messages in agent detail

dotta50e9f6901062
diff --git a/ui/src/pages/AgentDetail.tsx b/ui/src/pages/AgentDetail.tsx
index 3e19d29461..b68088e51a 100644
--- a/ui/src/pages/AgentDetail.tsx
+++ b/ui/src/pages/AgentDetail.tsx
@@ -2937,7 +2937,7 @@ function RunDetail({ run: initialRun, agentRouteId, adapterType }: { run: Heartb
payload: resumePayload,
}, run.companyId);
if (!("id" in result)) {
- throw new Error("Resume request was skipped because the agent is not currently invokable.");
+ throw new Error(result.message ?? "Resume request was skipped.");
}
return result;
},
@@ -2969,7 +2969,7 @@ function RunDetail({ run: initialRun, agentRouteId, adapterType }: { run: Heartb
payload: retryPayload,
}, run.companyId);
if (!("id" in result)) {
- throw new Error("Retry was skipped because the agent is not currently invokable.");
+ throw new Error(result.message ?? "Retry was skipped.");
}
return result;
},