LiteLLM v1.108.17 (LTS) fixes streamed OpenAI tool calls and adds MiniMax-H3-Image
Released
v1.108.17 is a patch release on the 1.108 LTS line. The lts image tag always points to the latest LTS release, so pull docker.litellm.ai/berriai/litellm:lts to stay on the newest LTS patch. See the LTS pilot.
Deploy this version​
- Docker
- Pip
docker run \
-e LITELLM_MASTER_KEY=sk-<paste-a-long-random-key> \
-e DATABASE_URL=postgresql://<user>:<password>@<host>:5432/<dbname> \
-e STORE_MODEL_IN_DB=True \
-p 4000:4000 \
docker.litellm.ai/berriai/litellm:1.108.17
pip install litellm==1.108.17
This release is published as ghcr.io/berriai/litellm:v1.108.17. See the GitHub release and the full releases page.
v1.108.17 is a patch release on top of v1.108.16. There are no new database migrations. A partial LiteLLM_EndUserTable_restricted_idx index is built after migrations run, without blocking writes. The migration job builds it, and a proxy that runs its own migrations builds it in the background once it serves. The v1.108.17 tag points at e552bff.
What's Changed​
- OpenAI: Fixed OpenAI, Azure and vLLM errors losing
param,typeandcodeand returning raw JSON inmessage- PR #51809 and PR #53217 - OpenAI: Fixed chat completions dropping
access_programsand prompt cache fields when LiteLLM runs on OpenAI SDK 3 - PR #51814 - OpenAI: Fixed streamed OpenAI tool calls reaching agents with empty arguments when OpenAI sends them only at the end - PR #52069 and PR #53306
- OpenAI: Fixed
background_optionson/v1/responsesbeing dropped before reaching OpenAI - PR #53993 - OpenAI: Fixed o3
reasoning_effortminimalandnonereturning OpenAI's 400 even withdrop_paramson - PR #54066 - Anthropic: Fixed a malformed
thinking_blockson Claude requests failing with 500, now a 400 naming the field - PR #53762 - Anthropic: Fixed failed
/v1/messagesstreams logging placeholder output tokens and cost when Claude sends an error frame - PR #53920 - AWS Bedrock: Fixed Bedrock batch retrieve and cancel reporting and saving
/v1/chat/completionsfor embeddings batches - PR #53831 - AWS Bedrock: Fixed OpenAI SDK embeddings on Bedrock Nova 2 always failing with 400 on
encoding_format- PR #53938 - AWS Bedrock: Fixed Nova Sonic realtime sessions hanging when
api_baseor the runtime endpoint is set to an empty value - PR #53969 - AWS Bedrock: Fixed a Bedrock Claude tool with shared
$defsstalling a worker for about 30 seconds and then failing with 400 - PR #54118 - AWS Bedrock: Fixed computer and browser toolsets on Bedrock
/v1/messagesfailing with 400 - PR #54128 - Vertex AI and Gemini: Added Gemini page and sheet range options for files on chat completions, so only that part is read and billed - PR #52611
- Vertex AI and Gemini: Fixed Gemini and Vertex AI answering 400 when the last user message is empty - PR #53947
- Vertex AI and Gemini: Fixed Gemini embedding
video_metadatawindows billing the whole video or failing with 500, now a clear 400 - PR #54090 - Vertex AI and Gemini: Fixed Gemini TTS returning WAV bytes for
pcm16and a double WAV header on/v1/audio/speech- PR #54193 - Other providers: Added MiniMax-H3-Image on
/v1/images/generationsand/v1/images/editswith cost tracking - PR #53986 - Other providers: Fixed DeepSeek V4 on
/v1/messagesignoring the caller's effort, so Claude Code's--effortnow applies - PR #52196 - Other providers: Fixed GitHub Copilot rejecting HTML and plain-text documents with 400 on that turn and every later one - PR #53669
- Other providers: Fixed Together AI image calls logging $0 and retired Together models missing a deprecation date - PR #53964
- Other providers: Fixed
nvidia_nim/chat calls failing with 400 onlogprobsandtop_logprobs- PR #54043 - Chat completions: Fixed
chat-latestandgpt-chat-lateston OpenAI, Azure and Azure AI failing with 400 on the first prompt - PR #51151 - Chat completions: Fixed Azure and hosted vLLM changing the caller's messages, so repeated Azure image requests now hit the cache - PR #53972
- Messages API: Fixed 400s after a Gemini thinking turn on DeepSeek's Anthropic endpoint and on Claude
count_tokens- PR #51793 - Messages API: Fixed
thinkingdisabled,display,between_toolsandeffortbeing ignored on/v1/messagesto OpenAI models - PR #53987 - Vector stores: Fixed chat requests carrying
vector_store_idsfailing with 400 from the provider when no stores are configured - PR #51209 - Token counting: Fixed
/utils/token_counterand/v1/messages/count_tokensfailing on a history with an Anthropic fallback block - PR #54006 - Cost tracking and pricing: Fixed OpenAI Agents API session calls through
/openailogging $0, so key and team budgets now apply - PR #53881 - Keys, teams and auth: Fixed non-admin key owners clearing their key's
max_budgetby sendingnullto/key/update, now a 403 - PR #53978 - Deployment: Fixed the standalone UI image shipping outdated nginx and zlib, now nginx 1.31.10 and zlib 1.4 - PR #54207
- SDK: Fixed sync
messages.create(stream=True)onopenai/models raisingTypeErrorin a plainforloop - PR #54159 - Performance: Improved end-user restriction refreshes to read only restricted customers instead of the whole end-user table - PR #51772
The changes are backported in PR #52618, PR #53427, PR #53928, PR #53979, PR #54070, PR #54082, PR #54120, PR #54125, PR #54131, PR #54137 and PR #54232.
Full Changelog​
https://github.com/BerriAI/litellm/compare/v1.108.16...v1.108.17