Spaces:
Running
Running
Commit History
-
Fix: Add langchain-text-splitters dependency for LangChain 0.3+ compatibility
In LangChain 0.3+, the text_splitter module was moved to a separate package langchain-text-splitters. This fixes the "No module named 'langchain.text_splitter'" error when deploying to Hugging Face Spaces. Changes: - Added langchain-text-splitters>=0.3.0 to pyproject.toml dependencies - Updated import in text_chunking_strategies.py to use langchain_text_splitters - Explicitly install langchain-text-splitters in Dockerfile 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>0b205c4
-
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