Spaces:
Sleeping
Sleeping
Commit History
-
Fix AI responses - implement direct Ollama integration with no fallbacksβ
Claude Code Bot- Replace template responses with real AI - Direct Ollama API calls without middleware interference - Remove all fallback response mechanisms - Ensure actual AI model responses only - Update server.js with working AI integration - Test verified: real AI responses working locally7851df6
-
Major optimization and bug fixes for deploymentβ
Claude Code Bot +1: ClaudePerformance Optimizations: - Optimized Docker with non-root user and health checks - Added connection pooling for MongoDB with timeouts - Implemented sliding window rate limiting (3 req/10sec) - Added request timeout (15sec) with AbortController - Optimized memory management for request tracking - Enhanced input validation and error handling Bug Fixes: - Moved conflicting server files to backup-servers/ - Renamed ollama-server.js to server.js in Docker - Fixed deployment confusion with multiple server files - Updated frontend to handle new rate limit responses - Added comprehensive debug endpoint π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>bfb31c4 -
Fix rapid server requests and MongoDB test issuesβ
Claude Code Bot +1: Claude- Fixed Dockerfile mismatch (was copying stable-server.js but running ollama-server.js) - Added rate limiting (1 request per second per IP) to prevent rapid requests - Enhanced frontend with isProcessing flag to prevent double-clicks - Added proper error handling for 429 rate limit responses - Updated MongoDB test scripts with better error diagnosis and async/await - Added input validation and security improvements π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>5386109 -
Add database fallbacks and demo mode for Spaces deploymentβ
Claude Code Bot +1: ClaudeDatabase improvements: - Make MongoDB connection optional in production - Add isDatabaseConnected helper function - Prevent app crash when database is unavailable - Continue running with local AI only Demo functionality: - Add /api/simple-chat endpoint (no auth required) - Create demo.html page with chat interface - Add /demo route for testing local AI - Graceful fallback when full features unavailable This enables edi.chat to run successfully in Hugging Face Spaces with local AI capabilities even without Redis/MongoDB services. Access points: - /demo - Simple chat interface - /api/simple-chat - Direct API endpoint - /api/health - Service status π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>78a6fc9 -
Deploy edi.chat UGA AI Assistant to Hugging Face Spacesβ
Claude Code Bot +1: Claudeπ Features: - Agentic AI with action execution capabilities - Multiple AI providers (OpenAI, Ollama, Hugging Face) - UGA-specific knowledge and system integrations - React frontend with Node.js backend - Docker deployment ready for port 7860 π Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>0b355ec