🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
fix test_role
better6299541f930dcd2
diff --git a/tests/metagpt/test_role.py b/tests/metagpt/test_role.pyindex 6589f6ade..33320715c 100644--- a/tests/metagpt/test_role.py+++ b/tests/metagpt/test_role.py@@ -24,7 +24,8 @@ from metagpt.utils.common import any_to_strclass MockAction(Action):async def run(self, messages, *args, **kwargs):assert messages- return ActionOutput(content=messages[-1].content, instruct_content=messages[-1])+ # TODO to check instruct_content as Message+ return ActionOutput(content=messages[-1].content, instruct_content=messages[-1].instruct_content)class MockRole(Role):