Skip to main content
LiteLLM is moving to Rust Read the latest updates.

LiteLLM v1.108.17 (LTS) fixes streamed OpenAI tool calls and adds MiniMax-H3-Image

Released

tip

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 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

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, type and code and returning raw JSON in message - PR #51809 and PR #53217
  • OpenAI: Fixed chat completions dropping access_programs and 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_options on /v1/responses being dropped before reaching OpenAI - PR #53993
  • OpenAI: Fixed o3 reasoning_effort minimal and none returning OpenAI's 400 even with drop_params on - PR #54066
  • Anthropic: Fixed a malformed thinking_blocks on Claude requests failing with 500, now a 400 naming the field - PR #53762
  • Anthropic: Fixed failed /v1/messages streams 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/completions for 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_base or the runtime endpoint is set to an empty value - PR #53969
  • AWS Bedrock: Fixed a Bedrock Claude tool with shared $defs stalling a worker for about 30 seconds and then failing with 400 - PR #54118
  • AWS Bedrock: Fixed computer and browser toolsets on Bedrock /v1/messages failing 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_metadata windows 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 pcm16 and a double WAV header on /v1/audio/speech - PR #54193
  • Other providers: Added MiniMax-H3-Image on /v1/images/generations and /v1/images/edits with cost tracking - PR #53986
  • Other providers: Fixed DeepSeek V4 on /v1/messages ignoring the caller's effort, so Claude Code's --effort now 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 on logprobs and top_logprobs - PR #54043
  • Chat completions: Fixed chat-latest and gpt-chat-latest on 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 thinking disabled, display, between_tools and effort being ignored on /v1/messages to OpenAI models - PR #53987
  • Vector stores: Fixed chat requests carrying vector_store_ids failing with 400 from the provider when no stores are configured - PR #51209
  • Token counting: Fixed /utils/token_counter and /v1/messages/count_tokens failing on a history with an Anthropic fallback block - PR #54006
  • Cost tracking and pricing: Fixed OpenAI Agents API session calls through /openai logging $0, so key and team budgets now apply - PR #53881
  • Keys, teams and auth: Fixed non-admin key owners clearing their key's max_budget by sending null to /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) on openai/ models raising TypeError in a plain for loop - 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

LiteLLM Enterprise
SSO/SAML, audit logs, spend tracking, multi-team management, and guardrails, built for production.
Learn more →