updateMessageWithImages
constupdateMessageWithImages: (id,updates,images) =>Promise<number> =sqliteRepo.updateMessageWithImages
Defined in: src/lib/repositories/chat-history.ts:39
Persist a generated assistant snapshot and its image bytes in one SQLite transaction. Replacing only image rows preserves ordinary RAG attachments.
Parameters
Section titled “Parameters”number
updates
Section titled “updates”Partial<ChatMessage>
images
Section titled “images”ImageAttachment[]
Returns
Section titled “Returns”Promise<number>