TradingAgents/tradingagents
liuping 1bbe898812 feat: integrate database cache into CLI startup logic
� Cache Integration Enhancements:
- Modify get_cache() to use IntegratedCacheManager by default
- Automatic fallback from database cache to file cache
- Intelligent cache selection based on configuration

� Integration Features:
- IntegratedCacheManager now used in CLI startup
- Supports both database and file-based caching
- Automatic detection of database availability
- Graceful degradation when databases unavailable

 Test Results:
- Cache selection logic:  Pass
- Cache functionality:  Pass
- Database cache available but disabled by default
- File cache working as fallback

� User Experience:
- Default: File-based cache (fast, no setup required)
- Optional: Database cache (enable with MONGODB_ENABLED=true)
- Seamless transition between cache types
- No breaking changes to existing functionality

� Current Status:
- Cache Type: IntegratedCacheManager
- Adaptive Cache: Disabled (databases disabled in .env)
- MongoDB: Disabled by default
- Redis: Disabled by default
- Fallback: Traditional file cache working perfectly

Now users get database cache benefits when enabled,
with automatic fallback to reliable file cache.
2025-07-06 01:52:50 +08:00
..
agents fix: resolve DashScope embedding 404 error and add CLI model options 2025-07-06 01:43:13 +08:00
api feat: merge Chinese version features 2025-07-06 00:26:49 +08:00
config feat: merge Chinese version features 2025-07-06 00:26:49 +08:00
dataflows feat: integrate database cache into CLI startup logic 2025-07-06 01:52:50 +08:00
graph fix: improve DashScope integration and fix import paths 2025-07-06 01:20:25 +08:00
llm_adapters feat: merge Chinese version features 2025-07-06 00:26:49 +08:00
default_config.py feat: add DashScope (Alibaba Cloud) LLM provider support 2025-07-06 01:15:35 +08:00