确保文件夹存在
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled

This commit is contained in:
朱潮 2025-12-19 13:54:10 +08:00
parent 545402617b
commit 51481055d6

View File

@ -59,6 +59,7 @@ class MaxKBMinerUConfig(MinerUConfig):
# File storage settings
self.file_storage_type = os.getenv('MAXKB_STORAGE_TYPE', 'local') # local, s3, oss
self.file_storage_path = os.getenv('MAXKB_STORAGE_PATH', '/opt/maxkb/storage')
os.makedirs(self.file_storage_path, exist_ok=True)
self.file_storage_bucket = os.getenv('MAXKB_STORAGE_BUCKET')
# Model client settings