Merge branch 'fixbug_use_web_as_default_program_language' into 'mgx_ops'

use web as default program language

See merge request pub/MetaGPT!263
This commit is contained in:
林义章 2024-07-30 10:00:56 +00:00
commit fccfa5a9cc
4 changed files with 19 additions and 11 deletions

View file

@ -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,
)