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.
AGUIEvent
string | undefined