TradingAgents/backend
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
..
app Optimize analysis speed and stability: Redis TTL, word count limits, and reporting 2026-03-12 18:49:48 +08:00
.dockerignore 2025-11-20 21:56:47 +08:00
Dockerfile 2025-12-20 08:35:32 +08:00
__main__.py 2026-03-10 17:00:32 +08:00
requirements.txt 2025-12-20 07:41:05 +08:00
test_chat.py 2026-03-10 17:36:15 +08:00