Class NestedWorkflow
java.lang.Object
com.example.workflows.NestedWorkflow
A port of adk-python's
nested_workflow sample: for the year the user names, a nested
workflow finds a famous person born that year and writes their bio while an agent describes an
event from that year, and a JoinNode waits for both branches before one message combines
them.-
Method Summary
-
Method Details
-
create
-
main
Runs the workflow on one year and prints each reply. It calls Gemini, so it needs the credentials the README describes; the first argument, if any, overrides the model.
-