defaultBackoff
The framework's default retry policy, used by ModelAdapter.retryDecision's default and available to models that want to fall back to it selectively.
An SchemaValidationException retries immediately — the model already answered, it just didn't conform. Any other error backs off 1s, then 4s. Fails after DEFAULT_MAX_ATTEMPTS attempts either way.
Return
The decision.
Parameters
error
The error from the attempt that just failed.
attempt
The attempt number that just failed, starting at 1.