Skip to content

Commit

Permalink
fix: change from assistant to user (#70)
Browse files Browse the repository at this point in the history
When request to supervisor was smaller, it would take that message as
answer. Changing to user makes it explicit that this is not the answer
from the model and execution should move forward.
  • Loading branch information
grabbou authored Dec 10, 2024
1 parent e757dc1 commit a6d24d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/framework/src/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ 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:
Here is description of my workflow and expected output:
<workflow>${workflow.description}</workflow>
<output>${workflow.output}</output>
`,
Expand Down

0 comments on commit a6d24d0

Please sign in to comment.