Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

fix: add sandbox idle time setting

zzixuan5c5b77c537c3
diff --git a/deploy/enterprise/update_conf.sh b/deploy/enterprise/update_conf.sh
index 3e0624ef12..b35b0661de 100755
--- a/deploy/enterprise/update_conf.sh
+++ b/deploy/enterprise/update_conf.sh
@@ -15,5 +15,7 @@ yq eval '.react.max_iterations = "<<AGENT_SERVER_REACT_MAX_ITER>>"' -i "${DEST_F
yq eval '.react.evolution.enabled = false' -i "${DEST_FILE}"
yq eval '.sandbox.enabled = true' -i "${DEST_FILE}"
yq eval '.sandbox.startup_mode = "external"' -i "${DEST_FILE}"
+yq eval '.sandbox.idle_ttl_seconds = 600' -i "${DEST_FILE}"
+yq eval '.sandbox.idle_check_interval = 180' -i "${DEST_FILE}"
yq eval '.sandbox.url = "http://127.0.0.1:<<JIUWENBOX_PORT>>"' -i "${DEST_FILE}"
yq eval '.sandbox.type = "jiuwenbox"' -i "${DEST_FILE}"