Cheangys commited on
Commit
d9faab9
·
verified ·
1 Parent(s): 6b036c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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) -> dict:
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