Backport from upstream TauricResearch/TradingAgents fa4d01c2:
- cli/main.py: iterate all messages in each chunk (not just the last);
dedupe across chunks with a processed-IDs set instead of tracking
only the most recent message. Prevents dropped tool-call logs when
the graph streams multiple messages per chunk.
- memory.py: guard max() against empty scores and return a float to
avoid ValueError on first-call paths before documents are added.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| agent_states.py | ||
| agent_utils.py | ||
| core_stock_tools.py | ||
| fundamental_data_tools.py | ||
| macro_data_tools.py | ||
| memory.py | ||
| news_data_tools.py | ||
| technical_indicators_tools.py | ||