Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
boilerplate for integration test template build
0div7dc89ac73683
diff --git a/packages/js-sdk/tests/integration/template/e2b.Dockerfile b/packages/js-sdk/tests/integration/template/e2b.Dockerfilenew file mode 100644index 000000000..65ceb7d65--- /dev/null+++ b/packages/js-sdk/tests/integration/template/e2b.Dockerfile@@ -0,0 +1,8 @@+FROM e2bdev/code-interpreter:latest++# Clone the Next.js app repository+RUN git clone https://github.com/ezesundayeze/basic-nextjs-app++# Install dependencies+RUN cd basic-nextjs-app && npm install+diff --git a/packages/js-sdk/tests/integration/template/e2b.toml b/packages/js-sdk/tests/integration/template/e2b.tomlnew file mode 100644index 000000000..4f6dff736--- /dev/null+++ b/packages/js-sdk/tests/integration/template/e2b.toml@@ -0,0 +1,18 @@+# This is a config for E2B sandbox template.+# You can use template ID (2e2z80zhv34yumbrybvn) or template name (integration-test-v1) to create a sandbox:++# Python SDK+# from e2b import Sandbox, AsyncSandbox+# sandbox = Sandbox("integration-test-v1") # Sync sandbox+# sandbox = await AsyncSandbox.create("integration-test-v1") # Async sandbox++# JS SDK+# import { Sandbox } from 'e2b'+# const sandbox = await Sandbox.create('integration-test-v1')++team_id = "b9c07023-d095-4bdc-9634-e25d5530ba47"+memory_mb = 1_024+start_cmd = "npm run dev"+dockerfile = "e2b.Dockerfile"+template_name = "integration-test-v1"+template_id = "2e2z80zhv34yumbrybvn"