From c540c007786f63b85faaf598f7b67ab08c490a68 Mon Sep 17 00:00:00 2001 From: Yijia-Xiao Date: Fri, 25 Sep 2026 06:45:10 +0000 Subject: [PATCH] docs: show save_reports in the Python example --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d3cbb663b..3f49da446 100644 --- a/README.md +++ b/README.md @@ -252,8 +252,11 @@ from tradingagents.default_config import DEFAULT_CONFIG ta = TradingAgentsGraph(debug=True, config=DEFAULT_CONFIG.copy()) # forward propagate -_, decision = ta.propagate("NVDA", "2026-09-01") +state, decision = ta.propagate("NVDA", "2026-09-01") print(decision) + +# the same report tree the CLI saves, under results_dir/reports +ta.save_reports(state, "NVDA") ``` You can also adjust the default configuration to set your own choice of LLMs, debate rounds, etc.