Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Update README.md
Vasek Mlejnskybb28eb5ec8ef
diff --git a/README.md b/README.mdindex 5b9626ff3..b124b6546 100644--- a/README.md+++ b/README.md@@ -51,9 +51,9 @@ JavaScript / TypeScriptimport { Sandbox } from '@e2b/code-interpreter'const sandbox = await Sandbox.create()-await sbx.runCode()('x = 1')+await sbx.runCode('x = 1')-const execution = await sbx.runCode()('x+=1; x')+const execution = await sbx.runCode('x+=1; x')console.log(execution.text) // outputs 2```@@ -62,8 +62,8 @@ Pythonfrom e2b_code_interpreter import Sandboxwith Sandbox() as sandbox:- sandbox.run_code()("x = 1")- execution = sandbox.run_code()("x+=1; x")+ sandbox.run_code("x = 1")+ execution = sandbox.run_code("x+=1; x")print(execution.text) # outputs 2```