From 4689856d6e34d007286cd0491017d356193be285 Mon Sep 17 00:00:00 2001 From: "suluyan.sly" Date: Fri, 5 Jan 2024 09:17:54 +0800 Subject: [PATCH] revert modelscope_agent/agent.py --- modelscope_agent/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modelscope_agent/agent.py b/modelscope_agent/agent.py index ed5386061..7aec98455 100644 --- a/modelscope_agent/agent.py +++ b/modelscope_agent/agent.py @@ -61,7 +61,7 @@ def run(self, *args, **kwargs) -> Union[str, Iterator[str]]: @abstractmethod def _run(self, *args, **kwargs) -> Union[str, Iterator[str]]: - pass + raise NotImplementedError def _call_llm(self, prompt: Optional[str] = None,