fix nested manifold result
This commit is contained in:
@@ -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);
|
||||
Object.assign(this.nestedManifold.state, { ...this.nestedManifold.state, ...result });
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// src/types.d.ts
|
||||
// src/types.ts
|
||||
export interface WorkflowState {
|
||||
[key: string]: unknown;
|
||||
validated?: boolean;
|
Reference in New Issue
Block a user