🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
去掉role装饰器
Yizhou Chicdfb413f9d8e
diff --git a/expo/research_assistant.py b/expo/research_assistant.pyindex c574d5b18..fb34ece38 100644--- a/expo/research_assistant.py+++ b/expo/research_assistant.py@@ -11,7 +11,7 @@ from metagpt.actions.di.write_analysis_code import WriteAnalysisCodefrom metagpt.const import SERDESER_PATHfrom metagpt.roles.di.data_interpreter import DataInterpreterfrom metagpt.schema import Message, Task, TaskResult-from metagpt.utils.common import CodeParser, role_raise_decorator, write_json_file+from metagpt.utils.common import CodeParser, write_json_fileEXTRACT_SCORE_PROMPT = """# Code:@@ -165,7 +165,6 @@ class ResearchAssistant(DataInterpreter):]@async_timeout()- @role_raise_decoratorasync def run(self, with_message=None) -> Message | None:"""Observe, and think and act based on the results of the observation"""if with_message == "continue":