agents-relay 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/reconciler.js +0 -4
- package/package.json +1 -1
package/dist/reconciler.js
CHANGED
|
@@ -372,8 +372,6 @@ export class Reconciler {
|
|
|
372
372
|
for (const child of children) {
|
|
373
373
|
const existing = job.tasks.find(item => item.id === child.id);
|
|
374
374
|
if (existing) {
|
|
375
|
-
if (!samePlannerChildDefinition(existing, child))
|
|
376
|
-
throw new Error(`Planner task ${child.id} already exists with a different definition`);
|
|
377
375
|
continue;
|
|
378
376
|
}
|
|
379
377
|
await this.store.appendTask(child);
|
|
@@ -559,8 +557,6 @@ export class Reconciler {
|
|
|
559
557
|
const existing = job.tasks.find(item => item.id === child.id);
|
|
560
558
|
if (!existing)
|
|
561
559
|
continue;
|
|
562
|
-
else if (!samePlannerChildDefinition(existing, child))
|
|
563
|
-
throw new Error(`Planner task ${child.id} already exists with a different definition`);
|
|
564
560
|
}
|
|
565
561
|
// Persist the completed decision before exposing executable children.
|
|
566
562
|
task.plannerResult = result;
|