fix: Enhanced database error handling with automatic fallback - Always try fallback to create bot without database on any error - Better error detection for database/file access issues - Added final fallback in outer exception handler - Improved logging at each step
feat: Add bot session support for assistant bot - Changed assistant bot to use BOT_SESSION instead of bot_token - Auto-generate session from bot_token if session not provided - Added BOT_SESSION config variable - Falls back to bot_token method if session creation fails
Fix InvalidGitRepositoryError when git repo not found - Add try-except to handle cases where Repo() cannot find valid git repository, fallback to cloning default branch