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

Function runStarted

packages/ai-client/tests/client-persistor.test.ts:42–44  ·  view source on GitHub ↗
(runId: string, threadId: string = 'thread-1')

Source from the content-addressed store, hash-verified

40// must live on the chunk itself (only RUN_STARTED/RUN_FINISHED carry one).
41
42function runStarted(runId: string, threadId: string = 'thread-1'): StreamChunk {
43 return { type: EventType.RUN_STARTED, threadId, runId }
44}
45
46function runFinished(
47 runId: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected