mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
Merge branch 'main' into litellm_sagemaker_fix_stream
This commit is contained in:
commit
83ba96b8c6
452 changed files with 13927 additions and 3613 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue