TradingAgents/tradingagents/agents/utils
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
..
agent_states.py 2025-11-25 17:03:17 +08:00
agent_utils.py 2025-11-15 22:50:01 +08:00
core_stock_tools.py Fix: Resolve GraphRecursionError by passing config params to agents and increasing recursion_limit to 200 2026-03-12 17:17:23 +08:00
fundamental_data_tools.py 2025-11-15 22:50:01 +08:00
memory.py 2026-02-12 04:52:16 +08:00
news_data_tools.py Update news data and technical indicator utility functions. 2026-03-09 15:14:48 +08:00
output_filter.py Optimize analysis speed and stability: Redis TTL, word count limits, and reporting 2026-03-12 18:49:48 +08:00
prompts.py Optimize analysis speed and stability: Redis TTL, word count limits, and reporting 2026-03-12 18:49:48 +08:00
technical_indicators_tools.py Update news data and technical indicator utility functions. 2026-03-09 15:14:48 +08:00