Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
commit
Vasek Mlejnsky497f7339a09e
diff --git a/components/Editor/RightSidebar/Logs/LogEntry.tsx b/components/Editor/RightSidebar/Logs/LogEntry.tsxindex aa13e4fae..e98018109 100644--- a/components/Editor/RightSidebar/Logs/LogEntry.tsx+++ b/components/Editor/RightSidebar/Logs/LogEntry.tsx@@ -1,8 +1,5 @@-import {- useEffect,-} from 'react'-import hljs from 'highlight.js'-import { Log } from 'db/types'++import {Code2,Package,@@ -12,6 +9,8 @@ import {} from 'lucide-react'import { ReactMarkdown } from 'react-markdown/lib/react-markdown'+import { Log } from 'db/types'+function getToolIcon(toolName: string) {switch (toolName) {@@ -31,11 +30,11 @@ export interface Props {}function LogEntry({ log }: Props) {- useEffect(function highlightCode() {- if (log.type === 'tool' && log.name === 'RunJavaScriptCode') {- hljs.highlightAll()- }- }, [log])+ // useEffect(function highlightCode() {+ // if (log.type === 'tool' && log.name === 'RunJavaScriptCode') {+ // hljs.highlightAll()+ // }+ // }, [log])return (<div className="rounded-lg