showcase/integrations/llamaindex/qa/subagents.md
/demos/subagents on the dashboard host/api/health); OPENAI_API_KEY is set; LlamaIndex agent_server has the subagents_router mounted at /subagents/demos/subagents; verify the page renders within 3s with a left-side delegation log and a right-side CopilotChat panedata-testid="delegation-log" is visible with heading "Sub-agent delegations"data-testid="delegation-count" shows "0 calls" before any interactiondata-testid="supervisor-running") appears within 2s and shows "Supervisor running"data-testid="delegation-entry" rows appear in order with data-status="completed" and these badges (in order):
data-testid="delegation-count" reads "3 calls"data-status="running" with the spinner and "Sub-agent is working…" copy before flipping to completedrunning entries use amber styling, completed entries use neutral styling, and any failed entries use red stylingdelegation-count reads "6 calls"data-status="failed" with red styling and a [sub-agent failed] message; verify the supervisor's chat reply briefly surfaces the failure rather than fabricating a resultagent.isRunning