feat(agent): support customizable LLM call timeout and add docker-compose mapping

This commit is contained in:
AndyYang
2026-04-04 16:55:45 +08:00
committed by lyingbug
parent f63c9f6dbe
commit d5ecc150e0
5 changed files with 39 additions and 0 deletions
+6
View File
@@ -265,6 +265,12 @@ WEKNORA_SANDBOX_TIMEOUT=60
# 自定义 Sandbox Docker 镜像
WEKNORA_SANDBOX_DOCKER_IMAGE=wechatopenai/weknora-sandbox:latest
# ========== Agent 配置 ==========
# 智能体大模型调用默认超时时间(秒),默认 120
# 对于复杂的推理行为,建议调大此值(如 300 或 600)
# 注:此值为全局默认值。若单个智能体在数据库中配置了独立的 llm_call_timeout,则以智能体配置为准(优先级更高)。
# WEKNORA_AGENT_LLM_TIMEOUT=300
# APK 镜像源设置(可选)
APK_MIRROR_ARG=mirrors.tencent.com