Skip to content

Commit 64cbbae

Browse files
committed
fix(ai-markmap-agent): fix save_all_markmaps return and resume functionality
- Add missing `return saved_files` in save_all_markmaps function (was causing 'NoneType' has no len() error) - Pass _resume_config from data dict to initial_state in run_pipeline and run_pipeline_async - Add _resume_config to WorkflowState TypedDict to ensure LangGraph preserves it across all graph nodes (root cause of resume not working)
1 parent 9b168d5 commit 64cbbae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/ai-markmap-agent/src/graph.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ class WorkflowState(TypedDict, total=False):
9393
# Metadata
9494
messages: list[str]
9595
errors: list[str]
96+
97+
# Resume configuration (internal)
98+
_resume_config: dict[str, Any]
9699

97100

98101
def load_baseline_markmap(config: dict[str, Any]) -> str:

0 commit comments

Comments
 (0)