Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

fix

better62919c16bf9f19c
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,