fix(*): images do work

This commit is contained in:
h
2026-01-21 02:33:01 +01:00
parent 69ddb3173f
commit 6ccc06f90f
6 changed files with 85 additions and 113 deletions

View File

@@ -23,8 +23,9 @@ export default defineSchema({
chatId: v.id('chats'),
role: v.union(v.literal('user'), v.literal('assistant')),
content: v.string(),
imageStorageId: v.optional(v.id('_storage')),
imageBase64: v.optional(v.string()),
imageMediaType: v.optional(v.string()),
imageStorageId: v.optional(v.id('_storage')),
followUpOptions: v.optional(v.array(v.string())),
source: v.union(v.literal('telegram'), v.literal('web')),
createdAt: v.number(),