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

Method resetRuns

packages/ai-client/src/devtools.ts:1397–1401  ·  view source on GitHub ↗

Clear all per-run history. Called when the client `reset()`s.

()

Source from the content-addressed store, hash-verified

1395
1396 /** Clear all per-run history. Called when the client `reset()`s. */
1397 resetRuns(): void {
1398 this.activeRunId = null
1399 this.activeRunStarted = false
1400 this.devtoolsRuns = []
1401 }
1402
1403 /** Record state changes from the client and emit the matching snapshot. */
1404 recordResultChange(): void {

Callers 2

resetMethod · 0.45
resetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected