MCPcopy Create free account
hub / github.com/TanStack/ai / handleRunErrorEvent

Method handleRunErrorEvent

packages/ai/src/activities/chat/index.ts:1222–1226  ·  view source on GitHub ↗
(
    _chunk: Extract<StreamChunk, { type: 'RUN_ERROR' }>,
  )

Source from the content-addressed store, hash-verified

1220 }
1221
1222 private handleRunErrorEvent(
1223 _chunk: Extract<StreamChunk, { type: 'RUN_ERROR' }>,
1224 ): void {
1225 this.earlyTermination = true
1226 }
1227
1228 private finalizeCurrentThinkingStep(): void {
1229 if (this.currentThinkingContent) {

Callers 1

handleStreamChunkMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected