diff --git a/ui/src/pages/AgentDetail.tsx b/ui/src/pages/AgentDetail.tsx index f8f2addf..dfef17cd 100644 --- a/ui/src/pages/AgentDetail.tsx +++ b/ui/src/pages/AgentDetail.tsx @@ -16,6 +16,7 @@ import { adapterLabels, roleLabels } from "../components/agent-config-primitives import { getUIAdapter, buildTranscript } from "../adapters"; import type { TranscriptEntry } from "../adapters"; import { StatusBadge } from "../components/StatusBadge"; +import { MarkdownBody } from "../components/MarkdownBody"; import { CopyText } from "../components/CopyText"; import { EntityRow } from "../components/EntityRow"; import { Identity } from "../components/Identity"; @@ -620,10 +621,7 @@ function LatestRunCard({ runs, agentId }: { runs: HeartbeatRun[]; agentId: strin : run.error ?? ""; return ( -
+
{isLive && ( @@ -642,26 +640,32 @@ function LatestRunCard({ runs, agentId }: { runs: HeartbeatRun[]; agentId: strin
-
- - - {run.id.slice(0, 8)} - - {sourceLabels[run.invocationSource] ?? run.invocationSource} - - {relativeTime(run.createdAt)} +
+
+ + + {run.id.slice(0, 8)} + + {sourceLabels[run.invocationSource] ?? run.invocationSource} + + {relativeTime(run.createdAt)} +
+ + {summary && ( +
+ {summary} +
+ )}
- - {summary && ( -

{summary}

- )} -
); }