TradingAgents/backend/app
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
..
api 2026-03-12 09:30:42 +08:00
core 2026-01-16 00:56:14 +08:00
db 2026-03-12 09:30:42 +08:00
models 2026-03-10 17:00:32 +08:00
services Optimize analysis speed and stability: Redis TTL, word count limits, and reporting 2026-03-12 18:49:48 +08:00
__init__.py 2025-11-20 21:56:47 +08:00
main.py 2026-03-12 09:30:42 +08:00