Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,9 +60,10 @@ def get_stock_price(stock: str) -> str:
|
|
| 60 |
return f"Error fetching price for stock '{stock}': {str(e)}"
|
| 61 |
|
| 62 |
|
|
|
|
| 63 |
|
| 64 |
@tool
|
| 65 |
-
def web_search(query: str) ->
|
| 66 |
"""
|
| 67 |
Fetches the result from a web search using DuckDuckGo.
|
| 68 |
|
|
|
|
| 60 |
return f"Error fetching price for stock '{stock}': {str(e)}"
|
| 61 |
|
| 62 |
|
| 63 |
+
from typing import Any
|
| 64 |
|
| 65 |
@tool
|
| 66 |
+
def web_search(query: str) -> Any:
|
| 67 |
"""
|
| 68 |
Fetches the result from a web search using DuckDuckGo.
|
| 69 |
|