fix(agents): give the fundamentals analyst the insider transactions tool

- the tool sat in the news tool node, which no analyst offered it from, so no run used insider data
- the full-graph test now requires it
This commit is contained in:
Yijia-Xiao
2026-09-24 04:31:04 +00:00
parent 2938e1c7e9
commit 15b8276b92
3 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -132,7 +132,8 @@ def test_a_full_run_reaches_a_logged_decision(tmp_path, monkeypatch, offline, st
assert state[key].strip(), key
tool_methods = {"get_stock_data", "get_indicators", "get_news", "get_global_news",
"get_macro_indicators", "get_prediction_markets", "get_fundamentals",
"get_balance_sheet", "get_cashflow", "get_income_statement", "ohlcv"}
"get_balance_sheet", "get_cashflow", "get_income_statement",
"get_insider_transactions", "ohlcv"}
assert offline == tool_methods
assert [e["rating"] for e in graph.memory_log.load_entries()] == ["Overweight"]