Update tools.py
Browse files
tools.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
# --- Simple Search Tool ---
|
2 |
|
3 |
def simple_search(query: str, max_results: int = 3) -> List[str]:
|
|
|
1 |
+
from typing import List
|
2 |
+
from duckduckgo_search import DDGS
|
3 |
+
|
4 |
# --- Simple Search Tool ---
|
5 |
|
6 |
def simple_search(query: str, max_results: int = 3) -> List[str]:
|