From eda65a25e30c69f19b67bbe1bc85dc3a6cc38d56 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Mon, 25 Mar 2024 21:36:47 -0700 Subject: [PATCH] test(test_caching.py): fix test_redis_cache_acompletion_stream --- litellm/tests/test_caching.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/tests/test_caching.py b/litellm/tests/test_caching.py index 4bc5d1d5ae..100b298473 100644 --- a/litellm/tests/test_caching.py +++ b/litellm/tests/test_caching.py @@ -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}"