Commit b1f8cc5
Fix EvidenceSynthesizer callback signature mismatch
The EvidenceSynthesizer expects callback(message, current, total) with 3 args
but the agent callback is callback(event, data) with 2 args. This caused:
"takes 3 positional arguments but 4 were given"
Fix:
- Add _make_synthesis_callback() wrapper method to convert between formats
- Emits "synthesis_progress" events with "X/Y | message" format
- Update all 4 locations passing progress_callback to EvidenceSynthesizer
- Add synthesis_progress to GUI progress map (87%)
- Add activity log formatting with 📝 icon
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent b6f70be commit b1f8cc5
File tree
3 files changed
+30
-4
lines changed- src/bmlibrarian
- agents/systematic_review
- gui/qt/plugins/systematic_review
3 files changed
+30
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1295 | 1295 | | |
1296 | 1296 | | |
1297 | 1297 | | |
1298 | | - | |
| 1298 | + | |
1299 | 1299 | | |
1300 | 1300 | | |
1301 | 1301 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
100 | 119 | | |
101 | 120 | | |
102 | 121 | | |
| |||
821 | 840 | | |
822 | 841 | | |
823 | 842 | | |
824 | | - | |
| 843 | + | |
825 | 844 | | |
826 | 845 | | |
827 | 846 | | |
| |||
1016 | 1035 | | |
1017 | 1036 | | |
1018 | 1037 | | |
1019 | | - | |
| 1038 | + | |
1020 | 1039 | | |
1021 | 1040 | | |
1022 | 1041 | | |
| |||
1360 | 1379 | | |
1361 | 1380 | | |
1362 | 1381 | | |
1363 | | - | |
| 1382 | + | |
1364 | 1383 | | |
1365 | 1384 | | |
1366 | 1385 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
| |||
327 | 328 | | |
328 | 329 | | |
329 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
330 | 337 | | |
331 | 338 | | |
332 | 339 | | |
| |||
0 commit comments