Update client/src/components/ToolsTab.tsx
Co-authored-by: ashwin-ant <ashwin@anthropic.com>
This commit is contained in:
parent
fbac5b78bc
commit
60578314aa
1 changed files with 5 additions and 2 deletions
|
|
@ -49,8 +49,11 @@ const ToolsTab = ({
|
||||||
{JSON.stringify(toolResult, null, 2)}
|
{JSON.stringify(toolResult, null, 2)}
|
||||||
</pre>
|
</pre>
|
||||||
<h4 className="font-semibold mb-2">Errors:</h4>
|
<h4 className="font-semibold mb-2">Errors:</h4>
|
||||||
{parsedResult.error.errors.map((error) => (
|
{parsedResult.error.errors.map((error, idx) => (
|
||||||
<pre className="bg-gray-50 dark:bg-gray-800 dark:text-gray-100 p-4 rounded text-sm overflow-auto max-h-64">
|
<pre
|
||||||
|
key={idx}
|
||||||
|
className="bg-gray-50 dark:bg-gray-800 dark:text-gray-100 p-4 rounded text-sm overflow-auto max-h-64"
|
||||||
|
>
|
||||||
{JSON.stringify(error, null, 2)}
|
{JSON.stringify(error, null, 2)}
|
||||||
</pre>
|
</pre>
|
||||||
))}
|
))}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue