mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-14 15:25:17 +02:00
Refine the teamleader instruction. Adding a 'User Requirements' section between the 'Example' and 'Instruct' sections.
This commit is contained in:
parent
c45710bc51
commit
b3707c7a09
8 changed files with 40 additions and 19 deletions
|
|
@ -34,7 +34,7 @@ class TestRoleZeroContextBuilder:
|
|||
result = context_builder.replace_example_content("Original text", "New example content")
|
||||
assert result == "Replaced content"
|
||||
context_builder.replace_content_between_markers.assert_called_once_with(
|
||||
"Original text", "# Example", "# Instruction", "New example content"
|
||||
"Original text", "# Example", "# User Requirements", "New example content"
|
||||
)
|
||||
|
||||
def test_replace_content_between_markers(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue