Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Update sandbox id mentions in the docs

Tomas Valentafee144d649b1
diff --git a/apps/docs/src/app/sandbox/custom/page.mdx b/apps/docs/src/app/sandbox/custom/page.mdx
index 42d53ce4f..7a79675cb 100644
--- a/apps/docs/src/app/sandbox/custom/page.mdx
+++ b/apps/docs/src/app/sandbox/custom/page.mdx
@@ -32,7 +32,7 @@ Once you build your custom sandbox template, you can spawn multiple isolated san
# Create new sandbox
sandbox = Sandbox(
- template="<sandbox-template-id>", # You get sandbox ID from the CLI after you run `$ e2b build`
+ template="<sandbox-template>", # You get sandbox template from the CLI after you run `$ e2b build`
)
# Close sandbox once done
diff --git a/apps/docs/src/app/sandbox/templates/overview/page.mdx b/apps/docs/src/app/sandbox/templates/overview/page.mdx
index 469705afd..5efa6955c 100644
--- a/apps/docs/src/app/sandbox/templates/overview/page.mdx
+++ b/apps/docs/src/app/sandbox/templates/overview/page.mdx
@@ -32,8 +32,8 @@ Follow our [guide](/guide/custom-sandbox) on how to create a custom sandbox.
// Create new sandbox
const sandbox = await Sandbox.create({
- // You get sandbox ID from the CLI after you run `$ e2b build`
- template: '<sandbox-template-id>', // $HighlightLine
+ // You get sandbox template from the CLI after you run `$ e2b build`
+ template: '<sandbox-template>', // $HighlightLine
})
// Close sandbox once done
@@ -45,8 +45,8 @@ Follow our [guide](/guide/custom-sandbox) on how to create a custom sandbox.
# Create new sandbox
sandbox = Sandbox(
- # You get sandbox ID from the CLI after you run `$ e2b build`
- template="<sandbox-template-id>", # $HighlightLine
+ # You get sandbox template from the CLI after you run `$ e2b build`
+ template="<sandbox-template>", # $HighlightLine
)
# Close sandbox once done