Update requirements.txt with latest OSS package with AuthV4 support (#4425)
This commit is contained in:
parent
40bc936739
commit
f32bba6531
@ -65,7 +65,7 @@ class ToolFileManager:
|
||||
"""
|
||||
extension = guess_extension(mimetype) or '.bin'
|
||||
unique_name = uuid4().hex
|
||||
filename = f"/tools/{tenant_id}/{unique_name}{extension}"
|
||||
filename = f"tools/{tenant_id}/{unique_name}{extension}"
|
||||
storage.save(filename, file_binary)
|
||||
|
||||
tool_file = ToolFile(user_id=user_id, tenant_id=tenant_id,
|
||||
@ -90,7 +90,7 @@ class ToolFileManager:
|
||||
mimetype = guess_type(file_url)[0] or 'octet/stream'
|
||||
extension = guess_extension(mimetype) or '.bin'
|
||||
unique_name = uuid4().hex
|
||||
filename = f"/tools/{tenant_id}/{unique_name}{extension}"
|
||||
filename = f"tools/{tenant_id}/{unique_name}{extension}"
|
||||
storage.save(filename, blob)
|
||||
|
||||
tool_file = ToolFile(user_id=user_id, tenant_id=tenant_id,
|
||||
|
@ -82,5 +82,5 @@ xlrd~=2.0.1
|
||||
pydantic~=1.10.0
|
||||
pgvecto-rs==0.1.4
|
||||
firecrawl-py==0.0.5
|
||||
oss2==2.15.0
|
||||
oss2==2.18.5
|
||||
pgvector==0.2.5
|
||||
|
Loading…
Reference in New Issue
Block a user