Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Fix: expose MAX_TREE_DEPTH in env (#23743)
ShuangLiua6c5b7414d09
diff --git a/docker/.env.example b/docker/.env.exampleindex 1b1e9cad7bd..ed19fa6099e 100644--- a/docker/.env.example+++ b/docker/.env.example@@ -907,6 +907,9 @@ TEXT_GENERATION_TIMEOUT_MS=60000# Allow rendering unsafe URLs which have "data:" scheme.ALLOW_UNSAFE_DATA_SCHEME=false+# Maximum number of tree depth in the workflow+MAX_TREE_DEPTH=50+# ------------------------------# Environment Variables for db Service# ------------------------------diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yamlindex 66e0de2bcc5..d64a8566a0b 100644--- a/docker/docker-compose.yaml+++ b/docker/docker-compose.yaml@@ -404,6 +404,7 @@ x-shared-env: &shared-api-worker-envMAX_ITERATIONS_NUM: ${MAX_ITERATIONS_NUM:-99}TEXT_GENERATION_TIMEOUT_MS: ${TEXT_GENERATION_TIMEOUT_MS:-60000}ALLOW_UNSAFE_DATA_SCHEME: ${ALLOW_UNSAFE_DATA_SCHEME:-false}+ MAX_TREE_DEPTH: ${MAX_TREE_DEPTH:-50}POSTGRES_USER: ${POSTGRES_USER:-${DB_USERNAME}}POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-${DB_PASSWORD}}POSTGRES_DB: ${POSTGRES_DB:-${DB_DATABASE}}