Add patient personalization: profile saved once, reused every chat turn

This commit is contained in:
2026-08-25 11:55:13 +07:00
parent 501c226ecd
commit 1ddd878431
12 changed files with 548 additions and 6 deletions
+11
View File
@@ -0,0 +1,11 @@
import { ProfileForm } from "../_components/ProfileForm";
/**
* Only reachable by a logged-in account (linked from `AccountMenu`, never
* shown to an anonymous visitor). Saving a profile here is what lets the
* chat composer stop asking age/weight every turn for that account — see
* `ChatPanel.tsx`'s use of `getPatientProfile`.
*/
export default function ProfilePage() {
return <ProfileForm />;
}