Skip to main content
The pinned v2.7.4 source uses the unavailable import from agno.models.siliconflow import SiliconFlow and fails before testing retries. It also assumes an invalid model ID reaches the retry path, while invalid-model responses commonly use terminal 400 or 404 statuses.
retry.py

Current Alternative

Replace from agno.models.siliconflow import SiliconFlow with from agno.models.siliconflow import Siliconflow 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/siliconflow/retry.py