Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
35 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
36 |
|
37 |
@tool
|
38 |
-
def
|
39 |
"""
|
40 |
從指定的 RSS Feed URL 獲取最新的新聞。
|
41 |
|
|
|
35 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
36 |
|
37 |
@tool
|
38 |
+
def get_news(rss_url: str, max_items: int) -> str:
|
39 |
"""
|
40 |
從指定的 RSS Feed URL 獲取最新的新聞。
|
41 |
|