Skip to content

feat: make streaming chunk size configurable in bedrock api - #17357

Merged
1 commit merged into
BerriAI:mainfrom
deepaktammali:feat/make-chunk-size-configurable
Dec 3, 2025
Merged

1 commit merged into
BerriAI:mainfrom
deepaktammali:feat/make-chunk-size-configurable

Conversation

@deepaktammali

@deepaktammali deepaktammali commented Dec 2, 2025 •

Copy link
Copy Markdown
Contributor

Make streaming chunk size configurable for bedrock

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🆕 New Feature

Fixes #11747

for future:

  • we could discuss if we could have this as part of config yaml file
  • this only updates it for bedrock, we could look at other providers and if it is hardcoded can re use similar setup

@vercel

vercel Bot commented Dec 2, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Dec 2, 2025 2:53pm

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

This pull request was closed.

This branch was successfully deployed

1 active deployment
Preview — e6b65caa Deployed Dec 2, 2025 by vercel[bot]
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]: Bedrock streaming responses buffer in 1024-byte chunks causing choppy output

2 participants