From 1de01c1f2402d624a8dc3d3ca014c12cc7812eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E4=BC=9F=E9=9F=AC?= Date: Thu, 15 Aug 2024 20:38:32 +0800 Subject: [PATCH] fix format issues --- metagpt/exp_pool/context_builders/role_zero.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" - 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