Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
commit
Vasek Mlejnskyd623cce20439
diff --git a/api-service/cf-worker-template/index.js b/api-service/cf-worker-template/index.jsindex 4f0bddfa5..cb8c2ed58 100644--- a/api-service/cf-worker-template/index.js+++ b/api-service/cf-worker-template/index.js@@ -10,7 +10,7 @@ async function handlepostRequest(request) {return new Response(JSON.stringify({ error: 'Invalid email' }), { status: 400 })}// save email to Supabase DB- // respond with "Ok" message in JSON+ // respond with "Ok" messagereturn new Response(JSON.stringify({ message: 'Ok' }), { status: 200 })}diff --git a/api-service/codegen/tools/javascript/tool.py b/api-service/codegen/tools/javascript/tool.pyindex ba9b01400..7b3ade6e1 100644--- a/api-service/codegen/tools/javascript/tool.py+++ b/api-service/codegen/tools/javascript/tool.py@@ -5,7 +5,7 @@ from codegen.tools.javascript.eval import eval as js_evalclass JavascriptEvalTool(BaseTool):- name = "JavaScript Code Execution"+ name = "JavaScriptCodeExecution"description = ("JavaScript eval() function that can execute code. Use this to execute and evaluate javascript code. ""Input should be a valid javascript code. "diff --git a/components/Editor/index.tsx b/components/Editor/index.tsxindex a63814a96..72ac740bc 100644--- a/components/Editor/index.tsx+++ b/components/Editor/index.tsx@@ -185,10 +185,24 @@ function Editor({ project }: Props) {)}</div><ConnectionLine className='min-h-[16px]' />- <AddBlockButton addBlock={() => {- addBlock(selectedRoute.id)- setTimeout(() => setFocusedBlock({ index: selectedRoute.blocks.length }), 0)- }} />+ <AddBlockButton+ addBlock={() => {+ addBlock(selectedRoute.id)+ setTimeout(() => setFocusedBlock({ index: selectedRoute.blocks.length }), 0)+ }}+ />+ <a+ href={deployedURL}+ className="+ mt-6+ underline+ "+ >+ <Text+ size={Text.size.S3}+ text={deployedURL.substring('https://'.length)}+ />+ </a></div><Logslogs={logs}diff --git a/components/Sidebar.tsx b/components/Sidebar.tsxindex 4dc57d37a..508e4e5a8 100644--- a/components/Sidebar.tsx+++ b/components/Sidebar.tsx@@ -19,6 +19,7 @@ function Sidebar({ children, side, className }: PropsWithChildren<Props>) {flex${side === Side.Left ? 'w-[180px]' : 'w-[380px]'}border-slate-200+ bg-white`,{'border-r': side === Side.Left,