HIGH: Add Retry Logic for External API Calls #27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
External API calls (Cheshire Cat, LLM, voice services) lack retry logic, causing failures when services are temporarily unavailable.
Where It Occurs
Why This Is a Problem
What Can Go Wrong
Scenario 1: Temporary Network Glitch
Scenario 2: Service Overload
Proposed Fix
Implement retry logic with exponential backoff:
Severity
HIGH - Lack of retry logic causes frequent failures and poor UX.
Files Affected
cat-plugins/cat_client.py, bot/utils/llm.py, bot/bot.py, new file: bot/utils/retry.py