Solved the issue of inconsistent input and output languages.

This commit is contained in:
黄伟韬 2024-07-29 12:01:42 +08:00
parent 23aca9055d
commit 6f17d3da13
5 changed files with 79 additions and 9 deletions

View file

@ -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):