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

Method beginRun

packages/ai-client/src/devtools.ts:803–807  ·  view source on GitHub ↗
(runId: string, threadId: string)

Source from the content-addressed store, hash-verified

801 // the matching RUN_STARTED chunk from the adapter lands later and
802 // observeChunk keeps the same context.
803 beginRun(runId: string, threadId: string): void {
804 this.currentRunId = runId
805 this.currentRunThreadId = threadId
806 this.lastRunEventContext = { runId, threadId }
807 }
808
809 observeChunk(chunk: StreamChunk): void {
810 if (chunk.type === 'RUN_STARTED') {

Callers 4

observeChunkMethod · 0.95
generateMethod · 0.45
streamResponseMethod · 0.45
generateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected