Skip to main content

Module request_input

Module request_input 

Source
Expand description

Human-in-the-loop input requests.

Constants§

WORKFLOW_INPUT_FUNCTION_CALL_NAME
The function-call name of an input request (a wire identifier shared with other ADK runtimes).

Functions§

new_request_input_event
An event that pauses the workflow for human input. An empty interrupt id gets a fresh platform UUID; when the provider returns an empty string a random UUID is used, so the key is never empty. The request rides as a long-running adk_request_input function call whose id is the interrupt id.
resume_or_request_input
The reply when the node is re-run after the human answered; otherwise emits the request and returns the NodeInterrupted sentinel (an emit failure is returned instead).