import { deriveThinkingSummary } from "../../utils/toolCall"; import styles from "./ThinkingBlock.module.css"; interface ThinkingBlockProps { content: string; streaming?: boolean; } export function ThinkingBlock({ content, streaming }: ThinkingBlockProps) { const summary = deriveThinkingSummary(content); return (
思考 {summary}
{content}
); }