From f4e05b35b02384e19f216a7ec849580d0cdaa722 Mon Sep 17 00:00:00 2001 From: Mike Grabowski Date: Tue, 10 Dec 2024 13:29:07 +0400 Subject: [PATCH 1/2] fix --- packages/framework/src/workflow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/src/workflow.ts b/packages/framework/src/workflow.ts index d07fb13..0215183 100644 --- a/packages/framework/src/workflow.ts +++ b/packages/framework/src/workflow.ts @@ -76,7 +76,7 @@ export const workflowState = (workflow: Workflow): IdleWorkflowState => { status: 'idle', messages: [ { - role: 'assistant' as const, + role: 'user' as const, content: s` Here is description of the workflow and expected output by the user: ${workflow.description} From cba4a332afb68eff7c67b12eebe1488cd623785f Mon Sep 17 00:00:00 2001 From: Mike Grabowski Date: Tue, 10 Dec 2024 13:30:34 +0400 Subject: [PATCH 2/2] save --- packages/framework/src/workflow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/src/workflow.ts b/packages/framework/src/workflow.ts index 0215183..e1dc0f0 100644 --- a/packages/framework/src/workflow.ts +++ b/packages/framework/src/workflow.ts @@ -78,7 +78,7 @@ export const workflowState = (workflow: Workflow): IdleWorkflowState => { { role: 'user' as const, content: s` - Here is description of the workflow and expected output by the user: + Here is description of my workflow and expected output: ${workflow.description} ${workflow.output} `,