mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
test(test_caching.py): fix test to check id
This commit is contained in:
parent
c997d4b0ce
commit
c0699b08e5
1 changed files with 1 additions and 4 deletions
|
|
@ -95,10 +95,7 @@ def test_caching_with_cache_controls():
|
|||
)
|
||||
print(f"response1: {response1}")
|
||||
print(f"response2: {response2}")
|
||||
assert (
|
||||
response2["choices"][0]["message"]["content"]
|
||||
!= response1["choices"][0]["message"]["content"]
|
||||
)
|
||||
assert response2["id"] != response1["id"]
|
||||
message = [{"role": "user", "content": f"Hey, how's it going? {uuid.uuid4()}"}]
|
||||
## TTL = 5
|
||||
response1 = completion(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue