Spaces:
Runtime error
Runtime error
Commit History
-
feat: Add Supabase integration for voucher logging and storage
Sidd-mukho77 +1: Claude Sonnet 4.5- Add supabase_logger.py with upload and logging functions - Integrate Supabase logging into all voucher generation flows - Store PDFs in Supabase Storage with year/month organization - Fix Maps grounding with two-step approach for better accuracy - Support all three tabs: Search Hotel, PDF Extraction, Bulk CSV - Graceful error handling - app continues if Supabase unavailable - Update .gitignore to exclude sensitive files and __pycache__ - Remove tracked __pycache__ files from repository - Add deployment checklist and security verification script Technical Details: - supabase_logger.py: Upload PDFs and log metadata to generations table - Maps grounding: Two-step API call (grounding + structured output) - Storage: Year/month folder structure for organization - Database: 26-column schema with JSONB guest details - Security: All secrets in .env, comprehensive .gitignore Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>f9b1caa