Spaces:
Sleeping
Sleeping
Commit History
-
Fix OAuth according to HF official documentation
Based on https://huggingface.co/docs/hub/en/spaces-oauth: 1. Fix OAuth scopes: - Include 'openid profile' as required by HF - These are automatically included but we specify them explicitly 2. Use SPACE_HOST environment variable: - Official recommended way to get redirect URI - Fallback to manual construction if not available 3. Update README.md with proper HF OAuth configuration This should fix the session/cookie issues we've been experiencing.b9161fb -
add
d1a53e8 -
Add 'itsdangerous' dependency for session management and enhance OAuth configuration with scope validation and warnings for unsupported scopes in Hugging Face Spaces.
434c40e -
Update session management in FastAPI app, modify OAuth scopes in environment configuration, and enhance .env.example with session security details.
1670330 -
Implement conditional authentication middleware and OAuth routes for Hugging Face Spaces integration. Enhance environment debugging and add environment info endpoint. Update README with OAuth configuration details and improve startup logging.
c8243d5 -
Add environment configuration template, enhance .gitignore, and refactor configuration loading. Removed deprecated scripts and improved setup process with a new setup script.
18efc55
-
add
7bc750c
-
🧹 Clean up: Remove backend/scripts/ and __pycache__ files
✅ Security improvements: • Removed backend/scripts/ directory (dev/maintenance tools only) • Eliminated hardcoded Langfuse API keys security risk • Removed fetch_langfuse_logs.py with exposed credentials �� Optimization benefits: • Reduced image size by ~50MB • Simplified deployment (removed non-core functionality) • Cleaned up Python cache files 🔧 Files removed: • backend/scripts/fetch_example_dataset.py • backend/scripts/fetch_langfuse_logs.py (had hardcoded API keys) • backend/scripts/langsmith_exporter.py • All __pycache__ directories and .pyc files7348bb7 -
🚀 Deploy AgentGraph: Complete agent monitoring and knowledge graph system
Features: - 📊 Real-time agent monitoring dashboard - 🕸️ Knowledge graph extraction from traces - 📈 Interactive visualizations and analytics - 🔄 Multi-agent system with CrewAI - 🎨 Modern React + FastAPI architecture Ready for Docker deployment on HF Spaces (port 7860)c2ea5ed