mirror of
https://github.com/open-webui/computer.git
synced 2026-11-25 23:00:55 -05:00
refac
This commit is contained in:
1 parent
e68ece23ea
commit
72e9b35cb4
1 file changed
+8
-1
@@ -1055,7 +1055,14 @@ async def approve_tool(chat_id: str, message_id: str, body: ApproveRequest, requ
|
||||
result = await execute_tool(
|
||||
call["name"],
|
||||
call.get("arguments", {}),
|
||||
{"workspace": chat.meta.get("workspace", ""), "user_id": user_id, "model_id": model_id},
|
||||
{
|
||||
"workspace": chat.meta.get("workspace", ""),
|
||||
"user_id": user_id,
|
||||
"model_id": model_id,
|
||||
"chat_id": chat_id,
|
||||
"message_id": message_id,
|
||||
"call_id": body.call_id,
|
||||
},
|
||||
)
|
||||
call["status"] = "completed"
|
||||
output.append(
|
||||
|
||||
Reference in new issue
Block a user