mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-26 12:04:39 +00:00
feat(storage): Support oss and s3
This commit is contained in:
@@ -393,7 +393,6 @@ async def document_upload(
|
||||
bucket,
|
||||
safe_filename,
|
||||
doc_file.file,
|
||||
storage_type="distributed",
|
||||
custom_metadata=custom_metadata,
|
||||
)
|
||||
|
||||
|
@@ -359,7 +359,6 @@ async def file_upload(
|
||||
bucket,
|
||||
file_name,
|
||||
doc_file.file,
|
||||
storage_type="distributed",
|
||||
custom_metadata=custom_metadata,
|
||||
)
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user