添加新用法说明和修复缩进

This commit is contained in:
Asankilp 2024-10-24 17:52:05 +08:00
parent cdc6269fd7
commit 70b1a96ad3
2 changed files with 3 additions and 1 deletions

View File

@ -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")

View File

@ -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"]