OptionalmaxMaximum consecutive model failures before giving up (0 = no retries). Defaults to 3.
OptionalnamePlugin instance identifier. Defaults to 'reflect_retry_model_plugin'.
OptionalonA list of FinishReasons that should be treated as model errors. Defaults to [FinishReason.MALFORMED_FUNCTION_CALL].
OptionalthrowIf true, raises the exception when retry limit is reached. If false, returns response. Defaults to true.
OptionaltrackingDetermines the lifecycle of the error tracking state. Defaults to TrackingScope.INVOCATION.
Options for configuring ReflectAndRetryModelPlugin.