Class RequestInputWorkflow
java.lang.Object
com.example.workflows.RequestInputWorkflow
A port of adk-python's
request_input workflow sample: an agent drafts a reply to a
customer complaint, a node pauses the workflow to ask a human to review the draft, and the next
node receives the answer and sends the draft, drops it, or has the agent revise it with the
feedback.-
Method Summary
-
Method Details
-
create
-
main
Runs the workflow on one complaint, asks for a revision, and approves the revised draft, printing each draft and question. It calls Gemini, so it needs the credentials the README describes; the first argument, if any, overrides the model.
-