From 75b015bdf0e684282f2cee5b3bbd55be7555ac53 Mon Sep 17 00:00:00 2001 From: seehi <6580@pm.me> Date: Fri, 9 Aug 2024 18:27:31 +0800 Subject: [PATCH] solve anti-robot in web search --- metagpt/actions/research.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metagpt/actions/research.py b/metagpt/actions/research.py index 0522fbd19..5e670520c 100644 --- a/metagpt/actions/research.py +++ b/metagpt/actions/research.py @@ -181,7 +181,7 @@ class CollectLinks(Action): return [i["link"] for i in results[:num_results]] async def _search_urls(self, query: str, max_results: int) -> list[dict[str, str]]: - """Use search_engine to get urls + """Use search_engine to get urls. Returns: e.g. [{"title": "...", "link": "...", "snippet", "..."}]