From 8e865b69186620fbba73cceefbb74c2747738689 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Fri, 15 Mar 2024 14:05:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=97=A0LLM=E6=83=85?= =?UTF-8?q?=E5=86=B5=E4=B8=8Bupdate=E4=B8=8D=E7=AE=A1=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/command/command.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/model/command/command.py b/model/command/command.py index f5ea4e76c..4968c5e04 100644 --- a/model/command/command.py +++ b/model/command/command.py @@ -95,6 +95,8 @@ class Command: return True, self.get_my_id(message_obj, platform) if self.command_start_with(message, "web"): # 网页搜索 return True, self.web_search(message) + if self.command_start_with(message, "update"): + return True, self.update(message, role) if not self.provider and self.command_start_with(message, "help"): return True, await self.help()