LiteLLM is moving to Rust Read the latest updates.
LiteLLM v1.112.2 fixes key auth behind PgBouncer and startup on read-only pods
Released
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.112.2
pip install litellm==1.112.2
This release is published as ghcr.io/berriai/litellm:v1.112.2. See the GitHub release and the full releases page.
v1.112.2 is a patch release on top of v1.112.1. There are no new database migrations. The v1.112.2 tag points at 9188ff7.
Action required​
- Vertex AI and Gemini: Set
GEMINI_API_BASEon the proxy instead of sendingapi_baseper request on/v1beta/agents- PR #56318
What's Changed​
- Vertex AI and Gemini: Changed
/v1beta/agentsto answer 400 when a request sets the Gemini endpoint inlitellm_params_template- PR #56318 - Keys, teams and auth: Fixed key auth failing behind a self-managed PgBouncer that rejects the
extra_float_digitsstartup parameter, broken since v1.112.0 - PR #56231 - Deployment: Fixed startup crash on pods with a read-only root filesystem and no writable temp directory - PR #55719
Each change is a backport to the 1.112 stable line, linked above.
Full Changelog​
https://github.com/BerriAI/litellm/compare/v1.112.1...v1.112.2