chore upgrade assistant to AI SDK v7
This commit is contained in:
1 parent
e662a175c0
commit
876f312a2e
6 files changed
+37
-8
No files matched your search
@@ -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(),
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user