From ca4ed9ff2efe00c103f9d427e209b74a0f90603f Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 31 Mar 2025 16:05:10 -0700 Subject: [PATCH] ref issue --- tests/litellm/llms/sagemaker/test_sagemaker_common_utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/litellm/llms/sagemaker/test_sagemaker_common_utils.py b/tests/litellm/llms/sagemaker/test_sagemaker_common_utils.py index e19c41f1ac3..3b53107148b 100644 --- a/tests/litellm/llms/sagemaker/test_sagemaker_common_utils.py +++ b/tests/litellm/llms/sagemaker/test_sagemaker_common_utils.py @@ -17,6 +17,8 @@ async def test_aiter_bytes_unicode_decode_error(): Ensures stream processing continues despite the error. + + Relevant issue: https://github.com/BerriAI/litellm/issues/9165 """ # Create an instance of AWSEventStreamDecoder decoder = AWSEventStreamDecoder(model="test-model") @@ -56,6 +58,8 @@ async def test_aiter_bytes_valid_chunk_followed_by_unicode_error(): """ Test that valid chunks are processed correctly even when followed by Unicode decode errors. This ensures errors don't corrupt or prevent processing of valid data that came before. + + Relevant issue: https://github.com/BerriAI/litellm/issues/9165 """ decoder = AWSEventStreamDecoder(model="test-model")