mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-09-27 06:56:39 +03:00
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:
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user