Added comprehensive unit tests for `fundamentals_analyst`, `market_analyst`, `social_media_analyst`, and `news_analyst` to verify that they correctly handle recursive tool calling via `run_tool_loop`. A MockLLM was created to simulate a two-turn conversation (tool call request followed by a final report generation) to ensure the `.invoke()` bug does not regress. Added missing `build_instrument_context` imports to those agents to prevent NameErrors. Co-authored-by: aguzererler <6199053+aguzererler@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| analysts | ||
| managers | ||
| portfolio | ||
| researchers | ||
| risk_mgmt | ||
| scanners | ||
| trader | ||
| utils | ||
| __init__.py | ||