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>
|
||
|---|---|---|
| .. | ||
| analysts | ||
| managers | ||
| researchers | ||
| risk_mgmt | ||
| structured | ||
| trader | ||
| utils | ||
| __init__.py | ||