TradingAgents/tradingagents/agents
octo-patch 25cc0e144c fix: strip trailing newlines from past_memory_str and gate thesis instruction
Addresses gemini-code-assist review feedback:
- All five files (portfolio_manager, research_manager, bear/bull researchers,
  trader) now call .strip() on past_memory_str before injecting it into prompts,
  removing the trailing '\n\n' artifacts from the construction loop.
- portfolio_manager now also makes the 'past reflections' phrasing in the
  Investment Thesis instruction conditional on past_memories being non-empty,
  so an empty memory section can't trigger hallucinated past reflections.
2026-04-23 13:16:32 +08:00
..
analysts refactor: remove stale imports, use configurable results path (#499) 2026-04-04 07:35:35 +00:00
managers fix: strip trailing newlines from past_memory_str and gate thesis instruction 2026-04-23 13:16:32 +08:00
researchers fix: strip trailing newlines from past_memory_str and gate thesis instruction 2026-04-23 13:16:32 +08:00
risk_mgmt refactor: remove stale imports, use configurable results path (#499) 2026-04-04 07:35:35 +00:00
trader fix: strip trailing newlines from past_memory_str and gate thesis instruction 2026-04-23 13:16:32 +08:00
utils fix: process all chunk messages for tool call logging, harden memory score normalization (#534, #531) 2026-04-13 07:21:33 +00:00
__init__.py refactor: standardize portfolio manager, five-tier rating scale, fix analyst status tracking 2026-03-22 23:30:29 +00:00