fix: add catch handler for LLM generation promise in narration service
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -77,6 +77,8 @@ export function createNarrationService(llmService: LlmService): NarrationService
|
||||
event.isLlmGenerated = true;
|
||||
service.onEventUpdated?.(event);
|
||||
}
|
||||
}).catch(() => {
|
||||
// LLM generation failed; fallback narration is already set
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user