Skip to content

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

fix(brightdata): drop stray $ in f-string search URLs (#7326)

陈志谦98c067c22aa0
diff --git a/lib/crewai-tools/src/crewai_tools/tools/brightdata_tool/brightdata_serp.py b/lib/crewai-tools/src/crewai_tools/tools/brightdata_tool/brightdata_serp.py
index 83b5c4c30..81deac5d4 100644
--- a/lib/crewai-tools/src/crewai_tools/tools/brightdata_tool/brightdata_serp.py
+++ b/lib/crewai-tools/src/crewai_tools/tools/brightdata_tool/brightdata_serp.py
@@ -131,10 +131,10 @@ class BrightDataSearchTool(BaseTool):
def get_search_url(self, engine: str, query: str) -> str:
if engine == "yandex":
- return f"https://yandex.com/search/?text=${query}"
+ return f"https://yandex.com/search/?text={query}"
if engine == "bing":
- return f"https://www.bing.com/search?q=${query}"
- return f"https://www.google.com/search?q=${query}"
+ return f"https://www.bing.com/search?q={query}"
+ return f"https://www.google.com/search?q={query}"
def _run(
self,