mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-25 17:10:42 +00:00
update: sandbox
This commit is contained in:
parent
f70103c781
commit
48941b455c
2 changed files with 16 additions and 0 deletions
|
|
@ -50,6 +50,8 @@ def _write_optimizer_code_to_volume(code: str, volume: Volume) -> str:
|
|||
# --- Modal Function ---
|
||||
@app.function(
|
||||
image=base_image,
|
||||
scaledown_window=60 * 5,
|
||||
min_containers=2,
|
||||
timeout=60 * 30,
|
||||
volumes={"/optimizers": optimizers_volume, "/sysPrompt": sys_prompt_volume},
|
||||
secrets=[Secret.from_name("optimizerSecret")],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue