From 1df49b82e423918e2e33e586801187757e0bf614 Mon Sep 17 00:00:00 2001 From: better629 Date: Fri, 22 Dec 2023 13:55:23 +0800 Subject: [PATCH] fix --- metagpt/actions/research.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metagpt/actions/research.py b/metagpt/actions/research.py index 6670b3784..074cdee0a 100644 --- a/metagpt/actions/research.py +++ b/metagpt/actions/research.py @@ -178,8 +178,8 @@ class WebBrowseAndSummarize(Action): name: str = "WebBrowseAndSummarize" context: Optional[str] = None llm: BaseGPTAPI = Field(default_factory=LLM) - desc = "Explore the web and provide summaries of articles and webpages." - browse_func = Union[Callable[[list[str]], None], None] = None + desc: str = "Explore the web and provide summaries of articles and webpages." + browse_func: Union[Callable[[list[str]], None], None] = None web_browser_engine: WebBrowserEngine = WebBrowserEngine( engine=WebBrowserEngineType.CUSTOM if browse_func else None, run_func=browse_func,