ExAgent. ModelRetry exception
(ExAgent v2.2.0)
View Source
A tool or output validator can return/raise this to ask the model to try
again. In Elixir we mostly use {:error, reason} tuples, but this exception
exists for the rescue-based escape hatch.