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/azure blob new version (#5004)

Jyong481e7bc6b99c
diff --git a/api/extensions/storage/azure_storage.py b/api/extensions/storage/azure_storage.py
index b9809de6401..a712a8bbdb2 100644
--- a/api/extensions/storage/azure_storage.py
+++ b/api/extensions/storage/azure_storage.py
@@ -39,7 +39,7 @@ class AzureStorage(BaseStorage):
def generate(filename: str = filename) -> Generator:
blob = client.get_blob_client(container=self.bucket_name, blob=filename)
with closing(blob.download_blob()) as blob_stream:
- while chunk := blob_stream.readall(4096):
+ while chunk := blob_stream.readall():
yield chunk
return generate()