LemonRouter. RunProcess. RetryHandler
(lemon_router v0.1.0)
View Source
Zero-answer auto-retry logic for RunProcess.
When a run completes with an error and no answer, this module decides whether an automatic retry is warranted and, if so, builds and submits a new RunRequest through the RunOrchestrator.
Summary
Functions
Format a run error as a human-readable string.
Attempt an auto-retry of a failed run that produced no answer.
Functions
Format a run error as a human-readable string.
@spec maybe_retry_zero_answer_failure(map(), LemonCore.Event.t()) :: boolean()
Attempt an auto-retry of a failed run that produced no answer.
Returns true if a retry was submitted, false otherwise.