🐛 修复mcp服务器卡住导致的卡死

This commit is contained in:
FuQuan233 2025-08-20 11:40:54 +08:00
parent 89baec6abc
commit 5014d3014b
2 changed files with 10 additions and 3 deletions

View file

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