Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Set default template to "base" on spawn command (#938)
Mish Ushakov8f53fdc74619
diff --git a/.changeset/poor-walls-punch.md b/.changeset/poor-walls-punch.mdnew file mode 100644index 000000000..042aa2703--- /dev/null+++ b/.changeset/poor-walls-punch.md@@ -0,0 +1,5 @@+---+'@e2b/cli': patch+---++set default template to spawn commanddiff --git a/packages/cli/src/commands/sandbox/create.ts b/packages/cli/src/commands/sandbox/create.tsindex 3bde93783..16e159d35 100644--- a/packages/cli/src/commands/sandbox/create.ts+++ b/packages/cli/src/commands/sandbox/create.ts@@ -66,10 +66,7 @@ export function createCommand(}if (!templateID) {- console.error(- 'You need to specify sandbox template ID or path to sandbox template config'- )- process.exit(1)+ templateID = 'base'}await connectSandbox({ apiKey, template: { templateID } })