Spaces:
Runtime error
Runtime error
Commit History
-
Fix Modal vector index building and storage
- Update Modal app to use remote function calls for proper volume access - Add fallback storage paths for Modal functions (/storage, /tmp, .) - Fix Modal client request format to match API expectations - Remove authentication from Modal API requests - Add comprehensive error handling and debug logging - Deploy Modal app with corrected storage configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>4e2a9bc -
Fix Modal app FastAPI integration and successful deployment
- Replace @modal.fastapi_endpoint() with @modal.asgi_app() for proper FastAPI integration - Use .local() calls instead of .remote.aio() to avoid recursion issues - Fix circular reference errors in JSON serialization - Update datetime.utcnow() to datetime.now(timezone.utc) for deprecation warning - Simplify task status endpoint to avoid recursion - Successfully deployed at: https://fazeelusmani18--knowledgebridge-main-fastapi-app.modal.run - Verified endpoints working: /health, /docs, /vector-search with proper error responses8140962 -
Fix Modal app: Move imports inside functions
- Moved all package imports inside Modal functions to avoid local import errors - Fixed hash function usage with hashlib.md5 - Fixed timestamp generation for health check - Ready for deployment907a3ac -
Add complete Modal app for distributed computing
Created Modal app with: - Text extraction (OCR, PDF parsing) - Vector indexing with FAISS - High-performance vector search - Batch document processing - Task status tracking - Web endpoints for all functions Updated configuration to use new Modal endpoint. Ready for deployment with 'modal deploy main.py'f70a5f4