mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-14 08:26:09 +00:00
test(test_caching.py): fix test_redis_cache_acompletion_stream
This commit is contained in:
@@ -505,7 +505,7 @@ def test_redis_cache_completion_stream():
|
||||
response_2_id = ""
|
||||
for chunk in response2:
|
||||
print(chunk)
|
||||
response_2_id += chunk.id
|
||||
response_2_id = chunk.id
|
||||
assert (
|
||||
response_1_id == response_2_id
|
||||
), f"Response 1 != Response 2. Same params, Response 1{response_1_id} != Response 2{response_2_id}"
|
||||
|
||||
Reference in New Issue
Block a user