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

Function addChunk

packages/ai-devtools/src/store/ai-context.tsx:1076–1079  ·  view source on GitHub ↗
(conversationId: string, chunk: Chunk)

Source from the content-addressed store, hash-verified

1074 }
1075
1076 function addChunk(conversationId: string, chunk: Chunk): void {
1077 if (!state.conversations[conversationId]) return
1078 queueChunk(conversationId, chunk)
1079 }
1080
1081 function addActivityEvent(
1082 conversationId: string,

Callers 3

addChunkToMessageFunction · 0.85
AIProviderFunction · 0.85
recordStructuredOutputFunction · 0.85

Calls 1

queueChunkFunction · 0.85

Tested by

no test coverage detected