Repository navigation
1.108.17 (LTS)
·
3096 commits
to main
since this release
Tip
The lts image tag always points to the latest LTS release. Pull ghcr.io/berriai/litellm:lts to stay on the newest LTS patch
Verify this release
cosign verify \
--certificate-identity https://github.com/BerriAI/project-releaser/.github/workflows/release.yml@refs/heads/main \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
ghcr.io/berriai/litellm:v1.108.17Same command for litellm-database, litellm-non_root and the docker.io/litellm/* images
What's new in 1.108.17 (LTS)
40 PRs. 2 added, 29 fixed, 1 improved. No action needed to upgrade
Highlights
- OpenAI: Fixed streamed OpenAI tool calls reaching agents with empty arguments when OpenAI sends them only at the end (#52069, #53306)
- Chat completions: Fixed
chat-latestandgpt-chat-lateston OpenAI, Azure and Azure AI failing with 400 on the first prompt (#51151) - AWS Bedrock: Fixed a Bedrock Claude tool with shared
$defsstalling a worker for about 30 seconds and then failing with 400 (#54118) - Cost tracking and pricing: Fixed OpenAI Agents API session calls through
/openailogging $0, so key and team budgets now apply (#53881) - Vertex AI and Gemini: Added Gemini page and sheet range options for files on chat completions, so only that part is read and billed (#52611)
- Other providers: Added MiniMax-H3-Image on
/v1/images/generationsand/v1/images/editswith cost tracking (#53986) - Other providers: Fixed DeepSeek V4 on
/v1/messagesignoring the caller's effort, so Claude Code's--effortnow applies (#52196) - Performance: Improved end-user restriction refreshes to read only restricted customers instead of the whole end-user table (#51772) Also in 1.109.5, 1.110.4, 1.111.0
All changes
OpenAI (5)
- Fixed OpenAI, Azure and vLLM errors losing
param,typeandcodeand returning raw JSON inmessage(#51809, #53217) - Fixed chat completions dropping
access_programsand prompt cache fields when LiteLLM runs on OpenAI SDK 3 (#51814) - Fixed streamed OpenAI tool calls reaching agents with empty arguments when OpenAI sends them only at the end (#52069, #53306)
- Fixed
background_optionson/v1/responsesbeing dropped before reaching OpenAI (#53993) - Fixed o3
reasoning_effortminimalandnonereturning OpenAI's 400 even withdrop_paramson (#54066)
Anthropic (2)
AWS Bedrock (5)
- Fixed Bedrock batch retrieve and cancel reporting and saving
/v1/chat/completionsfor embeddings batches (#53831) - Fixed OpenAI SDK embeddings on Bedrock Nova 2 always failing with 400 on
encoding_format(#53938) - Fixed Nova Sonic realtime sessions hanging when
api_baseor the runtime endpoint is set to an empty value (#53969) - Fixed a Bedrock Claude tool with shared
$defsstalling a worker for about 30 seconds and then failing with 400 (#54118) - Fixed computer and browser toolsets on Bedrock
/v1/messagesfailing with 400 (#54128)
Vertex AI and Gemini (4)
- Added Gemini page and sheet range options for files on chat completions, so only that part is read and billed (#52611)
- Fixed Gemini and Vertex AI answering 400 when the last user message is empty (#53947)
- Fixed Gemini embedding
video_metadatawindows billing the whole video or failing with 500, now a clear 400 (#54090) - Fixed Gemini TTS returning WAV bytes for
pcm16and a double WAV header on/v1/audio/speech(#54193)
Other providers (5)
- Added MiniMax-H3-Image on
/v1/images/generationsand/v1/images/editswith cost tracking (#53986) - Fixed DeepSeek V4 on
/v1/messagesignoring the caller's effort, so Claude Code's--effortnow applies (#52196) - Fixed GitHub Copilot rejecting HTML and plain-text documents with 400 on that turn and every later one (#53669)
- Fixed Together AI image calls logging $0 and retired Together models missing a deprecation date (#53964)
- Fixed
nvidia_nim/chat calls failing with 400 onlogprobsandtop_logprobs(#54043)
Chat completions (2)
Messages API (2)
Vector stores (1)
- Fixed chat requests carrying
vector_store_idsfailing with 400 from the provider when no stores are configured (#51209)
Token counting (1)
- Fixed
/utils/token_counterand/v1/messages/count_tokensfailing on a history with an Anthropic fallback block (#54006)
Cost tracking and pricing (1)
- Fixed OpenAI Agents API session calls through
/openailogging $0, so key and team budgets now apply (#53881)
Keys, teams and auth (1)
- Fixed non-admin key owners clearing their key's
max_budgetby sendingnullto/key/update, now a 403 (#53978)
Deployment (1)
- Fixed the standalone UI image shipping outdated nginx and zlib, now nginx 1.31.10 and zlib 1.4 (#54207)
SDK (1)
- Fixed sync
messages.create(stream=True)onopenai/models raisingTypeErrorin a plainforloop (#54159)
Performance (1)
Backport #52618 · Backport #53427 · Backport #53924 · Backport #53926 · Backport #53928 · Backport #53979 · Backport #54070 · Backport #54082 · Backport #54120 · Backport #54125 · Backport #54131 · Backport #54137 · Backport #54232 · Full changelog