LiteLLM v1.97.0

v1.97.0
Added 7
  • Resolve Cursor thinking/fast model-name suffixes on /cursor/chat/completions endpoint
  • Add non-streaming response toggle in playground
  • Apply default organization to new teams from default team settings
  • Add custom metadata validation hook for team create and update
  • Add net auto-router savings to the cost-optimization dashboard
  • Show auto-router savings on the cost-optimization dashboard
  • Prompt moderation, response-text blocking, streaming buffer, and failure logging for guardrails/rubrik
Changed 4
  • Default session affinity off and expose it in the UI for complexity_router
  • Update brace-expansion, postcss, and gitpython to current patch releases
  • Rename the create MCP server component to PascalCase
  • Extract the MCP create form's logic and field groups
Fixed 10
  • Stop logging when disable_logging is called on team-callbacks
  • Backfill null user_email on existing users during JWT auth
  • Block Playground page for viewer roles on direct URL access
  • Close evicted LLM clients so their connections are reclaimed
  • Drop undefined Union from owns_wrapped_http_client annotation
  • Apply key/team router_settings.model_group_alias
Verify Docker Image Signature

All LiteLLM Docker images are signed with cosign. Every release is signed with the same key introduced in commit 0112e53.

Verify using the pinned commit hash (recommended):

A commit hash is cryptographically immutable, so this is the strongest way to ensure you are using the original signing key:

cosign verify \
  --key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \
  ghcr.io/berriai/litellm:v1.97.0

Verify using the release tag (convenience):

Tags are protected in this repository and resolve to the same key. This option is easier to read but relies on tag protection rules:

cosign verify \
  --key https://raw.githubusercontent.com/BerriAI/litellm/v1.97.0/cosign.pub \
  ghcr.io/berriai/litellm:v1.97.0

Expected output:

The following checks were performed on each of these signatures:
  - The cosign claims were validated
  - The signatures were verified against the specified public key

What's Changed
New Contributors

Full Changelog: https://github.com/BerriAI/litellm/compare/v1.96.0...v1.97.0

View original

Upgraded? How did it go?

Discussion