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(storage): ensure `storage_runner` initialization within app context (#9627)
-LAN-e8abbe0623a8
diff --git a/api/extensions/ext_storage.py b/api/extensions/ext_storage.pyindex 50c5d7aebc7..86fadf23d78 100644--- a/api/extensions/ext_storage.py+++ b/api/extensions/ext_storage.py@@ -15,7 +15,8 @@ class Storage:def init_app(self, app: Flask):storage_factory = self.get_storage_factory(dify_config.STORAGE_TYPE)- self.storage_runner = storage_factory()+ with app.app_context():+ self.storage_runner = storage_factory()@staticmethoddef get_storage_factory(storage_type: str) -> type[BaseStorage]: