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: image preview triggers binary download (#19070)
xiaotian23f6914b9bf1
diff --git a/api/controllers/files/image_preview.py b/api/controllers/files/image_preview.pyindex 5adfe16a799..5bb28b3897a 100644--- a/api/controllers/files/image_preview.py+++ b/api/controllers/files/image_preview.py@@ -75,7 +75,7 @@ class FilePreviewApi(Resource):if args["as_attachment"]:encoded_filename = quote(upload_file.name)response.headers["Content-Disposition"] = f"attachment; filename*=UTF-8''{encoded_filename}"- response.headers["Content-Type"] = "application/octet-stream"+ response.headers["Content-Type"] = "application/octet-stream"return response