From 7b321c8c3adc326b983ba6f0e4221d921f43d17b Mon Sep 17 00:00:00 2001 From: zihanjian Date: Fri, 18 Jul 2025 23:50:59 +0800 Subject: [PATCH] =?UTF-8?q?docs(ai=5Ffunctions):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=A4=A9=E6=B0=94=E5=92=8C=E6=96=B0=E9=97=BB=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E7=9A=84=E6=8F=8F=E8=BF=B0=E4=BB=A5=E6=8F=90=E4=BE=9B=E6=9B=B4?= =?UTF-8?q?=E6=B8=85=E6=99=B0=E7=9A=84=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/ai_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/ai_functions.py b/commands/ai_functions.py index ef0ea1d..3da2fbf 100644 --- a/commands/ai_functions.py +++ b/commands/ai_functions.py @@ -14,7 +14,7 @@ from .context import MessageContext # ======== 天气功能 ======== @ai_router.register( name="weather_query", - description="查询指定城市的天气情况和天气预报", + description="查询指定城市的天气情况和未来五天内的简略天气(非常简略,只能看到晴雨多云,如果需要更详细的天气预报,请使用perplexity搜索功能)", examples=[ "北京天气怎么样", "查一下上海的天气", @@ -72,7 +72,7 @@ def ai_handle_weather(ctx: MessageContext, params: str) -> bool: # ======== 新闻功能 ======== @ai_router.register( name="news_query", - description="获取当日新闻资讯", + description="获取当日新闻资讯,非常长的流水账,如果用户要精简的新闻则不用", examples=[ "看看今天的新闻", "有什么新闻吗",