mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-07 23:02:38 +02:00
Solved the issue of inconsistent input and output languages.
This commit is contained in:
parent
23aca9055d
commit
6f17d3da13
5 changed files with 79 additions and 9 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", "# User Requirements", "New example content"
|
||||
"Original text", "# Example", "# Instruction", "New example content"
|
||||
)
|
||||
|
||||
def test_replace_content_between_markers(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue