File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 110110if __name__ == "__main__" :
111111 with AgentRuntime () as runtime :
112112 print ("--- Technical question (CEO -> Engineering -> Backend) ---" )
113- # result = runtime.run(ceo, "Design a REST API for a user management system with authentication "
114- # "and then ask marketing team to come up with a marketing campaign for the system with details on how to run these campaign")
115- # result.print_result()
113+ result = runtime .run (
114+ ceo ,
115+ "Design a REST API for a user management system with authentication, "
116+ "then ask the marketing team for a campaign to promote it." ,
117+ )
118+ result .print_result ()
116119
117120 # Production pattern:
118121 # 1. Deploy once during CI/CD:
121124 # runtime.deploy(ceo)
122125 #
123126 # 2. In a separate long-lived worker process:
124- runtime .serve (ceo )
127+ # runtime.serve(ceo)
You can’t perform that action at this time.
0 commit comments