function interleaveActivityRecords(modelUI, records): UIMessage<unknown>[];Defined in: packages/ai/src/activities/chat/activity-records.ts:46
Insert activity rows into a model-derived UI transcript at each record's stored index. Earlier records are inserted first so later indexes stay aligned with the growing list.
UIMessage<unknown>[]
UIMessage<unknown>[]