mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-29 17:35:07 +00:00
update: executor
This commit is contained in:
parent
c818e5257e
commit
24c3c3d34c
3 changed files with 42 additions and 16 deletions
|
|
@ -14,7 +14,7 @@ from modal.sandbox import Sandbox
|
|||
|
||||
# --- Modal App and Images ---
|
||||
APP_NAME = "optimizer-test"
|
||||
SANDBOX_APP_NAME = "sandboxedExecution"
|
||||
SANDBOX_APP_NAME = "new_sandbox"
|
||||
|
||||
app = App(APP_NAME)
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ sys_prompt_volume = Volume.from_name("optimizerSystemPrompt")
|
|||
|
||||
# --- Sandbox Setup ---
|
||||
sandbox_app = App.lookup(SANDBOX_APP_NAME, create_if_missing=True)
|
||||
sandbox = Sandbox.create(app=sandbox_app, image=sandbox_image)
|
||||
sandbox = Sandbox.create(app=sandbox_app, image=sandbox_image, timeout=60 * 60)
|
||||
|
||||
|
||||
# --- Utility Functions ---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue