Skip to content

Fix 13_hierarchical_agents: restore the demo, stop blocking on serve() - #473

Open
ling-senpeng13 wants to merge 1 commit into
mainfrom
fix/13-hierarchical-agents-demo
Open

Fix 13_hierarchical_agents: restore the demo, stop blocking on serve()#473
ling-senpeng13 wants to merge 1 commit into
mainfrom
fix/13-hierarchical-agents-demo

Conversation

@ling-senpeng13

Copy link
Copy Markdown
Contributor

The runtime.run(...) demo was commented out and runtime.serve(ceo) left uncommented, so the example printed a header and then blocked forever in the worker loop — it never demonstrated the hierarchy. Every sibling example keeps serve() commented under "Production pattern".

Uncommented the run, commented serve(), and reflowed the prompt off a single 200-char line.

Verified: COMPLETED in 25 tasks, both branches delegated — ceo → engineering_lead, ceo → marketing_lead.

Known gap, not addressed here: the leads answer directly rather than handing off to their specialists, so the third level (backend_dev, content_writer, …) the docstring advertises is still undemonstrated.

The runtime.run(...) demo was commented out and runtime.serve(ceo) left
uncommented, so the example printed a header and then blocked forever in the
worker loop — it never demonstrated the hierarchy. Every sibling example keeps
serve() commented under "Production pattern".

Uncommented the run, commented serve(), and reflowed the prompt off a single
200-character line.

Verified: COMPLETED in 25 tasks, both branches delegated —
ceo -> engineering_lead, ceo -> marketing_lead.
@ling-senpeng13
ling-senpeng13 force-pushed the fix/13-hierarchical-agents-demo branch from fa9d9cc to c096360 Compare August 12, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants