From 1799bfed3ff0c9e050b2b2d5447a59fdf69f29fa Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 10 Jun 2025 17:46:37 +0700 Subject: [PATCH] chore: temporary disable web response --- web-app/src/containers/ToolCallBlock.tsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) 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'}