Skip to content

Commit 20f9073

Browse files
committed
Change response to be a user message
1 parent 87f6ac4 commit 20f9073

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/Cline.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,11 +498,11 @@ export class Cline {
498498
await this.say("text", `new_task finished successfully! ${lastMessage ?? "Please continue to the next task."}`)
499499

500500
await this.addToApiConversationHistory({
501-
role: "assistant",
501+
role: "user",
502502
content: [
503503
{
504504
type: "text",
505-
text: `new_task finished successfully! ${lastMessage ?? "Please continue to the next task."}`,
505+
text: `[new_task completed] Result: ${lastMessage ?? "Please continue to the next task."}`,
506506
},
507507
],
508508
})

0 commit comments

Comments
 (0)