From cdfb413f9d8e7e57e2d64efa0616ecf491460b17 Mon Sep 17 00:00:00 2001 From: Yizhou Chi Date: Fri, 11 Oct 2024 10:05:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89role=E8=A3=85=E9=A5=B0?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- expo/research_assistant.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/expo/research_assistant.py b/expo/research_assistant.py index 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 WriteAnalysisCode from metagpt.const import SERDESER_PATH from metagpt.roles.di.data_interpreter import DataInterpreter from 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_file EXTRACT_SCORE_PROMPT = """ # Code: @@ -165,7 +165,6 @@ class ResearchAssistant(DataInterpreter): ] @async_timeout() - @role_raise_decorator async def run(self, with_message=None) -> Message | None: """Observe, and think and act based on the results of the observation""" if with_message == "continue":