Update agent.py
Browse files
agent.py
CHANGED
|
@@ -172,6 +172,9 @@ def wikipedia_search(query: str) -> str:
|
|
| 172 |
return f"Wikipedia search failed for {query} due to {e}."
|
| 173 |
|
| 174 |
search_web = DuckDuckGoSearchRun()
|
|
|
|
|
|
|
|
|
|
| 175 |
model = build_gemini_llm()
|
| 176 |
tools = [
|
| 177 |
search_web,
|
|
|
|
| 172 |
return f"Wikipedia search failed for {query} due to {e}."
|
| 173 |
|
| 174 |
search_web = DuckDuckGoSearchRun()
|
| 175 |
+
query = 'site:en.wikipedia.org/wiki/Mercedes_Sosa "Discography" OR "Studio albums"'
|
| 176 |
+
result = search_web.invoke(query)
|
| 177 |
+
print(result)
|
| 178 |
model = build_gemini_llm()
|
| 179 |
tools = [
|
| 180 |
search_web,
|