Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Cleanup

Tomas Valenta99071a243192
diff --git a/components/Editor/Sidebar/Agent/StepsStream/index.tsx b/components/Editor/Sidebar/Agent/StepsStream/index.tsx
index 340466111..c8ddc0d0a 100644
--- a/components/Editor/Sidebar/Agent/StepsStream/index.tsx
+++ b/components/Editor/Sidebar/Agent/StepsStream/index.tsx
@@ -34,8 +34,6 @@ function StepsStream({
ref.current.scrollIntoView({ behavior: 'auto' })
}, [steps, isRunning])
- console.log('running', isRunning)
-
return (
<div
className="
diff --git a/components/Editor/Sidebar/Agent/Tool/index.tsx b/components/Editor/Sidebar/Agent/Tool/index.tsx
index 4723af8cb..abba0266f 100644
--- a/components/Editor/Sidebar/Agent/Tool/index.tsx
+++ b/components/Editor/Sidebar/Agent/Tool/index.tsx
@@ -36,4 +36,4 @@ function Tool({
}
}
-export default Tool
\ No newline at end of file
+export default Tool
diff --git a/components/Editor/Sidebar/index.tsx b/components/Editor/Sidebar/index.tsx
index 2f86026fc..45383093f 100644
--- a/components/Editor/Sidebar/index.tsx
+++ b/components/Editor/Sidebar/index.tsx
@@ -32,7 +32,6 @@ function Sidebar({
start,
agentState,
} = useAgentRun()
- console.log('new', newSteps)
const [selectors] = useStateStore()
const modelConfig = selectors.use.getSelectedModelConfig()()
const instructions = selectors.use.instructions()
diff --git a/pages/api/service/[...all].ts b/pages/api/service/[...all].ts
index 7248d558d..cac34a36d 100644
--- a/pages/api/service/[...all].ts
+++ b/pages/api/service/[...all].ts
@@ -22,12 +22,11 @@ const proxy = createProxyMiddleware<NextApiRequest, NextApiResponse>({
target,
ws: true,
secure: !isSecure,
- // changeOrigin: false,
+ changeOrigin: false,
pathRewrite: { [`^${pathPrefix}`]: '' }, // remove prefix
})
export default function handler(req: NextApiRequest, res: NextApiResponse) {
- console.log('Proxy', req.url)
proxy(req, res, (result: unknown) => {
if (result instanceof Error) {
throw result