diff --git a/examples/agents/13_hierarchical_agents.py b/examples/agents/13_hierarchical_agents.py index 3ee8aa79..b0d5a8bb 100644 --- a/examples/agents/13_hierarchical_agents.py +++ b/examples/agents/13_hierarchical_agents.py @@ -110,9 +110,12 @@ if __name__ == "__main__": with AgentRuntime() as runtime: print("--- Technical question (CEO -> Engineering -> Backend) ---") - # result = runtime.run(ceo, "Design a REST API for a user management system with authentication " - # "and then ask marketing team to come up with a marketing campaign for the system with details on how to run these campaign") - # result.print_result() + result = runtime.run( + ceo, + "Design a REST API for a user management system with authentication, " + "then ask the marketing team for a campaign to promote it.", + ) + result.print_result() # Production pattern: # 1. Deploy once during CI/CD: @@ -121,4 +124,4 @@ # runtime.deploy(ceo) # # 2. In a separate long-lived worker process: - runtime.serve(ceo) + # runtime.serve(ceo)