mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
Add a confirmation message when the role finishes the task.
This commit is contained in:
parent
0a18c3d4f3
commit
c192d60212
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ class RoleZero(Role):
|
|||
self.rc.memory.add(UserMessage(content=outputs))
|
||||
|
||||
return AIMessage(
|
||||
content=f"Complete run with outputs: {outputs}",
|
||||
content=f"{self.name} has finished the task, mark it as finished. Complete run with outputs: {outputs}",
|
||||
sent_from=self.name,
|
||||
cause_by=RunCommand,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue