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

Method recordVideoStatusChange

packages/ai-client/src/devtools.ts:1586–1593  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1584 }
1585
1586 recordVideoStatusChange(): void {
1587 const core = this.getCoreState() as VideoDevtoolsCoreState<TOutput>
1588 this.updateActiveRun({
1589 videoStatus: core.videoStatus,
1590 preview: this.createVideoPreview(core.result, core.videoStatus),
1591 } as VideoRunPatch<TOutput>)
1592 this.emitState()
1593 }
1594
1595 protected override buildSnapshot(): AIDevtoolsVideoSnapshotBase<TOutput> {
1596 const core = this.getCoreState() as VideoDevtoolsCoreState<TOutput>

Callers 1

setVideoStatusMethod · 0.45

Calls 3

createVideoPreviewMethod · 0.95
updateActiveRunMethod · 0.80
emitStateMethod · 0.45

Tested by

no test coverage detected