Commit a8f5097
committed
feat(ai-markmap-agent): simplify writer prompt, fix resume, debug output and template errors
Writer prompt simplification:
- Remove URL format instructions from writer_behavior.md
- Compress problem data to ID list only (reduces tokens)
- Add _convert_plain_leetcode_to_links() to post_processing.py
- Fix template placeholders ({id}, {title}, {slug}) causing KeyError
Resume functionality fixes:
- Fix load_expert_responses_from_run to scan correct file categories
- Add parse_suggestions_from_response() and parse_adoption_list_from_response()
- Fix run_expert_review/run_full_discussion resume to load data into state
Debug output fixes:
- Add save_expert_review() for Phase 1 outputs (01_ prefix)
- Add save_discussion() for Phase 2 outputs (02_ prefix)
- Update graph.py to use new debug save methods1 parent 7deda70 commit a8f5097
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
| 98 | + | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments