Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

getChunkThreadId.md

22 lines360 Bytes

function getChunkThreadId(chunk): string | undefined;

Defined in: packages/ai/src/utilities/chunk-ids.ts:18

Thread id on the spec event, or metadata.tanstack.threadId after normalize.

Parameters

chunk

AGUIEvent

Returns

string | undefined