mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-16 04:37:21 +08:00
@@ -846,6 +846,7 @@ 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
|
||||
async def upload_agent_file(agent_id, tenant_id):
|
||||
|
||||
Reference in New Issue
Block a user