mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
Merge pull request #2379 from BerriAI/litellm_s3_bucket_folder_path
fix(caching.py): add s3 path as a top-level param
This commit is contained in:
commit
d0dec7fc71
5 changed files with 16 additions and 3 deletions
|
@ -695,7 +695,6 @@ def test_s3_cache_acompletion_stream_azure():
|
|||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.skip(reason="AWS Suspended Account")
|
||||
async def test_s3_cache_acompletion_azure():
|
||||
import asyncio
|
||||
import logging
|
||||
|
@ -714,7 +713,9 @@ async def test_s3_cache_acompletion_azure():
|
|||
}
|
||||
]
|
||||
litellm.cache = Cache(
|
||||
type="s3", s3_bucket_name="cache-bucket-litellm", s3_region_name="us-west-2"
|
||||
type="s3",
|
||||
s3_bucket_name="litellm-my-test-bucket-2",
|
||||
s3_region_name="us-east-1",
|
||||
)
|
||||
print("s3 Cache: test for caching, streaming + completion")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue