From 70b1a96ad3535694a5cf6bffee48bb3d3e06ff37 Mon Sep 17 00:00:00 2001 From: Asankilp Date: Thu, 24 Oct 2024 17:52:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=B0=E7=94=A8=E6=B3=95?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=E5=92=8C=E4=BF=AE=E5=A4=8D=E7=BC=A9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- marshoai/__plugin__.py | 2 +- marshoai/constants.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/marshoai/__plugin__.py b/marshoai/__plugin__.py index 4708881..c961cf4 100644 --- a/marshoai/__plugin__.py +++ b/marshoai/__plugin__.py @@ -45,7 +45,7 @@ async def reset(event: Union[GroupMessageEvent, PrivateMessageEvent]): context.reset(event.group_id, event.is_private) except AttributeError: context.reset(event.user_id, event.is_private) - await send_text("上下文已重置") + await send_text("上下文已重置") @on_start_match("marsho") diff --git a/marshoai/constants.py b/marshoai/constants.py index 55076ab..9afc5ee 100644 --- a/marshoai/constants.py +++ b/marshoai/constants.py @@ -6,6 +6,8 @@ USAGE: str = f"""MarshoAI-Melobot Beta v{__version__} by Asankilp reset : 重置当前会话的上下文。 超级用户命令(均需要加上命令前缀使用): /changemodel <模型名> : 切换全局 AI 模型。 + /contexts : 返回当前会话的上下文列表。 ※当上下文包含图片时,不要使用此命令。 + ※本AI的回答"按原样"提供,不提供任何担保。AI也会犯错,请仔细甄别回答的准确性。""" SUPPORT_IMAGE_MODELS: list = ["gpt-4o","gpt-4o-mini","llama-3.2-90b-vision-instruct","llama-3.2-11b-vision-instruct"]