feat(storage): Support oss and s3

This commit is contained in:
Fangyin Cheng
2025-03-17 11:59:00 +08:00
parent 8eba2a3b2e
commit b2dd66dc6d
21 changed files with 1535 additions and 12 deletions

View File

@@ -393,7 +393,6 @@ async def document_upload(
bucket,
safe_filename,
doc_file.file,
storage_type="distributed",
custom_metadata=custom_metadata,
)

View File

@@ -359,7 +359,6 @@ async def file_upload(
bucket,
file_name,
doc_file.file,
storage_type="distributed",
custom_metadata=custom_metadata,
)

View File

@@ -181,7 +181,6 @@ class ChatExcel(BaseChat):
self.fs_client.upload_file,
self._bucket,
self._database_file_path,
storage_type="distributed",
file_id=self._database_file_id,
)
return result