Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix: handle missing run data in RunItemDataBrowser component

Steven Enamakel8c440bb03fcb
diff --git a/app/src/components/flows/RunItemDataBrowser.tsx b/app/src/components/flows/RunItemDataBrowser.tsx
index b3190485a2..734d7be828 100644
--- a/app/src/components/flows/RunItemDataBrowser.tsx
+++ b/app/src/components/flows/RunItemDataBrowser.tsx
@@ -66,16 +66,13 @@ function BinaryChips({ binary, testId }: BinaryChipsProps) {
return (
<div className="flex flex-wrap gap-1" data-testid={testId}>
{binary.map(ref => (
- <span
- key={ref.key}
- className="inline-flex items-center gap-1 rounded-md border border-line bg-surface px-1.5 py-0.5 text-[10px] font-medium text-content-muted"
- title={ref.mimeType ?? undefined}>
+ <Badge key={ref.key} dot={false} title={ref.mimeType ?? undefined}>
<span aria-hidden>📎</span>
<span className="font-mono">{ref.fileName ?? ref.key}</span>
<span className="rounded bg-surface-muted px-1 text-[9px] uppercase text-content-faint">
{ref.mimeType ?? t('flowRuns.inspector.binaryLabel')}
</span>
- </span>
+ </Badge>
))}
</div>
);