feat: Add OSS-specific parameters for HW and ALI private deployment (#29705)

Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
Michael.Y.Ma
2025-12-22 21:59:32 +08:00
committed by GitHub
parent 65e8fdc0e4
commit 3322e7a7e3
7 changed files with 18 additions and 1 deletions

View File

@@ -41,3 +41,8 @@ class AliyunOSSStorageConfig(BaseSettings):
description="Base path within the bucket to store objects (e.g., 'my-app-data/')",
default=None,
)
ALIYUN_CLOUDBOX_ID: str | None = Field(
description="Cloudbox id for aliyun cloudbox service",
default=None,
)

View File

@@ -26,3 +26,8 @@ class HuaweiCloudOBSStorageConfig(BaseSettings):
description="Endpoint URL for Huawei Cloud OBS (e.g., 'https://obs.cn-north-4.myhuaweicloud.com')",
default=None,
)
HUAWEI_OBS_PATH_STYLE: bool = Field(
description="Flag to indicate whether to use path-style URLs for OBS requests",
default=False,
)