retry.py
Current Alternative
Replacefrom agno.models.cohere import CohereChat with from agno.models.cohere import Cohere and update the constructor name when its capitalization changed. Configure retries, delay_between_retries, and exponential_backoff as shown in Retry Model Requests, then test with a controlled transient 429, connection failure, or 5xx response.
Full source: cookbook/90_models/cohere/retry.py