Skip to content

Commit 8cf0419

Browse files
committed
Minor modification to finalisation of agent run
1 parent 98be84e commit 8cf0419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ai.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6555,7 +6555,7 @@ SINGUL ACTIONS:
65556555
_ = oldActionResult
65566556
oldAgentOutput := AgentOutput{}
65576557
if createNextActions == true {
6558-
extraString = "This is a continuation of a previous execution. ONLY output decisions that fit AFTER the last FINISHED decision. DO NOT repeat previous decisions, and make sure your indexing is on point. Output as an array of decisions.\n\nIF you don't want to add any new decision, add AT LEAST one decision saying why it is finished, summarising EXACTLY what the user wants in a user-friendly Markdown format, OR the format the user asked for. Make the action and category 'finish', and put the reason in the 'reason' field. Do NOT summarize or explain. JUST give exactly the final answer and nothing more."
6558+
extraString = "This is a continuation of a previous execution. ONLY output decisions that fit AFTER the last FINISHED decision. DO NOT repeat previous decisions, and make sure your indexing is on point. Output as an array of decisions.\n\nIF you don't want to add any new decision, add AT LEAST one decision saying why it is finished, summarising EXACTLY what the user wants in a user-friendly Markdown format, OR the format the user asked for. Make the action and category 'finish', and put the reason in the 'reason' field. Do NOT summarize, explain or say things like 'user said'. JUST give exactly the final answer and nothing more."
65596559

65606560
userMessageChanged := false
65616561

0 commit comments

Comments
 (0)