MCPcopy
hub / github.com/TanStack/ai / updateActiveRun

Method updateActiveRun

packages/ai-client/src/devtools.ts:1458–1461  ·  view source on GitHub ↗
(patch: GenerationRunPatch<TOutput>)

Source from the content-addressed store, hash-verified

1456 }
1457
1458 protected updateActiveRun(patch: GenerationRunPatch<TOutput>): void {
1459 if (!this.activeRunId) return
1460 this.upsertRun(this.activeRunId, patch)
1461 }
1462
1463 protected upsertRun(runId: string, patch: GenerationRunPatch<TOutput>): void {
1464 const now = Date.now()

Callers 7

recordResultChangeMethod · 0.95
recordLoadingChangeMethod · 0.95
recordErrorChangeMethod · 0.95
recordStatusChangeMethod · 0.95
recordProgressChangeMethod · 0.95
recordJobIdChangeMethod · 0.80

Calls 1

upsertRunMethod · 0.95

Tested by

no test coverage detected