Skip to content

1.108.17 (LTS)

Choose a tag to compare

@litellm-release litellm-release released this 24 Nov 22:56
· 3096 commits to main since this release
e552bff

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

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

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