diff --git a/components/chat.tsx b/components/chat.tsx index f35981d..bd96478 100644 --- a/components/chat.tsx +++ b/components/chat.tsx @@ -530,7 +530,7 @@ export function Chat({ {m.role === "user" ? ( // User text renders plain: the model's LaTeX pipeline is not // applied to learner-authored text ($ stays $, no surprises). -
+
{m.parts.filter((p) => p.type === "text").map((p) => p.text).join("\n")}
) : (