mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
test fix - test_acompletion_caching_on_router
This commit is contained in:
parent
8625280c32
commit
97c82225b1
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue