Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Update E2B configs

Tomas Valenta866b91750338
diff --git a/sandboxes/base/e2b.toml b/sandboxes/base/e2b.toml
index 5379898ff..8941fa824 100644
--- a/sandboxes/base/e2b.toml
+++ b/sandboxes/base/e2b.toml
@@ -1,4 +1,13 @@
-# This is a config for E2B sandbox template
+# This is a config for E2B sandbox template.
+# You can use 'template_id' (rki5dems9wqfm4r03t7g) from this config to spawn a sandbox:
+
+# Python SDK
+# from e2b import Sandbox
+# sandbox = Sandbox(template='rki5dems9wqfm4r03t7g')
+
+# JS SDK
+# import { Sandbox } from 'e2b'
+# const sandbox = await Sandbox.create({ template: 'rki5dems9wqfm4r03t7g' })
-id = "rki5dems9wqfm4r03t7g"
dockerfile = "e2b.Dockerfile"
+template_id = "rki5dems9wqfm4r03t7g"
diff --git a/sandboxes/code-interpreter/e2b.toml b/sandboxes/code-interpreter/e2b.toml
index 3e9b52c64..646dc0e37 100644
--- a/sandboxes/code-interpreter/e2b.toml
+++ b/sandboxes/code-interpreter/e2b.toml
@@ -1,4 +1,13 @@
-# This is a config for E2B sandbox template
+# This is a config for E2B sandbox template.
+# You can use 'template_id' (fv7bfqp4wyo42829htzt) from this config to spawn a sandbox:
+
+# Python SDK
+# from e2b import Sandbox
+# sandbox = Sandbox(template='fv7bfqp4wyo42829htzt')
+
+# JS SDK
+# import { Sandbox } from 'e2b'
+# const sandbox = await Sandbox.create({ template: 'fv7bfqp4wyo42829htzt' })
-id = "fv7bfqp4wyo42829htzt"
dockerfile = "e2b.Dockerfile"
+template_id = "fv7bfqp4wyo42829htzt"