refactor(src/plugins/check.py): 更新 AI 聊天函数

- 将 ai_chat.deepseek_chat() 函数替换为 ai_chat.silicon_flow()
This commit is contained in:
SlyAimer 2025-02-28 14:27:46 +08:00
parent 7eb40ad582
commit 21c82dc6e7

View file

@ -42,7 +42,7 @@ async def handle_function(message: MessageEvent):
member_openid, content = message.author.id, message.get_plaintext()
status = await GroupChatRole.is_on(group_openid)
if status:
msg = await ai_chat.deepseek_chat(group_openid,content)
msg = await ai_chat.silicon_flow(group_openid,content)
await check.finish(msg)
else:
await check.finish(message=Message(random.choice(text_list)))