Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Update README.md

Vasek Mlejnsky9981f98eb9ef
diff --git a/packages/js-sdk/README.md b/packages/js-sdk/README.md
index 67c0eeb94..357c50a28 100644
--- a/packages/js-sdk/README.md
+++ b/packages/js-sdk/README.md
@@ -1,5 +1,5 @@
<p align="center">
- <img width="100" src="/readme-assets/logo-circle.png" alt="e2b logo">
+ <img width="100" src="https://github.com/e2b-dev/E2B/blob/main/readme-assets/logo-circle.png" alt="e2b logo">
</p>
<h4 align="center">
@@ -37,9 +37,9 @@ E2B_API_KEY=e2b_***
import { 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
```