Skip to content

Commit 0a5ceab

Browse files
committed
Update uv.lock
1 parent d96c5db commit 0a5ceab

File tree

3 files changed

+104
-87
lines changed

3 files changed

+104
-87
lines changed

pydantic_ai_slim/pydantic_ai/common_tools/duckduckgo.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99
from pydantic_ai.tools import Tool
1010

1111
try:
12-
try:
13-
from ddgs import DDGS
14-
except ImportError: # Fallback for older versions of ddgs
15-
from duckduckgo_search import DDGS
12+
from ddgs import DDGS
1613
except ImportError as _import_error:
1714
raise ImportError(
1815
'Please install `ddgs` to use the DuckDuckGo search tool, '

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ dev = [
9090
"devtools>=0.12.2",
9191
"coverage[toml]>=7.10.3",
9292
"dirty-equals>=0.9.0",
93-
"ddgs>=9.0.0",
93+
"ddgs>=9.5.3",
9494
"inline-snapshot>=0.19.3",
9595
"pytest>=8.3.3",
9696
"pytest-examples>=0.0.18",

0 commit comments

Comments
 (0)