"use client"; import { useState } from "react"; import { ChevronDownIcon, SparklesIcon } from "@/components/icons"; import { useI18n } from "@/lib/i18n"; import { cn } from "@/lib/utils"; /** * Reasoning models stream `thinking` separately from the answer. It is hidden * by default behind this row — the answer itself is never the raw reasoning. */ export function ThinkingRow({ thinking, streaming }: { thinking: string; streaming?: boolean }) { const { t } = useI18n(); const [open, setOpen] = useState(false); return (