retry.py
Current Alternative
Install Nexus, then createnexus.toml for the Anthropic model and the /llm/v1/ endpoint used by Agno:
retries, delay_between_retries, and exponential_backoff as shown in Retry Model Requests. Test the retry path with a controlled transient 429, connection failure, or 5xx response.
Full source: cookbook/90_models/nexus/retry.py