mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
refactor(src/plugins/check.py): 更新 AI 聊天函数
- 将 ai_chat.deepseek_chat() 函数替换为 ai_chat.silicon_flow()
(cherry picked from commit 21c82dc6e7)
This commit is contained in:
parent
183d632747
commit
546ebad716
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ async def handle_function(message: MessageEvent):
|
||||||
member_openid, content = message.author.id, message.get_plaintext()
|
member_openid, content = message.author.id, message.get_plaintext()
|
||||||
status = await GroupChatRole.is_on(group_openid)
|
status = await GroupChatRole.is_on(group_openid)
|
||||||
if status:
|
if status:
|
||||||
msg = await ai_chat.deepseek_chat(group_openid,content)
|
msg = await ai_chat.silicon_flow(group_openid,content)
|
||||||
await check.finish(msg)
|
await check.finish(msg)
|
||||||
else:
|
else:
|
||||||
await check.finish(message=Message(random.choice(text_list)))
|
await check.finish(message=Message(random.choice(text_list)))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue