Update client/src/components/ToolsTab.tsx
Co-authored-by: ashwin-ant <ashwin@anthropic.com>
This commit is contained in:
@@ -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>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user