feat(reports): record the analysis date and what produced a run (#752)

- TradingAgentsGraph.run_settings(): version, provider, models, analysts, debate rounds, language and vendors; no endpoints, keys or paths
- complete_report.md opens with the analysis date and those settings; the saved state log carries them as run_settings
This commit is contained in:
Yijia-Xiao
2026-09-24 19:38:41 +00:00
parent d91d1f4cb4
commit a1b3b5bab8
5 changed files with 115 additions and 10 deletions
+2 -1
View File
@@ -381,7 +381,8 @@ def run_analysis(checkpoint: bool | None = None, portfolio=None):
).strip()
save_path = Path(save_path_str)
try:
report_file = write_report_tree(final_state, selections["ticker"], save_path)
report_file = write_report_tree(final_state, selections["ticker"], save_path,
settings=graph.run_settings())
console.print(f"\n[green]✓ Report saved to:[/green] {save_path.resolve()}")
console.print(f" [dim]Complete report:[/dim] {report_file.name}")
except Exception as e: