4fc178b9355cdf2107ad1d35fb4c42eebc089b22
- Add 30-second timeout to all Claude API calls using asyncio.wait_for() - Improve error handling with proper TimeoutError catching - Ensure typing task is cancelled in all error scenarios - Reduce max_tokens from 3000/2500 to 2000 for consistency - Add explicit return statements to prevent continued execution This should resolve the >1000 connection issue reported by Discord. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Description
No description provided
Languages
Python
93.9%
Shell
3%
HTML
2.5%
Dockerfile
0.6%