%# /templates/ai.html.ep % layout 'default'; % title icon('imposter') . ' Family Pulse AI'; % content_for 'head' => begin % end

<%= icon('imposter') %> Family Pulse AI

% for my $msg (@$history) {
<%= $msg->{role} eq 'user' ? icon(session('user')) : '🧠' %>
% } % unless (@$history) {

🧠 I'm your dashboard assistant. Ask me anything about your medications, shopping, or calendar.

% }