diff --git a/src/composables/useVLM.ts b/src/composables/useVLM.ts index f0c57b2..4c6d86c 100644 --- a/src/composables/useVLM.ts +++ b/src/composables/useVLM.ts @@ -61,6 +61,11 @@ export function useVLMScenes(fileUuid: string) { try { const base = getApiBase() const resp = await fetch(`${base}/api/v1/file/${fileUuid}/scenes`) + if (resp.status === 404) { + // Scenes endpoint may not be implemented yet + scenes.value = [] + return + } if (!resp.ok) throw new Error(`HTTP ${resp.status}`) const data = await resp.json() scenes.value = Array.isArray(data) ? data : (data.scenes || [])