mirror of
https://github.com/FuQuan233/nonebot-plugin-llmchat.git
synced 2026-06-28 00:02:04 +00:00
Compare commits
3 commits
885c87160b
...
66f1f71a02
| Author | SHA1 | Date | |
|---|---|---|---|
| 66f1f71a02 | |||
| 42f60625ca | |||
| 5ac0597278 |
2 changed files with 3 additions and 1 deletions
|
|
@ -475,6 +475,8 @@ async def process_messages(context_id: int, is_group: bool = True):
|
||||||
await send_split_messages(handler, message.content)
|
await send_split_messages(handler, message.content)
|
||||||
|
|
||||||
# 处理每个工具调用
|
# 处理每个工具调用
|
||||||
|
new_messages.append(llm_reply)
|
||||||
|
|
||||||
for tool_call in message.tool_calls:
|
for tool_call in message.tool_calls:
|
||||||
tool_name = tool_call.function.name
|
tool_name = tool_call.function.name
|
||||||
tool_args = json.loads(tool_call.function.arguments)
|
tool_args = json.loads(tool_call.function.arguments)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "nonebot-plugin-llmchat"
|
name = "nonebot-plugin-llmchat"
|
||||||
version = "0.5.1"
|
version = "0.5.2"
|
||||||
description = "Nonebot AI group chat plugin supporting multiple API preset configurations"
|
description = "Nonebot AI group chat plugin supporting multiple API preset configurations"
|
||||||
license = "GPL"
|
license = "GPL"
|
||||||
authors = ["FuQuan i@fuquan.moe"]
|
authors = ["FuQuan i@fuquan.moe"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue