From faeabfb3d48e374968d9bceaacfd85f88d29dcd5 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 26 Aug 2024 12:36:04 +0200 Subject: [PATCH] fix: include __files__ param to pipe function --- backend/apps/webui/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/apps/webui/main.py b/backend/apps/webui/main.py index 54e7132f3..00963def6 100644 --- a/backend/apps/webui/main.py +++ b/backend/apps/webui/main.py @@ -295,6 +295,7 @@ async def generate_function_chat_completion(form_data, user): "__event_emitter__": __event_emitter__, "__event_call__": __event_call__, "__task__": __task__, + "__files__": files, "__user__": { "id": user.id, "email": user.email,