Merge branch 'main' into litellm_sagemaker_fix_stream

This commit is contained in:
Ishaan Jaff 2025-03-31 14:22:20 -07:00
commit 83ba96b8c6
452 changed files with 13927 additions and 3613 deletions

View file

@ -34,7 +34,6 @@ class AWSEventStreamDecoder:
def _chunk_parser_messages_api(
self, chunk_data: dict
) -> StreamingChatCompletionChunk:
openai_chunk = StreamingChatCompletionChunk(**chunk_data)
return openai_chunk
@ -208,7 +207,6 @@ class AWSEventStreamDecoder:
def get_response_stream_shape():
global _response_stream_shape_cache
if _response_stream_shape_cache is None:
from botocore.loaders import Loader
from botocore.model import ServiceModel