mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage
synced 2026-04-11 18:28:15 +00:00
- Server: POST /api/ai/stream using streamText with tools (lookup_patient, lookup_appointments, lookup_doctor) - Frontend: AiChatPanel rewritten with @ai-sdk/react useChat hook - Tool result cards: PatientCard, AppointmentCard, DoctorCard - Streaming works server-side but useChat v1 doesn't parse AI SDK v6 toTextStreamResponse format - Context panel layout needs redesign — context section fills entire panel, chat pushed below fold - TODO: Fix streaming protocol, redesign panel layout with collapsible context Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
273 KiB
273 KiB