mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 07:04:48 +00:00
fix timeout for e2b (docs)
This commit is contained in:
parent
783ea1086a
commit
c68c614a57
2 changed files with 2 additions and 2 deletions
|
|
@ -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)}`;
|
||||
|
|
|
|||
|
|
@ -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)}`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue