File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 11# This is a config for E2B sandbox template.
2- # You can use template ID (nlhz8vlwyupq845jsdg9 ) or template name (code-interpreter-v1 ) to create a sandbox:
2+ # You can use template ID (n1vc02i7rx9xg0lao9nx ) or template name (code-interpreter-v1beta1 ) to create a sandbox:
33
44# Python SDK
55# from e2b import Sandbox, AsyncSandbox
6- # sandbox = Sandbox("code-interpreter-v1 ") # Sync sandbox
7- # sandbox = await AsyncSandbox.create("code-interpreter-v1 ") # Async sandbox
6+ # sandbox = Sandbox("code-interpreter-v1beta1 ") # Sync sandbox
7+ # sandbox = await AsyncSandbox.create("code-interpreter-v1beta1 ") # Async sandbox
88
99# JS SDK
1010# import { Sandbox } from 'e2b'
11- # const sandbox = await Sandbox.create('code-interpreter-v1')
11+ # const sandbox = await Sandbox.create('code-interpreter-v1beta1')
12+
1213team_id = " 460355b3-4f64-48f9-9a16-4442817f79f5"
1314memory_mb = 1_024
1415start_cmd = " sudo -u user /home/user/.jupyter/start-up.sh"
15- dockerfile = " e2b. Dockerfile"
16- template_name = " code-interpreter-v1 "
17- template_id = " nlhz8vlwyupq845jsdg9 "
16+ dockerfile = " Dockerfile"
17+ template_name = " code-interpreter-v1beta1 "
18+ template_id = " n1vc02i7rx9xg0lao9nx "
You can’t perform that action at this time.
0 commit comments