From f31c257ea10e660823c5dd06f2813761317611e3 Mon Sep 17 00:00:00 2001 From: garylin2099 Date: Mon, 29 Jul 2024 21:29:11 +0800 Subject: [PATCH] add search kw to hit example --- metagpt/strategy/experience_retriever.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metagpt/strategy/experience_retriever.py b/metagpt/strategy/experience_retriever.py index 7d7d89a58..f12b77daf 100644 --- a/metagpt/strategy/experience_retriever.py +++ b/metagpt/strategy/experience_retriever.py @@ -663,7 +663,7 @@ class KeywordExpRetriever(ExpRetriever): return DEPLOY_EXAMPLE elif "issue" in context.lower(): return FIX_ISSUE_EXAMPLE - elif "https:" in context.lower() or "http:" in context.lower(): + elif "https:" in context.lower() or "http:" in context.lower() or "search" in context.lower(): if "search" in context.lower() or "click" in context.lower(): return WEB_SCRAPING_EXAMPLE return WEB_SCRAPING_EXAMPLE_SIMPLE