Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Add different border colors to differenlogs
Vasek Mlejnskyef01510ef3c1
diff --git a/components/Editor/RightSidebar/Logs/LogEntry.tsx b/components/Editor/RightSidebar/Logs/LogEntry.tsxindex d25b1d059..603245c16 100644--- a/components/Editor/RightSidebar/Logs/LogEntry.tsx+++ b/components/Editor/RightSidebar/Logs/LogEntry.tsx@@ -10,11 +10,12 @@ export interface Props {function LogEntry({ log, onAnswer }: Props) {return (- <div className="+ <div className={`rounded-lgp-3border- ">+ ${log.type === LogType.Tool ? 'border-green-300' : 'border-blue-300'}+ `}>{log.type === 'thought' &&<Thoughtlog={log}diff --git a/components/Editor/RightSidebar/Logs/Thought.tsx b/components/Editor/RightSidebar/Logs/Thought.tsxindex 08d5491ba..7ecc492a7 100644--- a/components/Editor/RightSidebar/Logs/Thought.tsx+++ b/components/Editor/RightSidebar/Logs/Thought.tsx@@ -9,12 +9,10 @@ function Thought({}: Props) {return (<div className="- italic- leading-[21px]+ leading-[24px]tracking-normalfont-sans- text-xs- text-slate-400+ text-slate-500">{log.content}</div>