review: update stale duckduckgo-search references to ddgs

This commit is contained in:
Patrick Buckley
2026-03-23 16:04:30 -07:00
committed by Patrick Buckley
parent 7631b88792
commit 3d02cf66b4
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ class TestTavilyClient:
class TestDuckDuckGoClient:
def test_integration_via_mock_ddgs(self):
"""Patch the duckduckgo_search import inside DuckDuckGoClient.search."""
"""Patch the ddgs import inside DuckDuckGoClient.search."""
mock_ddgs = MagicMock()
mock_ddgs.__enter__ = MagicMock(return_value=mock_ddgs)
mock_ddgs.__exit__ = MagicMock(return_value=False)
+1 -1
View File
@@ -2803,7 +2803,7 @@ class ChatSession:
"needs_approval": False,
"error": (
"Error: No web search backend available. "
"Install duckduckgo-search (`pip install duckduckgo-search`), "
"Install the ddg extra (`pip install turnstone[ddg]`), "
"configure a Tavily API key, or set tools.web_search_backend."
),
}
+1 -1
View File
@@ -3,7 +3,7 @@
``web_search`` is an abstract capability with swappable clients:
* **TavilyClient** — paid, high quality, requires API key
* **DuckDuckGoClient** — free, no API key, uses ``duckduckgo-search``
* **DuckDuckGoClient** — free, no API key, uses ``ddgs``
Auto-detection (default): Tavily if key present, else DDG if installed,
else ``None`` (tool removed from tool list).