import React from 'react'; import { Badge } from '@/components/UI'; import MessageTool from './MessageTool'; import type { DebugTranscriptTextRow, DebugTranscriptToolRow } from './types'; const TranscriptAssistantBlock: React.FC<{ message?: DebugTranscriptTextRow; tools: DebugTranscriptToolRow[]; }> = ({ message, tools }) => { const isStreaming = Boolean(message?.isStreaming) || tools.some((tool) => tool.status === 'pending'); return (