diff --git a/apps/web/src/pages/playground-media.tsx b/apps/web/src/pages/playground-media.tsx index 2a25ec8..a7af89f 100644 --- a/apps/web/src/pages/playground-media.tsx +++ b/apps/web/src/pages/playground-media.tsx @@ -521,6 +521,7 @@ function MediaTaskCard(props: { const references = mediaReferenceItems(props.run); const promptParts = promptDisplayParts(props.run.prompt, references); const taskMeta = mediaTaskMetaText(props.run); + const previewState = items.length > 0 ? 'filled' : isPending ? 'loading' : 'empty'; return (
@@ -552,9 +553,9 @@ function MediaTaskCard(props: { )} -
+
{backdropItem && } -
+
{Array.from({ length: expectedCount }).map((_, index) => ( +
{props.item?.type === 'video' && (