Fix 13_hierarchical_agents: restore the demo, stop blocking on serve() - #473
Open
ling-senpeng13 wants to merge 1 commit into
Open
Fix 13_hierarchical_agents: restore the demo, stop blocking on serve()#473ling-senpeng13 wants to merge 1 commit into
ling-senpeng13 wants to merge 1 commit into
Conversation
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
force-pushed
the
fix/13-hierarchical-agents-demo
branch
from
August 12, 2026 21:16
fa9d9cc to
c096360
Compare
v1r3n
approved these changes
Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
runtime.run(...)demo was commented out andruntime.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 keepsserve()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.