diff --git a/web-app/src/containers/ToolCallBlock.tsx b/web-app/src/containers/ToolCallBlock.tsx index f1e50c939..f43b794fa 100644 --- a/web-app/src/containers/ToolCallBlock.tsx +++ b/web-app/src/containers/ToolCallBlock.tsx @@ -105,13 +105,13 @@ const ContentItemRenderer = ({ ) } - if (item.type === 'text' && item.text) { - return ( -
- -
- ) - } + // if (item.type === 'text' && item.text) { + // return ( + //
+ // + //
+ // ) + // } // For any other types, render as JSON return ( @@ -215,7 +215,10 @@ const ToolCallBlock = ({ id, name, result, loading }: Props) => { {/* Image Modal */} - !open && closeModal()}> + !open && closeModal()} + > {modalImage?.alt || 'Image'}