Package com.google.adk.plugins
Class ReplayPlugin
java.lang.Object
com.google.adk.plugins.BasePlugin
com.google.adk.plugins.ReplayPlugin
- All Implemented Interfaces:
Plugin
Plugin for replaying ADK agent interactions from recordings.
-
Field Summary
Fields inherited from class com.google.adk.plugins.BasePlugin
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.CompletableafterRunCallback(InvocationContext invocationContext) io.reactivex.rxjava3.core.Maybe<LlmResponse>beforeModelCallback(CallbackContext callbackContext, LlmRequest.Builder llmRequest) io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content>beforeRunCallback(InvocationContext invocationContext) beforeToolCallback(BaseTool tool, Map<String, Object> toolArgs, ToolContext toolContext) Methods inherited from class com.google.adk.plugins.BasePlugin
getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.adk.plugins.Plugin
afterAgentCallback, afterModelCallback, afterToolCallback, beforeAgentCallback, close, onEventCallback, onModelErrorCallback, onToolErrorCallback, onUserMessageCallback
-
Constructor Details
-
ReplayPlugin
public ReplayPlugin() -
ReplayPlugin
-
-
Method Details
-
beforeRunCallback
public io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> beforeRunCallback(InvocationContext invocationContext) -
beforeModelCallback
public io.reactivex.rxjava3.core.Maybe<LlmResponse> beforeModelCallback(CallbackContext callbackContext, LlmRequest.Builder llmRequest) -
beforeToolCallback
-
afterRunCallback
-