#780 Unified agent over-researches after a delegate fan-out (redundant direct fetches = extra approvals)
Description
EditAfter a successful delegate fan-out, the orchestrator sometimes does a 2nd pass of direct http fetches (one per entity) -> extra approval prompts. Root cause: tools.search.web returns empty (no search provider/API key configured in this env) -> leaf findings thin -> orchestrator distrusts and re-fetches. Mitigation deployed: prompt clause 'Once a delegate fan-out returns, synthesize from the sub-agent findings - do NOT re-research the same entities yourself' (server.py + agent_run_goal.py). Highest-leverage real fix: configure a web_search provider so leaves return real sources. Also consider: a 2nd delegate round is capped (max_delegate_rounds=1) but direct re-fetch is not; could bound post-fanout tool calls.
Comments
Loading comments...
Context
Loading context...
Audit History
View AllLoading audit history...