Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

fix format issues

黄伟韬1de01c1f2402
diff --git a/metagpt/exp_pool/context_builders/role_zero.py b/metagpt/exp_pool/context_builders/role_zero.py
index 44685411c..3145ca998 100644
--- a/metagpt/exp_pool/context_builders/role_zero.py
+++ b/metagpt/exp_pool/context_builders/role_zero.py
@@ -37,7 +37,7 @@ class RoleZeroContextBuilder(BaseContextBuilder):
@staticmethod
def replace_content_of_example_tag(self, text: str, new_example_content: str) -> str:
pattern = "# Past Experience\n<experience>"
- replaced_text = text.replace(pattern, "# Example\n" + new_example_content)
+ replaced_text = text.replace(pattern, "# Past Example\n" + new_example_content)
return replaced_text
@staticmethod