From f3a4d61f81652661d37ca0f3bb309d92f4e6fe8b Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 3 Jan 2025 21:31:24 -0800 Subject: [PATCH] fix: actions --- backend/open_webui/utils/chat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/open_webui/utils/chat.py b/backend/open_webui/utils/chat.py index 7fce76419..0719f6af5 100644 --- a/backend/open_webui/utils/chat.py +++ b/backend/open_webui/utils/chat.py @@ -315,6 +315,7 @@ async def chat_action(request: Request, action_id: str, form_data: dict, user: A "chat_id": data["chat_id"], "message_id": data["id"], "session_id": data["session_id"], + "user_id": user.id, } ) __event_call__ = get_event_call( @@ -322,6 +323,7 @@ async def chat_action(request: Request, action_id: str, form_data: dict, user: A "chat_id": data["chat_id"], "message_id": data["id"], "session_id": data["session_id"], + "user_id": user.id, } )