Uses of Class
com.google.adk.plugins.ReflectAndRetryToolPlugin.Builder
Packages that use ReflectAndRetryToolPlugin.Builder
-
Uses of ReflectAndRetryToolPlugin.Builder in com.google.adk.plugins
Methods in com.google.adk.plugins that return ReflectAndRetryToolPlugin.BuilderModifier and TypeMethodDescriptionReflectAndRetryToolPlugin.builder()Returns a builder defaulting to three retries, throwing once they are exceeded, counted per invocation, with no result errors.ReflectAndRetryToolPlugin.Builder.maxRetries(int maxRetries) Sets the number of consecutive failures of one tool answered with retry guidance;0disables retrying.Sets the plugin instance name.ReflectAndRetryToolPlugin.Builder.resultErrorExtractor(ReflectAndRetryToolPlugin.ResultErrorExtractor resultErrorExtractor) Sets how errors reported inside tool results are found.ReflectAndRetryToolPlugin.Builder.throwExceptionIfRetryExceeded(boolean throwExceptionIfRetryExceeded) Sets whether, past the limit, the error propagates rather than the model being told to stop using the tool.ReflectAndRetryToolPlugin.Builder.trackingScope(ReflectAndRetryToolPlugin.TrackingScope trackingScope) Sets whether failures are counted per invocation or across invocations.