Package ai.redouble.nucleo.harness.errors.retry
package ai.redouble.nucleo.harness.errors.retry
-
Exception ClassesClassDescriptionThe model's reply was not the JSON object asked for: no JSON in it, JSON that would not parse, or valid JSON of another shape.Signals that the provider returned
stop_reason=max_tokensand the job should be re-run with a larger output budget.The provider reported that its fleet is overloaded (Anthropic's 529overloaded_error): a capacity signal, not a fault and not a budget violation.The provider account is out of money: no remaining credits, an exhausted prepaid balance, or a spend budget set to zero.The provider rejected this attempt as over the caller's rate budget (429).Signals that an LLM response failed to parse or validate, a correction message has already been appended to the conversation, and the job should be re-run so the model can fix its output.Exception representing an LLM response that parsed but failed required-field validation (@LLMRequiredfields null or blank).Thrown when our pre-flight token estimate exceeds the model's context window.A plain transient provider failure: 5xx errors, connection failures, unparseable responses.A provider could not serve this attempt and the framework should retry it transparently - without charging the job's own retry budget.