Class Callbacks
java.lang.Object
com.google.adk.agents.Callbacks
Functional interfaces for agent lifecycle callbacks.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAsync callback interface for actions to be performed after an agent has finished running.static interfaceHelper interface to allow for sync afterAgentCallback.static interfacestatic interfaceHelper interface to allow for sync afterModelCallback.static interfaceAsync callback interface for actions to be performed after a tool has been invoked.static interfaceHelper interface to allow for sync afterToolCallback.static interfaceAsync callback interface for actions to be performed before an agent starts running.static interfaceHelper interface to allow for sync beforeAgentCallback.static interfacestatic interfaceHelper interface to allow for sync beforeModelCallback.static interfaceAsync callback interface for actions to be performed before a tool is invoked.static interfaceHelper interface to allow for sync beforeToolCallback.static interfaceAsync callback interface for handling errors that occur during an LLM model call.static interfaceHelper interface to allow for sync onModelErrorCallback.static interfaceAsync callback interface for handling errors that occur during a tool invocation.static interfaceHelper interface to allow for sync onToolErrorCallback. -
Method Summary