Class UseAsOutputWorkflow
java.lang.Object
com.example.workflows.UseAsOutputWorkflow
A port of adk-python's
use_as_output workflow sample. A node runs an agent with
runNode and useAsOutput, so the agent's summary becomes the node's own output and flows
on to the next node.-
Method Summary
-
Method Details
-
create
-
main
Runs the workflow on one sentence and prints what each node produced. It calls Gemini, so it needs the credentials the README describes; the first argument, if any, overrides the model.
-