Repository navigation
chore(litellm): bump proxy v1.92.0 -> v1.108.13 (LTS) - #1369
Merged
Merged
Conversation
v1.108.13 carries BerriAI/litellm#45871 and #46337: on vertex_ai Claude the response_format json_tool_call answer is unwrapped from invented envelopes ({"object": ...}, {"value": ...}, {"json_value": ...}). v1.92.0 only unwrapped "values", which hit 5 of 88 ingestbuddy tax extractions on claude-sonnet-5 (ingestbuddy#155). Pinned to the multi-arch index digest of the v1.108.13 tag (same as the current lts tag). The proxy applies 90 additive Prisma migrations at startup; a rehearsal on a copy of the prod schema showed v1.92.0 still boots on the migrated schema, so a pin revert is the rollback. Also notes on the pin that Renovate does not track digest-only refs, which is why the image sat on v1.92.0 since the digest pin of 2026-07-24. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`tag: v1.108.13-lts@sha256:65a9...` resolves to the same index digest as before (v1.108.13, v1.108.13-lts and lts all point to it), so the content stays digest-pinned as a4730b4 intended. The tag lets the app-template regex manager see the image again; with docker versioning the -lts suffix restricts updates to the LTS line. The LiteLLM packageRule in .github/renovate/base.json5 turns automerge off for it. Rendered with app-template 5.3.0: ghcr.io/berriai/litellm:v1.108.13-lts@sha256:65a9631f... Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PixelJonas
added a commit
that referenced
this pull request
Nov 20, 2026
The LiteLLM image sat on v1.92.0 for four months because its digest-only pin is invisible to the app-template regex manager. home-ops#1369 moves it to `tag: v1.108.13-lts@sha256:...`; this rule makes sure the resulting Renovate PRs are never automerged: the proxy applies Prisma migrations at startup, so each bump needs a DB dump first. The PR body note carries that checklist. Docker versioning keeps the -lts suffix, so only LTS releases are proposed. ghcr.io has no release timestamps, so the 3-day age gate does not apply to this image; the manual review covers it. The rule matches no dependency until #1369 lands, so merging it first leaves no window in which an LTS patch could be automerged. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
PixelJonas
marked this pull request as ready for review
November 23, 2026 07:56
Owner
Author
|
Merged 07:56 UTC and rolled out by 07:57:15. Checklist results: Before merge
After sync
|
Owner
Author
|
Remaining checklist items, 2026-11-24:
That closes the checklist. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps the shared LiteLLM proxy from v1.92.0 (2026-07-12) to v1.108.13, the newest 1.108.x LTS patch.
components-apps/litellm/litellm-app.yaml image: repository: ghcr.io/berriai/litellm - digest: sha256:9ef6f45b… # v1.92.0 + tag: v1.108.13-lts@sha256:65a9631f… (multi-arch index; v1.108.13, v1.108.13-lts and lts all resolve to it)Merge on 2026-11-23 (after the 3-day quarantine), and only after #1370.
Why: PixelJonas/ingestbuddy#155. LiteLLM turns
response_format: json_schemainto a forcedjson_tool_calltool forvertex_ai/claude-sonnet-5. The tool input isn't enforced, and v1.92.0 only unwraps avalueskey. So 5 of 88 tax extractions came back as{"object": {…}},{"value": {…}}or{"json_value": {…}}. Upstream fixed this inBerriAI/litellm#45871("unwrap tool-emulated json_schema envelopes and send output_config.format for Claude"), with the follow-up#46337. Both are in v1.108.0 and later, so v1.108.13 has them. The fix applies to every consumer (taxbuddy has the same client-side gap). ingestbuddy keeps its own workaround from PR 156.Why it sat on v1.92.0: it wasn't held on purpose. Commit a4730b4 (2026-07-24, a hardening spike) replaced
tag:with a digest-only pin. Renovate's app-template regex needsrepository:+tag:, so it hasn't seen this image since then (the Renovate Dashboard lists onlyapp-templatefor this file). This PR pins the image astag: v1.108.13-lts@sha256:…. The digest still fixes the content (a4730b4's goal), and the tag makes the image visible to Renovate again. With docker versioning, the-ltssuffix keeps updates on the LTS line. #1370 turns automerge off for this image and puts the dump checklist into every LiteLLM Renovate PR. Merge #1370 first, so no LTS patch can be automerged in between.Evidence
Offline unwrap proof. This runs
litellm.completion(model="vertex_ai/claude-sonnet-5", response_format=json_schema)end to end, with the HTTP POST and the Vertex token mocked. The schema mirrors ingestbuddy'sTaxExtractionResult: closed, with requiredvendor, doc_date, steuerjahr, betrag, ust, dokumenttyp, confidence. All values are synthetic.output_config.formatpath doesn't apply to this model.Migration rehearsal on a local Postgres 18.6 loaded with the prod schema and the
_prisma_migrationsledger (130 rows), schema only, no data:--skip_server_startup):Using v2 migration resolver→ 90 migrations applied →All migrations have been successfully applied.→Request-log indexes are all in place. Ledger 220/220 finished, total 58 s. The server then boots with ourconfig.yaml, and/health/readinessreturns 200 withdb: connected.No pending migrations to apply.→No pending migrations — skipping post-migration sanity check.pg_dump --schema-onlyis identical before and after. The server boots and reads a model and a key that v1.108.13 wrote (thelitellm_paramsencrypted by the new version decrypt fine). It also writes its own../scripts/validate_manifests.sh -d components-apps/litellmpasses. app-template 5.3.0 rendersimage: ghcr.io/berriai/litellm:v1.108.13-lts@sha256:65a9631f…. The regex manager capturescurrentValue: v1.108.13-ltspluscurrentDigest.Breaking changes from v1.92.0 to v1.108.13 that touch this deployment
Sources: the 45
!-marked commits and the oneBREAKING CHANGE:footer inv1.92.0..v1.108.13, filtered to our providers (vertex_ai Claude, openai, openai-compatible vLLM/kimi/whisper/tts, nvidia_nim, gemini image, elevenlabs) and our settings.sk-1234) master key (fe48053)os.environ/LITELLM_MASTER_KEYafa4a6f)config.yamldeclaresmaster_key,drop_params,additional_drop_params,set_verbose; the DB also storeslitellm_settingsdrop_params/additional_drop_paramshold the same values (true,["dimensions"]). DB-onlygeneral_settings/router_settings(fallbacks, aliases, health check, retention) stay DB-owned. Change those two keys inlitellm-config.yaml, not the UI.NOT NULL DEFAULTone, plus new indexes, FKs and tables. Rehearsed above. Take the dump below first.cfe65f7): an over-budget key no longer reaches fallbacksmax_budgetgeneral_settings.enforce_fallback_budget: false.mock_response, …) rejected unlessdangerously_allow_mock_testing_request_params(594d0d7)784581b,b21e659)safety_identifierrefused unless dropped (546402c)drop_params: truedrop_params.099b914)openai/additional_drop_params: ["dimensions"]DATABASE_URL,LITELLM_MASTER_KEY,STORE_MODEL_IN_DB,GOOGLE_APPLICATION_CREDENTIALS,NVIDIA_NIM_API_KEYset_verbosenow only logs a deprecation warning.fix(anthropic)!: drop beta-gated body fields under drop_params(#48793)The
spendlog-toolindex-cleanupCronJob only touchesLiteLLM_SpendLogToolIndex(start_time, request_id)andLiteLLM_SpendLogs(request_id). Those columns don't change; 1.108 only adds astart_timeindex, which speeds the job up.Backup and rollback
Backup, right before merge. CNPG's on-demand
Backupisn't available:litellm-dbhas nobackup/pluginsconfig. Usepg_dumpperdocs/runbooks/database-restore.md: write to a file in the pod, read it back, then make a hash-verified copy.A test run on 2026-11-20 produced 1,133,904 bytes (1.1 MiB, 66 tables with data). The full read-back returned rc 0 and the hashes matched. Both copies were then deleted. The nightly
database-psql-backup(03:00) plus VolSync (05:12) are the second layer.Rollback:
publicschema owned bylitellm, then copy the dump in, verify its hash andpg_restoreit per the runbook (neveroc exec … | psql). Restore the v1.92.0 pin before starting the proxy again.Post-deploy checklist
Before merging:
Recreatestrategy means roughly 1–2 min of LiteLLM downtime (image pull, migrations, boot), and in-flight calls fail. For ingestbuddy, check that thejobs:reocrStartedJobRegistry is empty.After Argo CD syncs:
Runningonsha256:65a9631f…. Logs showAll migrations have been successfully applied.andRequest-log indexes are all in place._prisma_migrationshas 220 rows, all finished, none rolled back.GET /health/readiness→status: healthy,db: connected.GET /model/infolists the same 22 models.claude-sonnet-5withresponse_format: json_schema(closed schema, synthetic prompt): content parses as the schema object, with no wrapper key.claude-sonnet-4-6/claude-opus-5-5),kimi-k3.1,midgard-qwen3.6-27b, onenvidia-*,gpt-5-nano(429 is expected while the OpenAI account has no credits, same as before). Alsowhisper-large-v3(transcription) andtts-local(speech).bge-m3withdimensionsset → 200,dimensionsdropped, vector length unchanged.spendlog-toolindex-cleanup(02:30) anddatabase-psql-backup(03:00) succeed.Merge Danger
Door: two-way. Schema changes are additive and the rollback to v1.92.0 was rehearsed on the prod schema. Data written into new columns after the upgrade is ignored by v1.92.0.
Blast Radius: shared.
Every LiteLLM consumer goes through this proxy: ingestbuddy, taxbuddy, taxbuddy-hermes, vehicle-pipeline, hogwarts, and external callers via the Route. Expect a short outage during the
Recreaterollout. v1.108.13 was published 2026-11-20, so merging on 2026-11-23 matches the 3-day quarantine that Renovate applies everywhere else in this repo.🤖 Generated with Claude Code