Interface Callbacks.BeforeAgentCallback
- Enclosing class:
Callbacks
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
异步回调接口,用于在代理程序开始运行之前需要执行的操作。
-
方法概述
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> call(CallbackContext callbackContext) 在代理程序运行之前,会执行异步回调函数。
-
方法详细信息(Method Details)
-
call
io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> call(CallbackContext callbackContext) 在代理程序运行之前,会执行异步回调函数。- Parameters:
callbackContext- Callback context.- Returns:
- content override, or empty to continue.
-