ChienChung commited on
Commit
b10b169
·
verified ·
1 Parent(s): d617300

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -967,7 +967,7 @@ def multi_agent_chat_advanced(query: str, file=None) -> str:
967
  date_keywords = ["what date", "today", "what time", "what day", "current time", "date", "現在幾點", "今天幾號", "禮拜幾"]
968
  if any(k in lower_query for k in date_keywords):
969
  return get_time_tool(query)
970
- weather_keywords = ["weather", "rain", "snow", "cold", "hot", "cloudy", "sunny", "temperature", "forecast", "天氣", "會不會下雨", "冷嗎", "熱嗎", "氣溫"]
971
  if any(k in lower_query for k in weather_keywords):
972
  return weather_agent_tool(query)
973
  search_keywords = ["latest", "news", "startup", "startups", "company", "companies", "top", "trending", "in 2025", "in 2024", "tell me"]
 
967
  date_keywords = ["what date", "today", "what time", "what day", "current time", "date", "現在幾點", "今天幾號", "禮拜幾"]
968
  if any(k in lower_query for k in date_keywords):
969
  return get_time_tool(query)
970
+ weather_keywords = ["weather", "rain", "snow", "cold", "hot", "sunscreen", "umbrella", "windy", "cloudy", "sunny", "temperature", "forecast", "天氣", "會不會下雨", "冷嗎", "熱嗎", "氣溫"]
971
  if any(k in lower_query for k in weather_keywords):
972
  return weather_agent_tool(query)
973
  search_keywords = ["latest", "news", "startup", "startups", "company", "companies", "top", "trending", "in 2025", "in 2024", "tell me"]