Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit ·
5a188fd
1
Parent(s): 5af3ab5
fix: increase sandbox sleep_time to 1500s
Browse files
agent/tools/sandbox_tool.py
CHANGED
|
@@ -89,7 +89,7 @@ async def _ensure_sandbox(
|
|
| 89 |
)
|
| 90 |
)
|
| 91 |
|
| 92 |
-
kwargs = {"owner": owner, "hardware": hardware, "token": token, **create_kwargs}
|
| 93 |
sb = await asyncio.to_thread(Sandbox.create, **kwargs)
|
| 94 |
session.sandbox = sb
|
| 95 |
|
|
|
|
| 89 |
)
|
| 90 |
)
|
| 91 |
|
| 92 |
+
kwargs = {"owner": owner, "hardware": hardware, "token": token, "sleep_time": 1500, **create_kwargs}
|
| 93 |
sb = await asyncio.to_thread(Sandbox.create, **kwargs)
|
| 94 |
session.sandbox = sb
|
| 95 |
|