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

Method onSessionRunError

packages/ai-client/src/client-persistor.ts:279–282  ·  view source on GitHub ↗

A session-level (runId-less) RUN_ERROR clears all ignored-run tracking.

()

Source from the content-addressed store, hash-verified

277
278 /** A session-level (runId-less) RUN_ERROR clears all ignored-run tracking. */
279 onSessionRunError(): void {
280 this.ignoredActiveRunIds.clear()
281 this.currentRunlessRunId = null
282 }
283
284 /** Clear the ignored-active-run markers (mirrors a session-generating reset). */
285 resetIgnored(): void {

Callers 2

updateRunLifecycleMethod · 0.80

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected