Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(api): replace current_user with end_user in file upload (#10194)
-LAN-0066531266f9
diff --git a/api/controllers/web/remote_files.py b/api/controllers/web/remote_files.pyindex cb529340afe..0b8a586d0cf 100644--- a/api/controllers/web/remote_files.py+++ b/api/controllers/web/remote_files.py@@ -1,6 +1,5 @@import urllib.parse-from flask_login import current_userfrom flask_restful import marshal_with, reqparsefrom controllers.common import helpers@@ -27,7 +26,7 @@ class RemoteFileInfoApi(WebApiResource):class RemoteFileUploadApi(WebApiResource):@marshal_with(file_fields_with_signed_url)- def post(self):+ def post(self, app_model, end_user): # Add app_model and end_user parametersparser = reqparse.RequestParser()parser.add_argument("url", type=str, required=True, help="URL is required")args = parser.parse_args()@@ -51,7 +50,7 @@ class RemoteFileUploadApi(WebApiResource):filename=file_info.filename,content=content,mimetype=file_info.mimetype,- user=current_user,+ user=end_user, # Use end_user instead of current_usersource_url=url,)except Exception as e: