Add patient personalization: profile saved once, reused every chat turn
This commit is contained in:
@@ -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 />;
|
||||
}
|
||||
Reference in New Issue
Block a user