feat(floating-ai): step 6 — pass uiContext through to the AI

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Roberto Musso
2026-02-28 09:40:00 +01:00
parent 6c498c5f40
commit d12681b79f
3 changed files with 16 additions and 12 deletions

View File

@@ -552,6 +552,7 @@ const aiRouter = router({
context: z.object({
type: z.enum(['global', 'project']),
projectId: z.string().optional(),
uiContext: z.string().optional(),
}),
}))
.mutation(async ({ input, ctx }) => {