From fc250ff854edb4ea3d350760cfe3304e6b33e5e3 Mon Sep 17 00:00:00 2001 From: Geoff Seemueller Date: Tue, 19 Nov 2024 17:52:04 -0500 Subject: [PATCH] revert change to nested manifold state assignment --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 75668c4..6d752f8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -99,7 +99,7 @@ export class NestedManifoldRegion extends ManifoldRegion { const result = await this.nestedManifold.executeWorkflow(prompt); if (result) { log.debug(`Nested workflow execution successful, updating state`); - Object.assign(this.nestedManifold.state, { ...this.nestedManifold.state, ...result }); + Object.assign(this.nestedManifold.state, this.nestedManifold.state); } return result; }