mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-01 08:20:58 +00:00
test fix - test_acompletion_caching_on_router
This commit is contained in:
@@ -115,7 +115,8 @@ async def test_acompletion_caching_on_router():
|
||||
model="gpt-3.5-turbo", messages=messages, temperature=1
|
||||
)
|
||||
print(f"response1: {response1}")
|
||||
await asyncio.sleep(1) # add cache is async, async sleep for cache to get set
|
||||
await asyncio.sleep(5) # add cache is async, async sleep for cache to get set
|
||||
|
||||
response2 = await router.acompletion(
|
||||
model="gpt-3.5-turbo", messages=messages, temperature=1
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user