Commit 7deda70
committed
feat(ai-markmap-agent): simplify writer prompt, fix resume and debug output
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
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
- Add save_discussion() for Phase 2 outputs
- Update graph.py to use new debug save methods1 parent 9d9f434 commit 7deda70
File tree
6 files changed
+479
-432
lines changed- docs/pages/mindmaps
- tools/ai-markmap-agent
- outputs/versions/v1
- src
6 files changed
+479
-432
lines changedLines changed: 71 additions & 71 deletions
Large diffs are not rendered by default.
Lines changed: 118 additions & 118 deletions
Large diffs are not rendered by default.
Lines changed: 118 additions & 118 deletions
Large diffs are not rendered by default.
Lines changed: 118 additions & 118 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
190 | 239 | | |
191 | 240 | | |
192 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
422 | | - | |
| 421 | + | |
423 | 422 | | |
424 | 423 | | |
425 | 424 | | |
| |||
509 | 508 | | |
510 | 509 | | |
511 | 510 | | |
512 | | - | |
| 511 | + | |
513 | 512 | | |
514 | 513 | | |
515 | | - | |
516 | | - | |
| 514 | + | |
517 | 515 | | |
518 | 516 | | |
519 | 517 | | |
| |||
0 commit comments