TradingAgents/backend/app/services
MarkLo127 b2fc38671b Optimize analysis speed and stability: Redis TTL, word count limits, and reporting
Changes:
- C1: Increase Redis TTL from 1 hour to 4 hours for completed tasks (prevents report deletion)
- Word count: Change all analyst prompts from 800-1500 to 500-1000 words
- Output filter: Update word count validation to 500-1000 range, hide specific word counts in warnings
- Remove character counts from output to improve clarity

These changes address:
1. Reports being deleted after 1 hour (now 4 hours)
2. Inconsistent word counts causing reruns (now strict 500-1000)
3. Output showing specific word counts (now just pass/warning)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-12 18:49:48 +08:00
..
__init__.py 2025-11-20 21:56:47 +08:00
auth_utils.py 2025-12-13 06:00:19 +08:00
chat_service.py 2026-03-10 18:35:55 +08:00
download_service.py 新增英文語系支援 2025-12-24 01:20:33 +08:00
pdf_generator.py 新增英文語系支援 2025-12-24 01:20:33 +08:00
price_service.py 2025-12-28 01:22:45 +08:00
redis_client.py 2025-12-16 19:03:58 +08:00
task_manager.py Optimize analysis speed and stability: Redis TTL, word count limits, and reporting 2026-03-12 18:49:48 +08:00
trading_service.py Fix: Resolve GraphRecursionError by passing config params to agents and increasing recursion_limit to 200 2026-03-12 17:17:23 +08:00