Class DynamicNodesWorkflow
java.lang.Object
com.example.workflows.DynamicNodesWorkflow
A port of adk-python's
dynamic_nodes workflow sample: the loop sample rewritten
as one node that runs the headline agents with runNode in a loop, instead of routing
between them with graph edges.-
Method Summary
-
Method Details
-
create
-
main
Runs the workflow on one topic and prints each headline, each grade, and the result. It calls Gemini, so it needs the credentials the README describes; the first argument, if any, overrides the model.
-