TradingAgents/tradingagents/agents/trader
octo-patch 42dafee655 fix: suppress memory prompt when past_memories is empty (fixes #572)
Conditionally include both the memory content and the surrounding
instruction only when past_memories is non-empty. Prevents agents from
hallucinating past lessons when no memories have been stored yet.

Affected agents: Bull Researcher, Bear Researcher, Research Manager,
Portfolio Manager, Trader.
2026-04-23 10:06:42 +08:00
..
trader.py fix: suppress memory prompt when past_memories is empty (fixes #572) 2026-04-23 10:06:42 +08:00