mirror of
https://github.com/FuQuan233/nonebot-plugin-llmchat.git
synced 2025-09-06 19:40:44 +00:00
🐛 修复mcp服务器卡住导致的卡死
This commit is contained in:
parent
89baec6abc
commit
5014d3014b
2 changed files with 10 additions and 3 deletions
|
@ -380,7 +380,7 @@ async def process_messages(group_id: int):
|
|||
new_messages.append({
|
||||
"role": "tool",
|
||||
"tool_call_id": tool_call.id,
|
||||
"content": str(result.content)
|
||||
"content": str(result)
|
||||
})
|
||||
|
||||
# 将工具调用的结果交给 LLM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue