Commit 22d4bf9
jovanSAPFIONEER
fix: serialization crash in parallel waves + add openai devDep
- validateValue: handle undefined (JSON.stringify(undefined) returns undefined
not a string, causing .length to throw as 'circular reference')
- executeSingleTask: propagate adapter failure instead of returning success
with undefined result
- executeParallel: wrap cache write in try-catch so cache failures don't
abort the entire wave
- package.json: add openai as devDependency (used in examples/04-live-swarm)
- .gitignore: exclude examples/04-live-swarm.ts (contains API key)
- swarm-blackboard.md: updated with live demo run state1 parent 36dd680 commit 22d4bf9
File tree
5 files changed
+265
-48
lines changed5 files changed
+265
-48
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
410 | 413 | | |
411 | 414 | | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
412 | 419 | | |
413 | 420 | | |
414 | 421 | | |
| |||
1201 | 1208 | | |
1202 | 1209 | | |
1203 | 1210 | | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
1207 | | - | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
1208 | 1219 | | |
1209 | 1220 | | |
1210 | 1221 | | |
| |||
1282 | 1293 | | |
1283 | 1294 | | |
1284 | 1295 | | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
1285 | 1309 | | |
1286 | 1310 | | |
1287 | 1311 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
0 commit comments