Skip to content

armgit / dify

Public Imported from GitHub
0

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.

fix: add compatibility config for third-party S3-compatible providers (#13354)

zhu-ana081b1e79e93
diff --git a/api/extensions/storage/aws_s3_storage.py b/api/extensions/storage/aws_s3_storage.py
index 7b6b2eedd62..ce6b194f406 100644
--- a/api/extensions/storage/aws_s3_storage.py
+++ b/api/extensions/storage/aws_s3_storage.py
@@ -32,7 +32,11 @@ class AwsS3Storage(BaseStorage):
aws_access_key_id=dify_config.S3_ACCESS_KEY,
endpoint_url=dify_config.S3_ENDPOINT,
region_name=dify_config.S3_REGION,
- config=Config(s3={"addressing_style": dify_config.S3_ADDRESS_STYLE}),
+ config=Config(
+ s3={"addressing_style": dify_config.S3_ADDRESS_STYLE},
+ request_checksum_calculation="when_required",
+ response_checksum_validation="when_required",
+ ),
)
# create bucket
try: