deerflow2/backend/src/agents
hetao f68b3c26c3 feat: enforce subagent concurrency limit of 3 per turn with batch execution
Strengthen the SUBAGENT_SECTION prompt to prevent the model from launching
more than 3 subagents in a single response. When >3 sub-tasks are needed,
the model is now explicitly instructed to plan and execute in sequential
batches of ≤3. Reinforced at three prompt injection points: thinking style,
main subagent instructions, and critical reminders.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 13:50:54 +08:00
..
lead_agent feat: enforce subagent concurrency limit of 3 per turn with batch execution 2026-02-09 13:50:54 +08:00
memory feat: support sub agent mechanism 2026-02-05 19:59:25 +08:00
middlewares feat: add DanglingToolCallMiddleware and SubagentLimitMiddleware 2026-02-09 13:22:49 +08:00
__init__.py feat: support function factory (#4) 2026-01-15 22:05:54 +08:00
thread_state.py feat: add view_image tool and optimize web fetch tools 2026-01-29 13:44:39 +08:00