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
chore: (#9089 followup) fix storage factory constructor (#9609)
Bowen Liangd170d7853067
diff --git a/api/extensions/storage/aws_s3_storage.py b/api/extensions/storage/aws_s3_storage.pyindex 507a303223d..42ff4343062 100644--- a/api/extensions/storage/aws_s3_storage.py+++ b/api/extensions/storage/aws_s3_storage.py@@ -4,7 +4,6 @@ from collections.abc import Generatorimport boto3from botocore.client import Configfrom botocore.exceptions import ClientError-from flask import Flaskfrom extensions.storage.base_storage import BaseStorage@@ -14,8 +13,8 @@ logger = logging.getLogger(__name__)class AwsS3Storage(BaseStorage):"""Implementation for Amazon Web Services S3 storage."""- def __init__(self, app: Flask):- super().__init__(app)+ def __init__(self):+ super().__init__()app_config = self.app.configself.bucket_name = app_config.get("S3_BUCKET_NAME")if app_config.get("S3_USE_AWS_MANAGED_IAM"):diff --git a/api/extensions/storage/supabase_storage.py b/api/extensions/storage/supabase_storage.pyindex 1e399f87c8b..1ec8c6b7f0e 100644--- a/api/extensions/storage/supabase_storage.py+++ b/api/extensions/storage/supabase_storage.py@@ -2,7 +2,6 @@ import iofrom collections.abc import Generatorfrom pathlib import Path-from flask import Flaskfrom supabase import Clientfrom extensions.storage.base_storage import BaseStorage@@ -11,8 +10,8 @@ from extensions.storage.base_storage import BaseStorageclass SupabaseStorage(BaseStorage):"""Implementation for supabase obs storage."""- def __init__(self, app: Flask):- super().__init__(app)+ def __init__(self):+ super().__init__()app_config = self.app.configself.bucket_name = app_config.get("SUPABASE_BUCKET_NAME")self.client = Client(