mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-10-27 21:50:36 +00:00
YAML booleans coerce into the ge=1 integer backstops that bound every subagent and ACP invocation: timeout_seconds: true became 1 (the executor's future.result(timeout=...) then killed every subagent run after one second) and max_turns: true became 1 (the LangGraph recursion budget collapsed to a single super-step). The ACP agent timeout mirrors subagents.timeout_seconds and shared the hole. false was already rejected by ge=1, so only true slipped through - silently. Mirror the app-config boolean guard: reject bools before coercion in SubagentOverrideConfig, CustomSubagentConfig and SubagentsAppConfig (timeout_seconds/max_turns/max_total_per_run) and ACPAgentConfig (timeout_seconds), keeping None, integers, and numeric strings as-is. Signed-off-by: yetuge <2219677952@qq.com>