mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-07-31 08:59:51 +00:00
🐛 简化代码
This commit is contained in:
@ -90,7 +90,8 @@ async def make_chat(
|
||||
参数:
|
||||
client: 用于与AI模型进行通信
|
||||
msg: 消息内容
|
||||
model_name: 指定AI模型名"""
|
||||
model_name: 指定AI模型名
|
||||
tools: 工具列表"""
|
||||
return await client.complete(
|
||||
messages=msg,
|
||||
model=model_name,
|
||||
|
Reference in New Issue
Block a user