fix(cli): say whether a checkpointed run resumed or started fresh

- the announcement existed but the run path never called it
- tested through run_analysis rather than by calling the helper directly
This commit is contained in:
Yijia-Xiao
2026-09-24 00:41:56 +00:00
parent 1e439352c0
commit 4a71dc708d
3 changed files with 33 additions and 24 deletions
+1
View File
@@ -1174,6 +1174,7 @@ def run_analysis(checkpoint: bool | None = None, portfolio=None):
)
if checkpoint_tid is not None:
args.setdefault("config", {}).setdefault("configurable", {})["thread_id"] = checkpoint_tid
_announce_checkpoint_state(graph, selections["ticker"], selections["analysis_date"])
# Stream the analysis. On resume, feed None so LangGraph continues the
# interrupted run instead of re-appending the initial state (#1249); the