mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
fix format issues
This commit is contained in:
parent
91affc2a60
commit
1de01c1f24
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue