Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix agent upload file permission (#16963)

Wang Qi4518a588bd9f
diff --git a/api/apps/restful_apis/agent_api.py b/api/apps/restful_apis/agent_api.py
index df9d77b570..e16f42d385 100644
--- a/api/apps/restful_apis/agent_api.py
+++ b/api/apps/restful_apis/agent_api.py
@@ -845,7 +845,6 @@ async def create_agent(tenant_id):
@manager.route("/agents/<agent_id>/upload", methods=["POST"]) # noqa: F821
-@login_required
@login_required(auth_types=[AUTH_JWT, AUTH_API, AUTH_BETA])
@add_tenant_id_to_kwargs
@_require_canvas_access_async