Skip to content

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

add search kw to hit example

garylin2099f31c257ea10e
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