chore upgrade assistant to AI SDK v7

This commit is contained in:
ajnart committed 2026-08-10 14:48:09 +02:00
1 parent 2495b4c4a2
commit 82bc4e21a9
7 files changed
+546 -363

No files matched your search

+1
View File
@@ -796,6 +796,7 @@ export const assistantRouter = createTRPCRouter({
threadId: z.string().max(64),
id: z.string().min(1).max(128),
parentId: z.string().max(128).nullable(),
// The current assistant-ui AI SDK v7 adapter uses this value as its persisted wire-format identifier.
format: z.literal("ai-sdk/v6"),
content: z.unknown(),
}),