diff --git a/docs/deploy/e2b.mdx b/docs/deploy/e2b.mdx index e2d5922..f7ac7ba 100644 --- a/docs/deploy/e2b.mdx +++ b/docs/deploy/e2b.mdx @@ -29,7 +29,7 @@ await sandbox.commands.run("sandbox-agent install-agent codex"); await sandbox.commands.run( "sandbox-agent server --no-token --host 0.0.0.0 --port 3000", - { background: true } + { background: true, timeoutMs: 0 } ); const baseUrl = `https://${sandbox.getHost(3000)}`; diff --git a/examples/e2b/src/index.ts b/examples/e2b/src/index.ts index 143d215..48fcc01 100644 --- a/examples/e2b/src/index.ts +++ b/examples/e2b/src/index.ts @@ -23,7 +23,7 @@ await run("sandbox-agent install-agent claude"); await run("sandbox-agent install-agent codex"); console.log("Starting server..."); -await sandbox.commands.run("sandbox-agent server --no-token --host 0.0.0.0 --port 3000", { background: true }); +await sandbox.commands.run("sandbox-agent server --no-token --host 0.0.0.0 --port 3000", { background: true, timeoutMs: 0 }); const baseUrl = `https://${sandbox.getHost(3000)}`;