Skip to content

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

fix(chat): handle missing artifact download URL gracefully

Steven Enamakel96b231fbaa07
diff --git a/app/src/services/artifactDownloadService.ts b/app/src/services/artifactDownloadService.ts
index 4ab50191b0..6344d39273 100644
--- a/app/src/services/artifactDownloadService.ts
+++ b/app/src/services/artifactDownloadService.ts
@@ -70,7 +70,7 @@ interface DeleteArtifactOutcome {
error?: string;
}
-type ListedArtifactKind = 'presentation' | 'document' | 'image' | 'other';
+type ListedArtifactKind = 'presentation' | 'document' | 'image' | 'video' | 'other';
interface ListedThreadArtifact {
artifactId: string;
diff --git a/app/src/store/chatRuntimeSlice.ts b/app/src/store/chatRuntimeSlice.ts
index 3036ab2fa5..524172f857 100644
--- a/app/src/store/chatRuntimeSlice.ts
+++ b/app/src/store/chatRuntimeSlice.ts
@@ -756,7 +756,7 @@ export type ArtifactStatus = 'in_progress' | 'ready' | 'failed';
export interface ArtifactSnapshot {
artifactId: string;
/** Kind slug from the Rust `ArtifactKind` enum. */
- kind: 'presentation' | 'document' | 'image' | 'other';
+ kind: 'presentation' | 'document' | 'image' | 'video' | 'other';
/** Human-readable title; also the on-disk filename stem. */
title: string;
status: ArtifactStatus;