fix: improve output check (#6638)

* fix: simplify output check and add debug logging in ContentDisplay component

* fix: remove unnecessary console log in ContentDisplay component
This commit is contained in:
anovazzi1 2025-02-17 10:11:59 -03:00 committed by GitHub
commit 70655a5ea1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -209,7 +209,7 @@ export default function ContentDisplay({
language="json"
code={JSON.stringify(content.tool_input, null, 2)}
/>
{content.output !== undefined && (
{content.output && (
<>
<Markdown
remarkPlugins={[remarkGfm]}