🐛 简化代码

This commit is contained in:
2024-12-30 00:01:57 +08:00
parent b417a5c8d0
commit 80ed7692a4
3 changed files with 44 additions and 55 deletions

View File

@ -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,