Commit Graph

4 Commits

Author SHA1 Message Date
Will Song
e5125b4147 Automated backup - 20250718_000001 2025-07-18 00:00:01 -05:00
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
Will Song
9b026fcc76 Automated backup - 20250717_000001 2025-07-17 00:00:01 -05:00
Will Song
568dcc45e4 Fix router failover and add Discord bot
- Remove duplicate claude_api provider to fix automatic failover
- Enhance error detection with HTTP status codes and more indicators
- Add comprehensive README documentation with manual switching
- Implement Discord bot with Claude Code CLI integration
- Support /terminal and /claude commands with AI-powered responses

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 21:35:52 -05:00