This commit is contained in:
2025-12-31 17:47:39 +08:00
38 changed files with 4435 additions and 1343 deletions

View File

@@ -303,7 +303,7 @@ class WeatherPlugin(PluginBase):
"type": "function",
"function": {
"name": "query_weather",
"description": "查询天气预报信息,包括温度、天气状况、风力和空气质量。当用户询问天气气温、会不会下雨等天气相关问题时,应该调用此函数。如果用户没有指定城市,函数会自动使用用户之前设置的城市;如果用户指定城市名称,则查询该城市的天气",
"description": "当用户明确询问天气/气温/预报/空气质量时调用;不要仅凭城市名自动触发。用户指定城市时可使用其默认城市",
"parameters": {
"type": "object",
"properties": {