Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
fix incorrect code snippet
Vasek Mlejnsky46aa4ec20a80
diff --git a/apps/web/src/app/(docs)/docs/code-interpreting/supported-languages/bash/page.mdx b/apps/web/src/app/(docs)/docs/code-interpreting/supported-languages/bash/page.mdxindex 0478795a8..b0ec39d26 100644--- a/apps/web/src/app/(docs)/docs/code-interpreting/supported-languages/bash/page.mdx+++ b/apps/web/src/app/(docs)/docs/code-interpreting/supported-languages/bash/page.mdx@@ -6,14 +6,14 @@ You'll need to pass the `language` parameter with value `bash`.import { Sandbox } from '@e2b/code-interpreter'const sbx = await Sandbox.create()-const execution = await sbx.runCode('console.log("Hello, world!")', { language: 'bash' })+const execution = await sbx.runCode('echo "Hello, world!"', { language: 'bash' })console.log(execution)``````pythonfrom e2b_code_interpreter import Sandboxsbx = Sandbox()-execution = sbx.run_code('console.log("Hello, world!")', { language: 'bash' })+execution = sbx.run_code("echo 'Hello, world!'", language="bash")print(execution)```</CodeGroup>\ No newline at end of file