From 70655a5ea1b0ee3f26136bcca9c881fbecbdce23 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Mon, 17 Feb 2025 10:11:59 -0300 Subject: [PATCH] fix: improve output check (#6638) * fix: simplify output check and add debug logging in ContentDisplay component * fix: remove unnecessary console log in ContentDisplay component --- .../src/components/core/chatComponents/ContentDisplay.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/core/chatComponents/ContentDisplay.tsx b/src/frontend/src/components/core/chatComponents/ContentDisplay.tsx index e2cfb00a0..1100e0255 100644 --- a/src/frontend/src/components/core/chatComponents/ContentDisplay.tsx +++ b/src/frontend/src/components/core/chatComponents/ContentDisplay.tsx @@ -209,7 +209,7 @@ export default function ContentDisplay({ language="json" code={JSON.stringify(content.tool_input, null, 2)} /> - {content.output !== undefined && ( + {content.output && ( <>