Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

fix(docs): update Modal keep_warm to min_containers (#945)

r33drichards0ba0ba9d80a8
diff --git a/docs/scripts/modal_app.py b/docs/scripts/modal_app.py
index ed6a24c231..00825717ce 100644
--- a/docs/scripts/modal_app.py
+++ b/docs/scripts/modal_app.py
@@ -1496,7 +1496,7 @@ async def scheduled_code_index():
volumes={VOLUME_PATH: docs_volume, CODE_VOLUME_PATH: code_volume},
cpu=1.0,
memory=2048,
- keep_warm=1, # Keep one container warm to avoid cold start latency
+ min_containers=1, # Keep one container warm to avoid cold start latency
)
@modal.concurrent(max_inputs=10)
@modal.asgi_app(custom_domains=["docs-mcp.cua.ai"])