Will Song 4fc178b935 Fix Claude Discord bot frequent reconnection issue
- 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>
2025-07-17 14:40:38 -05:00
2025-07-16 21:29:08 -05:00
2025-07-16 21:29:08 -05:00
2025-07-16 21:34:17 -05:00
2025-07-14 19:08:12 -05:00
2025-07-16 21:34:17 -05:00
Description
No description provided
16 MiB
Languages
Python 93.9%
Shell 3%
HTML 2.5%
Dockerfile 0.6%