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