MCPcopy Index your code
hub / github.com/TanStack/ai / createVideoPreview

Method createVideoPreview

packages/ai-client/src/devtools.ts:1640–1649  ·  view source on GitHub ↗
(
    result: TOutput | null,
    videoStatus: unknown,
  )

Source from the content-addressed store, hash-verified

1638 }
1639
1640 private createVideoPreview(
1641 result: TOutput | null,
1642 videoStatus: unknown,
1643 ): AIDevtoolsGenerationPreview {
1644 return createAIDevtoolsGenerationPreview({
1645 outputKind: this.options.metadata.outputKind,
1646 result,
1647 videoStatus,
1648 })
1649 }
1650}
1651
1652// Wraps the plain emitter so callers can do `this.events.X(...)` and get:

Callers 3

buildSnapshotMethod · 0.95
createPreviewMethod · 0.95

Calls 1

Tested by

no test coverage detected