Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sagemaker.py): support streaming for messages api #5376

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

krrishdholakia
Copy link
Contributor

Title

support streaming for messages api

Relevant issues

Fixes #5372

Type

🐛 Bug Fix

Changes

  • introduces custom_decoder for databricks.py (our openai-like api call handler)
  • updates AWSStreamDecoder in sagemaker.py to also handle messages api format

[REQUIRED] Testing - Attach a screenshot of any new tests passing locall

If UI changes, send a screenshot/GIF of working UI fixes

  • updated streaming tests in test_sagemaker.py

Fixes #5372
Copy link

vercel bot commented Aug 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 4:13am

@krrishdholakia krrishdholakia merged commit 3a6412c into main Aug 27, 2024
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] sagemaker messages api streaming - unexpected end of data
1 participant