Browse Source

fix: include __files__ param to pipe function

Timothy J. Baek 10 months ago
parent
commit
faeabfb3d4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      backend/apps/webui/main.py

+ 1 - 0
backend/apps/webui/main.py

@@ -295,6 +295,7 @@ async def generate_function_chat_completion(form_data, user):
         "__event_emitter__": __event_emitter__,
         "__event_emitter__": __event_emitter__,
         "__event_call__": __event_call__,
         "__event_call__": __event_call__,
         "__task__": __task__,
         "__task__": __task__,
+        "__files__": files,
         "__user__": {
         "__user__": {
             "id": user.id,
             "id": user.id,
             "email": user.email,
             "email": user.email,