ref issue

This commit is contained in:
Ishaan Jaff 2025-03-31 16:05:10 -07:00
parent bc66827537
commit ca4ed9ff2e

View file

@ -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")