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:
parent
a7869d291b
commit
70655a5ea1
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ export default function ContentDisplay({
|
||||||
language="json"
|
language="json"
|
||||||
code={JSON.stringify(content.tool_input, null, 2)}
|
code={JSON.stringify(content.tool_input, null, 2)}
|
||||||
/>
|
/>
|
||||||
{content.output !== undefined && (
|
{content.output && (
|
||||||
<>
|
<>
|
||||||
<Markdown
|
<Markdown
|
||||||
remarkPlugins={[remarkGfm]}
|
remarkPlugins={[remarkGfm]}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue