-
setIsExpanded(!isExpanded)}
- >
-
- {isExpanded ? '▼' : '▶'}
-
-
- 🔧 Tool: {toolName}
-
-
- {isExpanded && (
-
- {xmlContent}
-
- )}
-
- );
-};
interface AssistantMessageProps {
content: string;
@@ -62,95 +31,34 @@ const CodeComponent = memo(({ inline, className, children, ...props }: any) => {
});
const AssistantMessage: React.FC