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
-
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 -
Comprehensive fix for container permission issuesβ
Claude Code Bot +1: ClaudeDockerfile changes: - Install rsync for alternative file copying - Pre-create all required directories (logs, uploads, public) - Set proper permissions (755) for all directories - Improve frontend file copying with fallback methods - Better error handling for permission denied scenarios FileService improvements: - Graceful fallback to OS temp directory for uploads - Disable file uploads entirely if no writable directory available - Comprehensive error handling and logging - Prevent startup crashes due to filesystem restrictions Fixes all permission denied errors in Hugging Face Spaces environment: - EACCES: permission denied, mkdir 'logs' - EACCES: permission denied, mkdir '/app/backend/uploads' - cp: cannot create regular file './public/*': Permission denied π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>adf44f1 -
Fix Docker runtime errors: logs permissions and frontend buildβ
Claude Code Bot +1: Claude- Create logs directory with proper permissions in Dockerfile - Make logger resilient to permission errors with fallback to console - Always enable console logging in production for container environments - Improve frontend build verification and error handling - Add better error messages for missing frontend build Fixes: - EACCES: permission denied, mkdir 'logs' - Missing frontend build files in container π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>61a2a4f -
π Fix Dockerfile and aiService bugsβ
Claude Code Bot +1: Claudeπ§ Dockerfile fixes: - Remove duplicate apt-get commands - Fix user creation for Hugging Face Spaces compatibility - Use consistent /app working directory - Fix path references in startup script - Proper ownership and permissions π» aiService fixes: - Replace AbortSignal.timeout with AbortController for Node.js compatibility - Add proper timeout handling for fetch requests - Enhanced error handling for timeouts β Ready for Hugging Face Spaces deployment π Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>32da184 -
π€ Configure edi.chat for Local AI Only (Ollama)β
Claude Code Bot +1: Claudeβ¨ Features: - Local AI prioritized over online services - Enhanced Ollama integration with health checks - Complete Docker Compose setup for local deployment - Comprehensive local AI setup guide - Privacy-first configuration (no data leaves your machine) π§ Changes: - Updated Dockerfile for local AI deployment - Enhanced aiService with robust Ollama support - Added docker-compose.local.yml for full stack - Created LOCAL_AI_SETUP.md with model recommendations - Updated README for local AI quick start π― Recommended Models: - llama3:8b (best balanced for UGA use cases) - phi3:mini (lightweight option) - mistral:7b (fast responses) π Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>30cffc4 -
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