Spaces:
Sleeping
Sleeping
Add return type
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 39 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 40 |
|
| 41 |
@tool
|
| 42 |
-
def yf_get_ticker_price(ticker: str):
|
| 43 |
"""
|
| 44 |
Return the latest closing price for a stock ticker.
|
| 45 |
|
|
|
|
| 39 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 40 |
|
| 41 |
@tool
|
| 42 |
+
def yf_get_ticker_price(ticker: str) -> float:
|
| 43 |
"""
|
| 44 |
Return the latest closing price for a stock ticker.
|
| 45 |
|