Skip to content

Commit 581ad3e

Browse files
authored
Update README.md
1 parent d9c4a49 commit 581ad3e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Follow E2B on [X (Twitter)](https://twitter.com/e2b_dev)
1212

1313
<img width="1200" alt="Post-02" src="https://github.com/e2b-dev/code-interpreter/assets/5136688/2fa8c371-f03c-4186-b0b6-4151e68b0539">
1414

15+
## Custom E2B sandbox with Code Interpreter SDK
16+
17+
Follow [this guide](./template/README.md) if you want to customize the Code Interprerter sandbox (e.g.: add a preinstalled package). The customization is done via [custom E2B sandbox template](https://e2b.dev/docs/sandbox/templates/overview).
18+
1519
## Installation
1620

1721
### Python
@@ -180,11 +184,6 @@ await sandbox.notebook.execCell(code, {
180184
await sandbox.close()
181185
```
182186

183-
## Custom E2B sandbox with Code Interpreter SDK
184-
185-
The template requires custom setup. If you want to build your own custom template and use Code Interpreter, look at [README.md](./template/README.md) in the template folder.
186-
187-
188187
## How the SDK works
189188
The code generated by LLMs is often split into code blocks, where each subsequent block references the previous one. This is a common pattern in Jupyter notebooks, where each cell can reference the variables and definitions from the previous cells. In the classical sandbox each code execution is independent and does not share the context with the previous executions.
190189

0 commit comments

Comments
 (0)