Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add different border colors to differenlogs

Vasek Mlejnskyef01510ef3c1
diff --git a/components/Editor/RightSidebar/Logs/LogEntry.tsx b/components/Editor/RightSidebar/Logs/LogEntry.tsx
index 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-lg
p-3
border
- ">
+ ${log.type === LogType.Tool ? 'border-green-300' : 'border-blue-300'}
+ `}>
{log.type === 'thought' &&
<Thought
log={log}
diff --git a/components/Editor/RightSidebar/Logs/Thought.tsx b/components/Editor/RightSidebar/Logs/Thought.tsx
index 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-normal
font-sans
- text-xs
- text-slate-400
+ text-slate-500
">
{log.content}
</div>