Commit History
-
fix: Critical provider fixes + user-friendly status page
Cursor Agent🔧 API Provider Improvements: 1. CoinDesk API - FIXED - Use public BPI endpoint (most reliable, no auth needed) - Remove complex fallback logic - Proper error handling with connection retry 2. Tronscan API - FIXED - Add follow_redirects=True for 301 handling - Now properly follows redirects to working endpoints - Third endpoint works: /api/token/price?token=trx 3. BSCScan API - IMPROVED - Change ERROR to INFO for API key issues - Non-critical warnings (other providers used automatically) - Graceful degradation messaging 🎨 User Interface Improvements: 1. New System Status Page - Beautiful user-friendly interface - Real-time provider health monitoring - No scary error messages for users - Auto-refresh every 30 seconds - Shows operational status clearly 2. Updated .env.example - Include valid CoinDesk API key - Clear documentation for all providers - Production recommendations - Free tier limits explained ✅ Results: - CoinDe…3ae846b -
fix: Critical HuggingFace Space fixes - API resilience & configuration
Cursor Agent🔧 API Provider Fixes: - CoinDesk: Add fallback endpoints + DNS error handling - Tronscan: Update API endpoints + multiple fallback URLs - BSCScan: Better API key error handling + graceful degradation ✨ Improvements: - All providers now use multiple fallback endpoints - Connection errors no longer crash the Space - Better logging (warnings vs errors) - Graceful degradation when providers are unavailable 📚 Documentation: - Add proper HuggingFace Space README.md (valid YAML) - Include Space configuration (emoji, sdk, app_port) - Complete API documentation links - Architecture diagrams ✅ Result: - Space runs smoothly even when some APIs fail - Provider Manager handles all failures gracefully - Users see working features instead of crashes - Monitoring shows which providers are down2510638 -
feat: Implement intelligent load balancing and monitoring
Cursor Agent +1: inybnvck553Co-authored-by: inybnvck553 <inybnvck553@outlook.com>b56243c -
feat: Implement enhanced provider manager for load balancing
Cursor Agent +1: inybnvck553Co-authored-by: inybnvck553 <inybnvck553@outlook.com>6358ba6 -
feat: Add comprehensive resources database API
Cursor Agent +1: inybnvck553Co-authored-by: inybnvck553 <inybnvck553@outlook.com>a738be0 -
feat: Add 26+ new API endpoints for comprehensive data
Cursor Agent +1: inybnvck553Co-authored-by: inybnvck553 <inybnvck553@outlook.com>221b362 -
System status and provider optimization (#133)
nimazasinich +2: Cursor Agent, inybnvck553* feat: Enhance system status with detailed provider metrics and smart routing Co-authored-by: inybnvck553 <inybnvck553@outlook.com> * feat: Multi-source routing + CPU transformers + enhanced monitoring PART 1 - CPU-Only Transformers: - Add torch==2.1.0+cpu for faster HuggingFace Space builds - Add transformers==4.35.0 for model support - Remove GPU dependencies to reduce Docker image size - Expected: 50% faster builds (4-5min vs 8-10min) PART 2 - Enhanced Status Panel: - Expand drawer width to 400px for more information - Add 6 detailed sections (providers, AI, infrastructure, resources, errors, performance) - Implement collapsible sections with smooth animations - Add refresh button for manual updates - Show real-time provider metrics with emoji indicators - Display rate limit status and error tracking PART 3 - Smart Multi-Source Routing (CRITICAL): - NEW: smart_multi_source_router.py enforces multi-source usage - NEVER uses only CoinGecko - distributes across 5+ providers - Pri…d5bf75f -
fix: Make system_status_api resilient to missing psutil
Cursor Agent- Add graceful fallback when psutil not available - System status API won't crash if psutil missing - Resources will show 0 values instead of failing - Improves compatibility with different environments85f07c7 -
feat: Add production-ready System Status Modal with real-time monitoring
Cursor AgentReplace persistent system monitor banner with modal-based approach: Backend Changes: - Add /api/system/status endpoint with comprehensive status data - Aggregate services, endpoints, coins, and system resources - Real-time health checks for CoinGecko, Binance, AI models - Register system_status_router in hf_unified_server.py Frontend Changes: - Create SystemStatusModal component with safe polling mechanism - Polling pauses when modal is closed, resumes on open - Add data-driven animations (only on actual data changes) - Integrate modal trigger button in dashboard header - Remove old persistent system-monitor section Features: - Overall health status (Online/Degraded/Partial/Offline) - Service status with response times - API endpoint health with success rates - Cryptocurrency feed status with prices - System resources (CPU, Memory, Uptime, Load) - Graceful error handling and degradation - Matches Ocean Teal theme with iOS-style icons - Fully responsive mobile design Safety: - No br…193e55b -
feat: Add real-time system monitoring
Cursor Agent +1: inybnvck553Implements backend and frontend components for system metrics. Co-authored-by: inybnvck553 <inybnvck553@outlook.com>f3b19b3 -
Refactor: Stabilize indicator API and fix browser warnings
Cursor Agent +1: inybnvck553This commit addresses critical issues in the indicator API, ensuring robustness and reliability. Key changes include: - **Indicator Endpoint Stability:** All 7 indicator endpoints (RSI, MACD, SMA, EMA, ATR, Stochastic RSI, Bollinger Bands) have been refactored to be production-safe. This includes: - **HTTP 400 for Data Issues:** Insufficient data, invalid symbols, or fetch failures now return a `400 Bad Request` instead of a `500 Internal Server Error`. - **Minimum Candle Validation:** Strict minimum candle requirements are enforced for each indicator, preventing calculations on insufficient data. - **NaN/Infinity Sanitization:** All numerical outputs are sanitized to remove `NaN` and `Infinity` values, ensuring valid JSON responses. - **Comprehensive Logging:** Detailed logging is added for requests, validation, successes, and errors, improving observability. - **Consistent Response Format:** All indicator endpoints now return a standardized JSON structure for bot…fccb755 -
Merge GitHub main - integrate new data sources with existing codebase
Cursor Agent✅ Integrated Changes: - 281+ new cryptocurrency resources (Crypto API Clean) - 4 AI sentiment models + 5 datasets (Crypto DT Source) - What's New banner on dashboard - Enhanced service health monitor - 20+ new API endpoints - Comprehensive documentation - Provider rotation optimization (7.8ms response) ✅ Resolved Conflicts: - Kept enhanced versions of all core files - Preserved new source integrations - Maintained UI enhancements - Removed binary files from tracking All features tested and verified in production.3081807 -
feat: Implement service discovery and health monitoring (#128)
nimazasinich +2: Cursor Agent, inybnvck553Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: inybnvck553 <inybnvck553@outlook.com>eed14f0 -
Add new sources to service health monitor
Cursor Agentc46444f -
Integrate two comprehensive cryptocurrency data sources
Cursor AgentAdded Crypto API Clean (281+ resources) and Crypto DT Source (Unified API v2.0.0) NEW FEATURES: - Crypto API Clean client: Access to 281+ resources across 12 categories * RPC nodes (24), block explorers (33), market data APIs (33) * News APIs (17), sentiment APIs (14), on-chain analytics (14) * Whale tracking (10), HuggingFace resources (9), and more - Crypto DT Source client: Unified cryptocurrency data API * Real-time prices via CoinGecko integration * Candlestick/OHLCV data via Binance * 4 HuggingFace sentiment models (CryptoBERT, FinBERT, etc.) * 5 crypto datasets for analysis * Fear & Greed Index, Reddit posts, RSS news feeds - New API Router: 20+ unified endpoints with automatic fallback * /api/new-sources/crypto-api-clean/* endpoints * /api/new-sources/crypto-dt-source/* endpoints * Unified endpoints with intelligent fallback system CHANGES: - backend/services/crypto_api_clean_client.py (NEW) - backend/services/crypto_dt_source_client.py (NEW) - backend…5f9e480 -
Refactor: Improve health monitor and error handling
Cursor Agent +1: inybnvck553Co-authored-by: inybnvck553 <inybnvck553@outlook.com>fad3b06 -
Refactor: Improve health monitor and error handling
Cursor Agent +1: inybnvck553Co-authored-by: inybnvck553 <inybnvck553@outlook.com>5bb14c5 -
Fix: Implement Service Health Monitor and improve error handling
Cursor Agent +1: inybnvck553Co-authored-by: inybnvck553 <inybnvck553@outlook.com>bee039d -
Fix: Implement Service Health Monitor and improve error handling
Cursor Agent +1: inybnvck553Co-authored-by: inybnvck553 <inybnvck553@outlook.com>508091d -
Hugging face space pause (#122)
nimazasinich +2: Cursor Agent, bxsfy712* Refactor: Remove proxy functionality and update HF token This commit removes the proxy functionality from the project and updates the Hugging Face token to be an environment variable. This change is made to comply with Hugging Face Spaces limitations and improve security. Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * Refactor: Add CryptoCompare fallback and improve HF dataset parsing This commit introduces a fallback data source (CryptoCompare) for market OHLCV data when the primary source fails. It also enhances the parsing logic for HuggingFace datasets to handle variations in CSV formats and improve robustness. Additionally, UI elements and styling for the AI Analyst page are refined for better user experience and visual appeal. Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * CI: fix dependency and action deprecations Update dnspython pin for CI compatibility and bump GitHub Actions to supported versions. * CI: add smoke tests and relax formatter scope Add a minimal…ca2386d -
Hugging face space pause (#122)
nimazasinich +2: Cursor Agent, bxsfy712* Refactor: Remove proxy functionality and update HF token This commit removes the proxy functionality from the project and updates the Hugging Face token to be an environment variable. This change is made to comply with Hugging Face Spaces limitations and improve security. Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * Refactor: Add CryptoCompare fallback and improve HF dataset parsing This commit introduces a fallback data source (CryptoCompare) for market OHLCV data when the primary source fails. It also enhances the parsing logic for HuggingFace datasets to handle variations in CSV formats and improve robustness. Additionally, UI elements and styling for the AI Analyst page are refined for better user experience and visual appeal. Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * CI: fix dependency and action deprecations Update dnspython pin for CI compatibility and bump GitHub Actions to supported versions. * CI: add smoke tests and relax formatter scope Add a minimal…ce92643
-
Crypto API investigation (#117)
nimazasinich +2: Cursor Agent, bxsfy712* feat: Add HuggingFace Crypto Resources API client and configs Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * feat: Add HuggingFace Space Crypto API client and router Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * feat: Add HuggingFace Space Crypto API client guide Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * feat: Add comprehensive API reference documentation Co-authored-by: bxsfy712 <bxsfy712@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>ab02ac4 -
Crypto API investigation (#117)
nimazasinich +2: Cursor Agent, bxsfy712* feat: Add HuggingFace Crypto Resources API client and configs Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * feat: Add HuggingFace Space Crypto API client and router Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * feat: Add HuggingFace Space Crypto API client guide Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * feat: Add comprehensive API reference documentation Co-authored-by: bxsfy712 <bxsfy712@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>7ed01b7 -
Replace mock data with real (#115)
nimazasinich +2: Cursor Agent, bxsfy712* Refactor: Use real data providers and remove mock data Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * Refactor: Implement provider orchestration and caching Replaces direct provider calls with an orchestrator. Adds caching and failover logic. Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * Refactor: Replace mock data with live API integrations Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * Refactor: Integrate real-time data sources and provider orchestration Co-authored-by: bxsfy712 <bxsfy712@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>8ff9278 -
Replace mock data with real (#115)
nimazasinich +2: Cursor Agent, bxsfy712* Refactor: Use real data providers and remove mock data Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * Refactor: Implement provider orchestration and caching Replaces direct provider calls with an orchestrator. Adds caching and failover logic. Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * Refactor: Replace mock data with live API integrations Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * Refactor: Integrate real-time data sources and provider orchestration Co-authored-by: bxsfy712 <bxsfy712@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>dd25e17 -
Market and analysis pages (#114)
nimazasinich +2: Cursor Agent, bxsfy712* feat: Add advanced technical indicators and improve data fetching This commit enhances the technical analysis module by integrating several new indicators, including Bollinger Bands, Stochastic RSI, ATR, and SMAs. It also refines the data fetching from CoinGecko to include more comprehensive coin details and improves the fallback data with accurate image URLs. The analysis and recommendation logic has been updated to leverage these new indicators for more robust insights. Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * feat: Add technical indicators API and UI Integrates a new API for technical indicators and updates the UI to display them. Co-authored-by: bxsfy712 <bxsfy712@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>bb4c54e -
Market and analysis pages (#114)
nimazasinich +2: Cursor Agent, bxsfy712* feat: Add advanced technical indicators and improve data fetching This commit enhances the technical analysis module by integrating several new indicators, including Bollinger Bands, Stochastic RSI, ATR, and SMAs. It also refines the data fetching from CoinGecko to include more comprehensive coin details and improves the fallback data with accurate image URLs. The analysis and recommendation logic has been updated to leverage these new indicators for more robust insights. Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * feat: Add technical indicators API and UI Integrates a new API for technical indicators and updates the UI to display them. Co-authored-by: bxsfy712 <bxsfy712@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>137fe70 -
News source and monitoring update (#113)
nimazasinich +2: Cursor Agent, bxsfy712* Refactor: Restructure data sources and add real-time monitoring Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * feat: Add free crypto data resource registry This commit introduces a comprehensive registry for free cryptocurrency data sources. It includes API keys, resource definitions, and utility functions for accessing and managing these resources. Co-authored-by: bxsfy712 <bxsfy712@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>3fea549 -
News source and monitoring update (#113)
nimazasinich +2: Cursor Agent, bxsfy712* Refactor: Restructure data sources and add real-time monitoring Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * feat: Add free crypto data resource registry This commit introduces a comprehensive registry for free cryptocurrency data sources. It includes API keys, resource definitions, and utility functions for accessing and managing these resources. Co-authored-by: bxsfy712 <bxsfy712@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>1614a0f -
Data provider stability and ui (#112)
nimazasinich +2: Cursor Agent, bxsfy712* Fix: Implement smart provider rotation and UI stability Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * Refactor: Implement intelligent provider routing and env detection Co-authored-by: bxsfy712 <bxsfy712@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>a24b1f8 -
Data provider stability and ui (#112)
nimazasinich +2: Cursor Agent, bxsfy712* Fix: Implement smart provider rotation and UI stability Co-authored-by: bxsfy712 <bxsfy712@outlook.com> * Refactor: Implement intelligent provider routing and env detection Co-authored-by: bxsfy712 <bxsfy712@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>2dcb3e0 -
Fix: Complete HuggingFace Space integration and fixes (#110)
nimazasinich +2: Cursor Agent, bxsfy712Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>0bae9e6 -
Fix: Complete HuggingFace Space integration and fixes (#110)
nimazasinich +2: Cursor Agent, bxsfy712Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>682b00b -
Fix HF Space deployment: dependencies, port config, error handling (#109)
nimazasinich +2: Cursor Agent, bxsfy712Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>232dd4f -
Fix HF Space deployment: dependencies, port config, error handling (#109)
nimazasinich +2: Cursor Agent, bxsfy712Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: bxsfy712 <bxsfy712@outlook.com>3b1854f
-
Process documentation files (#107)
nimazasinich +2: Cursor Agent, leslieodom4861* feat: Add comprehensive documentation and resources Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com> * feat: Implement background data collection worker Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com> * docs: Add merge conflict resolution documentation --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com>7dd0d2c -
Process documentation files (#107)
nimazasinich +2: Cursor Agent, leslieodom4861* feat: Add comprehensive documentation and resources Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com> * feat: Implement background data collection worker Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com> * docs: Add merge conflict resolution documentation --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com>3e20790 -
Fix api and websocket issues (#106)
nimazasinich +2: Cursor Agent, leslieodom4861* Refactor: Use 'with' for session management in monitoring API Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com> * Refactor: Improve models page and system monitor Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com> * feat: Add extensive fallback system and documentation This commit introduces a comprehensive fallback system with over 137 data sources, ensuring high availability and reliability. It includes detailed documentation in Persian, covering setup, usage, and API references. The system intelligently manages API keys, rate limiting, and resource prioritization. Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com>8d8c0b8 -
Fix api and websocket issues (#106)
nimazasinich +2: Cursor Agent, leslieodom4861* Refactor: Use 'with' for session management in monitoring API Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com> * Refactor: Improve models page and system monitor Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com> * feat: Add extensive fallback system and documentation This commit introduces a comprehensive fallback system with over 137 data sources, ensuring high availability and reliability. It includes detailed documentation in Persian, covering setup, usage, and API references. The system intelligently manages API keys, rate limiting, and resource prioritization. Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: leslieodom4861 <leslieodom4861@outlook.com>c94975d -
feat: UI improvements and error suppression - Enhanced dashboard and market pages with improved header buttons, logo, and currency symbol display - Stopped animated ticker - Removed pie chart legends - Added error suppressor for external service errors (SSE, Permissions-Policy warnings) - Improved header button prominence and icon appearance - Enhanced logo with glow effects and better design - Fixed currency symbol visibility in market tables
Your Name8b7b267 -
feat: UI improvements and error suppression - Enhanced dashboard and market pages with improved header buttons, logo, and currency symbol display - Stopped animated ticker - Removed pie chart legends - Added error suppressor for external service errors (SSE, Permissions-Policy warnings) - Improved header button prominence and icon appearance - Enhanced logo with glow effects and better design - Fixed currency symbol visibility in market tables
Your Nameb2308fb