Merge pull request #107 from JensWallgren/tool-result-legacy-dark-fix

Add dark mode support for the legacy Tool Result display
This commit is contained in:
Ashwin Bhat
2024-12-09 02:03:34 -08:00
committed by GitHub

View File

@@ -100,7 +100,7 @@ const ToolsTab = ({
return ( return (
<> <>
<h4 className="font-semibold mb-2">Tool Result (Legacy):</h4> <h4 className="font-semibold mb-2">Tool Result (Legacy):</h4>
<pre className="bg-gray-50 p-4 rounded text-sm overflow-auto max-h-64"> <pre className="bg-gray-50 dark:bg-gray-800 dark:text-gray-100 p-4 rounded text-sm overflow-auto max-h-64">
{JSON.stringify(toolResult.toolResult, null, 2)} {JSON.stringify(toolResult.toolResult, null, 2)}
</pre> </pre>
</> </>