Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
ea47226
ci: add fork GHCR publish workflow for Concourse releases
mubashir1osmani Jul 30, 2026
e25a7a6
Merge pull request #11 from mubashir1osmani/litellm_concourse_ghcr_re…
mubashir1osmani Jul 30, 2026
405b228
Merge branch 'BerriAI:litellm_internal_staging' into litellm_internal…
mubashir1osmani Jul 31, 2026
4d43080
fix(pricing): apply OpenAI's gpt-5.6 terra/luna cut to Azure cost map
mubashir1osmani Aug 1, 2026
0de901a
chore: drop fork-only GHCR publish workflow from this branch
mubashir1osmani Aug 1, 2026
722d9ff
feat(spend): add caller-scoped key/user/team/organization spend repor…
yuneng-berri Aug 4, 2026
26ffb5d
fix(spend): scope org report team fallback to unstamped rows and boun…
yuneng-berri Aug 4, 2026
60259d7
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
yuneng-berri Aug 4, 2026
903c0d8
refactor(repositories): add prisma protocol seams and a spend-reset u…
mateo-berri Aug 4, 2026
5b61e80
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
mateo-berri Aug 4, 2026
fb16749
perf(streaming): assemble streamed tool-call arguments in linear time
mateo-berri Aug 4, 2026
f1383f1
refactor(ui): route MCP session tokens through the shared storage helper
yuneng-berri Aug 4, 2026
560a4ac
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
yuneng-berri Aug 4, 2026
9b972a4
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
mateo-berri Aug 4, 2026
1cd481d
fix(proxy): enforce per-model budgets against resolved cursor model v…
mateo-berri Aug 4, 2026
e4fd790
Merge pull request #35835 from BerriAI/litellm_/elated-margulis-7f300f
yuneng-berri Aug 4, 2026
d1ca826
docs(helm): replace the classic chart's 128Mi resource example with t…
yassin-berriai Aug 4, 2026
334e104
refactor(proxy): make the cursor responses-path body single-assignment
mateo-berri Aug 4, 2026
9ea5cfc
fix(proxy): persist periodic reload schedule state so status survives…
ryan-crabbe-berri Aug 4, 2026
e2950a8
fix(router): eagerly fetch Vertex AI deferred stream to surface HTTP …
deepanshululla Aug 4, 2026
58ead7f
fix(azure_storage): honor AZURE_STORAGE_ENDPOINT_SUFFIX for sovereign…
yucheng-berri Aug 4, 2026
b6557d2
test: repair three failing suites on litellm_internal_staging
yuneng-berri Aug 4, 2026
a28f7be
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
yuneng-berri Aug 4, 2026
f453867
fix(proxy): apply key_alias/key_hash filters to all /key/list visibil…
ryan-crabbe-berri Aug 4, 2026
a5b6177
chore(deps): bump grpc and golang.org/x modules in the terraform prov…
yuneng-berri Aug 4, 2026
48b7620
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
yuneng-berri Aug 4, 2026
1798d9d
Merge pull request #35834 from BerriAI/litellm_fix_cursor_variant_bud…
mateo-berri Aug 4, 2026
ffcb54b
feat(ui): reorder Add Auto Router into name + template, with a collap…
tin-berri Aug 4, 2026
64aab7b
ci: pin Node on the Playwright UI lanes so npm ci meets the engines f…
yuneng-berri Aug 4, 2026
1dad337
perf(streaming): group tool-call fragments once instead of rescanning…
mateo-berri Aug 4, 2026
0e59364
Merge pull request #35845 from BerriAI/litellm_/cci-failing-tests-f73740
yuneng-berri Aug 4, 2026
bcce83a
fix(guardrails): scan model output on the /openai/v1/responses alias …
yucheng-berri Aug 4, 2026
6e0627e
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
yuneng-berri Aug 4, 2026
38a30a5
Merge pull request #35848 from BerriAI/litellm_/node-24-npm-engine-0c…
yuneng-berri Aug 4, 2026
e926097
Merge pull request #35481 from mubashir1osmani/litellm_azure_gpt56_pr…
mateo-berri Aug 5, 2026
794338a
Merge pull request #35725 from BerriAI/litellm_/spend-reports-impleme…
yuneng-berri Aug 5, 2026
adb9a53
revert: "fix(caching): close evicted LLM clients so their connections…
mateo-berri Aug 5, 2026
8c7792a
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
mateo-berri Aug 5, 2026
d64e79b
Merge pull request #35856 from BerriAI/litellm_revert_evicted_client_…
mateo-berri Aug 5, 2026
fb35342
test(e2e): self-seed the ui suite's password-login users in global setup
yuneng-berri Aug 5, 2026
96c8c9c
fix(lint): pick the merge-aware base so in-progress merges are not bl…
mateo-berri Aug 5, 2026
22a1c30
fix(lint): move the basedpyright heap flag into the type check gate
mateo-berri Aug 5, 2026
4e5cd0b
Merge pull request #35748 from BerriAI/litellm_budget_reset_uow
mateo-berri Aug 5, 2026
cb27d99
Merge pull request #35826 from BerriAI/litellm_fix_toolcall_stream_li…
mateo-berri Aug 5, 2026
a01cac2
fix(s3_v2): sign S3 object URLs with S3SigV4Auth so encoded paths ver…
devin-ai-integration[bot] Aug 5, 2026
24dbd2b
Merge pull request #35863 from BerriAI/litellm_/vigilant-bell-8e5b37
yuneng-berri Aug 5, 2026
e56a6ca
test(e2e): skip view-backed global spend probes pending LIT-5211
yuneng-berri Aug 5, 2026
6a0dcf1
bump: litellm-proxy-extras 0.4.82 -> 0.4.83
yuneng-berri Aug 5, 2026
0a42114
fix(claude-code): create-only skill registration with a PUT update ro…
ryan-crabbe-berri Aug 5, 2026
bb58f01
fix(proxy): fix zguard httpcode when block input (#31948)
jwang-gif Aug 5, 2026
727812b
Merge pull request #35868 from BerriAI/litellm_gate_merge_head_base
mateo-berri Aug 5, 2026
420d9a7
Merge pull request #35877 from BerriAI/litellm_bump_proxy_extras_0_4_83
yuneng-berri Aug 5, 2026
472dd27
revert: "test(e2e): vendor API strategy coverage across endpoints (#3…
yuneng-berri Aug 5, 2026
4781b53
feat(ui): add Test Routing to the auto router create form (#35859)
devin-ai-integration[bot] Aug 5, 2026
a920870
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
yuneng-berri Aug 5, 2026
337d5a1
fix(ui): derive auto-router preset tests from the bundled preset JSON
tin-berri Aug 5, 2026
5bf9246
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
mateo-berri Aug 5, 2026
fa2d97f
Merge pull request #35882 from BerriAI/litellm_fix_autorouter_preset_…
yuneng-berri Aug 5, 2026
1d39c5f
Merge pull request #35881 from BerriAI/litellm_/revert-pr-34649-9f1755
yuneng-berri Aug 5, 2026
2e25519
Merge pull request #35844 from BerriAI/litellm_/terraform-provider-de…
yuneng-berri Aug 5, 2026
abcffa1
Merge pull request #35875 from BerriAI/litellm_/inspiring-franklin-05…
yuneng-berri Aug 5, 2026
faf3c51
Merge pull request #35869 from BerriAI/litellm_gate_owns_basedpyright…
mateo-berri Aug 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 30 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,29 @@ commands:
rm -f /tmp/uv-install.sh
echo 'export PATH="$HOME/.local/bin:$PATH"' >> "$BASH_ENV"
export PATH="$HOME/.local/bin:$PATH"
install_node:
description: "Install the Node.js version pinned in ui/litellm-dashboard/.nvmrc (24.19.0, which bundles npm 11.17.0) with checksum verification, and prepend it to PATH. Run this on any executor whose image does not already ship that version, or `npm ci` in ui/litellm-dashboard fails EBADENGINE against the engines floor. Installs into /opt/node rather than over /usr/local on purpose: cimg/python:*-browsers ships its own node there, and unpacking the tarball on top of it leaves npm 11.17 files merged with the image's npm 11.9 tree, which reports the new version and then exits 1 on `npm ci` with no error text at all. Requires checkout, which the .nvmrc drift check reads."
steps:
- run:
name: Install Node.js 24.19.0
command: |
NODE_VERSION="24.19.0"
NODE_TARBALL="node-v${NODE_VERSION}-linux-x64.tar.xz"
NODE_EXPECTED_SHA="14b342e71204f811bde6153be8e04b62aef63c236fef92b55f9c83154b409647"
NVMRC_VERSION="$(tr -d '[:space:]' < ui/litellm-dashboard/.nvmrc)"
if [ "$NVMRC_VERSION" != "$NODE_VERSION" ]; then
echo "install_node: ui/litellm-dashboard/.nvmrc pins ${NVMRC_VERSION} but this command pins ${NODE_VERSION}; update NODE_VERSION and NODE_EXPECTED_SHA together" >&2
exit 1
fi
curl -sSLf -o "/tmp/${NODE_TARBALL}" "https://nodejs.org/dist/v${NODE_VERSION}/${NODE_TARBALL}"
echo "${NODE_EXPECTED_SHA} /tmp/${NODE_TARBALL}" | sha256sum -c -
sudo mkdir -p /opt/node
sudo tar -xJf "/tmp/${NODE_TARBALL}" -C /opt/node --strip-components=1
rm -f "/tmp/${NODE_TARBALL}"
echo 'export PATH="/opt/node/bin:$PATH"' >> "$BASH_ENV"
export PATH="/opt/node/bin:$PATH"
node --version
npm --version
install_rust:
description: "Install pinned rustup (1.28.2) and Rust toolchain (1.97.1) with checksum verification. Adds ~/.cargo/bin to PATH. Run this before any `uv sync` or `uv build` of the workspace: the root package builds litellm-rust through maturin, and on an image without cargo maturin fetches an unpinned rustup and a floating toolchain by itself."
steps:
Expand Down Expand Up @@ -2594,18 +2617,7 @@ jobs:
# Install Node.js directly from nodejs.org with SHA256 verification,
# instead of piping NodeSource's setup_24.x apt-repo installer into
# sudo bash (which runs a mutable upstream script unattended).
- run:
name: Install Node.js 24.19.0
command: |
NODE_VERSION="24.19.0"
NODE_TARBALL="node-v${NODE_VERSION}-linux-x64.tar.xz"
NODE_EXPECTED_SHA="14b342e71204f811bde6153be8e04b62aef63c236fef92b55f9c83154b409647"
curl -sSLf -o "/tmp/${NODE_TARBALL}" "https://nodejs.org/dist/v${NODE_VERSION}/${NODE_TARBALL}"
echo "${NODE_EXPECTED_SHA} /tmp/${NODE_TARBALL}" | sha256sum -c -
sudo tar -xJf "/tmp/${NODE_TARBALL}" -C /usr/local --strip-components=1
rm -f "/tmp/${NODE_TARBALL}"
node --version
npm --version
- install_node

- run:
name: Install Node.js test dependencies
Expand Down Expand Up @@ -2836,6 +2848,7 @@ jobs:
- skip_if_unrelated_changes:
category: client
- setup_google_dns
- install_node
- install_uv
- install_rust
- restore_cache:
Expand All @@ -2852,7 +2865,7 @@ jobs:
- ~/.cache/uv
- restore_cache:
keys:
- ui-e2e-node-deps-v3-{{ checksum "ui/litellm-dashboard/package-lock.json" }}-{{ checksum "tests/e2e/ui/package-lock.json" }}
- ui-e2e-node-deps-v4-{{ checksum "ui/litellm-dashboard/package-lock.json" }}-{{ checksum "tests/e2e/ui/package-lock.json" }}
- run:
name: Install Node dependencies and Playwright
# The cimg/python:3.12-browsers image already ships the Chromium system
Expand All @@ -2867,7 +2880,7 @@ jobs:
npm ci
npx playwright install chromium
- save_cache:
key: ui-e2e-node-deps-v3-{{ checksum "ui/litellm-dashboard/package-lock.json" }}-{{ checksum "tests/e2e/ui/package-lock.json" }}
key: ui-e2e-node-deps-v4-{{ checksum "ui/litellm-dashboard/package-lock.json" }}-{{ checksum "tests/e2e/ui/package-lock.json" }}
paths:
- ui/litellm-dashboard/node_modules
- tests/e2e/ui/node_modules
Expand Down Expand Up @@ -2979,6 +2992,7 @@ jobs:
- skip_if_unrelated_changes:
category: client
- setup_google_dns
- install_node
- install_uv
- install_rust
- restore_cache:
Expand All @@ -2995,7 +3009,7 @@ jobs:
- ~/.cache/uv
- restore_cache:
keys:
- ui-e2e-node-deps-v3-{{ checksum "ui/litellm-dashboard/package-lock.json" }}-{{ checksum "tests/e2e/ui/package-lock.json" }}
- ui-e2e-node-deps-v4-{{ checksum "ui/litellm-dashboard/package-lock.json" }}-{{ checksum "tests/e2e/ui/package-lock.json" }}
- run:
name: Install Node dependencies and Playwright
command: |
Expand All @@ -3005,7 +3019,7 @@ jobs:
npm ci
npx playwright install chromium
- save_cache:
key: ui-e2e-node-deps-v3-{{ checksum "ui/litellm-dashboard/package-lock.json" }}-{{ checksum "tests/e2e/ui/package-lock.json" }}
key: ui-e2e-node-deps-v4-{{ checksum "ui/litellm-dashboard/package-lock.json" }}-{{ checksum "tests/e2e/ui/package-lock.json" }}
paths:
- ui/litellm-dashboard/node_modules
- tests/e2e/ui/node_modules
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ jobs:
- name: Check basedpyright budget (delta vs base)
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
NODE_OPTIONS: --max-old-space-size=12288
run: |
(uv run --no-sync basedpyright --outputjson || true) | uv run --no-sync python scripts/type_check_gate.py --base "$BASE_SHA"
uv run --no-sync python scripts/type_check_gate.py --base "$BASE_SHA"

- name: Check tests/e2e basedpyright (zero errors)
env:
Expand Down
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,8 @@ lint-ruff-FULL-dev: install-dev
if [ -n "$$files" ]; then echo "$$files" | xargs $(UV_RUN) ruff check; \
else echo "No changed .py files to check."; fi

lint-basedpyright lint-basedpyright-budget-update: export NODE_OPTIONS := --max-old-space-size=12288

lint-basedpyright: $(LINT_DEP_INSTALL) $(LINT_DEP_BASE)
($(UV_RUN) basedpyright --outputjson || true) | $(UV_RUN) python scripts/type_check_gate.py --base origin/litellm_internal_staging
$(UV_RUN) python scripts/type_check_gate.py --base origin/litellm_internal_staging

lint-e2e-basedpyright: $(LINT_E2E_DEP_INSTALL)
$(UV_RUN) basedpyright tests/e2e
Expand All @@ -192,7 +190,7 @@ lint-type-discipline: $(LINT_DEP_INSTALL) $(LINT_DEP_BASE)
# --update lowers each limit by what this branch fixed since its branch point, so
# it needs the base ref fetched to resolve the merge-base.
lint-basedpyright-budget-update: install-dev lint-fetch-base
($(UV_RUN) basedpyright --outputjson || true) | $(UV_RUN) python scripts/type_check_gate.py --update
$(UV_RUN) python scripts/type_check_gate.py --update

lint-format: format-check

Expand Down
1 change: 1 addition & 0 deletions backend/routes/allowlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"/router/",
"/router_settings",
"/adaptive_router/",
"/auto_router/",
"/fallback",
"/fallbacks",
"/cache_settings",
Expand Down
6 changes: 3 additions & 3 deletions basedpyright-code-budget.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"reportAny": {
"limit": 29813
"limit": 29809
},
"reportArgumentType": {
"limit": 2645
Expand Down Expand Up @@ -60,7 +60,7 @@
"limit": 15849
},
"reportMissingTypeStubs": {
"limit": 41
"limit": 40
},
"reportOperatorIssue": {
"limit": 0
Expand Down Expand Up @@ -99,7 +99,7 @@
"limit": 0
},
"reportUnknownArgumentType": {
"limit": 45269
"limit": 45262
},
"reportUnknownLambdaType": {
"limit": 113
Expand Down
2 changes: 1 addition & 1 deletion helm/litellm-helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ If `db.useStackgresOperator` is used (not yet implemented):
| `livenessProbe.*` | Liveness probe settings for the LiteLLM container (`path`, `periodSeconds`, `timeoutSeconds`, thresholds, and initial delay). | See `values.yaml` |
| `readinessProbe.*` | Readiness probe settings for the LiteLLM container (`path`, `periodSeconds`, `timeoutSeconds`, thresholds, and initial delay). | See `values.yaml` |
| `startupProbe.*` | Startup probe settings for the LiteLLM container (`path`, `periodSeconds`, `timeoutSeconds`, thresholds, and initial delay). | See `values.yaml` |
| `resources.*` | CPU/memory requests and limits for the LiteLLM container. | `{}` |
| `resources.*` | CPU/memory requests and limits for the LiteLLM container. Unset by default; production deployments should set 1 CPU and 4Gi of memory per worker. | `{}` |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Chart-local production sizing guidance

This adds customer-facing production sizing guidance to the chart README, while repository policy requires product documentation to live in litellm-docs; keeping the recommendation here splits its maintenance and allows it to drift from the published documentation.

Rule Used: Prevent documentation from being added - needs to ... (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

| `service.loadBalancerClass` | Optional LoadBalancer implementation class (only used when `service.type` is `LoadBalancer`) | `""` |
| `ingress.labels` | Additional labels for the Ingress resource | `{}` |
| `ingress.*` | See [values.yaml](./values.yaml) for example settings | N/A |
Expand Down
27 changes: 15 additions & 12 deletions helm/litellm-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,16 +181,19 @@ proxy_config:

resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# Unset by default so the chart installs on small clusters such as Minikube, and so an
# upgrade never leaves a running pod Pending. Production deployments should set these.
# A proxy at DB-connected steady state needs about 1 CPU and 4Gi of memory per worker;
# sizing below that gets the pod OOMKilled once traffic and DB connections ramp up.
# Scale both figures with --num_workers, then uncomment the lines below and remove the
# curly braces after 'resources:'. See "Recommended Machine Specifications" in
# https://docs.litellm.ai/docs/proxy/prod.
# requests:
# cpu: 100m
# memory: 128Mi
# cpu: "1"
# memory: 4Gi
# limits:
# cpu: "1"
# memory: 4Gi

autoscaling:
enabled: false
Expand Down Expand Up @@ -432,9 +435,9 @@ migrationJob:
annotations: {}
ttlSecondsAfterFinished: 120
resources: {}
# requests:
# cpu: 100m
# memory: 100Mi
# Unset by default. This job runs the database migration and exits, so it does not
# need the steady-state headroom the proxy does; size it from your own migration
# runs rather than from the proxy figures above.
extraContainers: []
extraInitContainers: []

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- AlterTable
ALTER TABLE "LiteLLM_Config" ADD COLUMN IF NOT EXISTS "last_run_at" TIMESTAMP(3),
ADD COLUMN IF NOT EXISTS "reload_revision" BIGINT NOT NULL DEFAULT 0;
2 changes: 2 additions & 0 deletions litellm-proxy-extras/litellm_proxy_extras/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,8 @@ model LiteLLM_TagTable {
model LiteLLM_Config {
param_name String @id
param_value Json?
last_run_at DateTime?
reload_revision BigInt @default(0)
}

// View spend, model, api_key per request
Expand Down
4 changes: 2 additions & 2 deletions litellm-proxy-extras/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "litellm-proxy-extras"
version = "0.4.82"
version = "0.4.83"
description = "Additional files for the LiteLLM Proxy. Reduces the size of the main litellm package."
readme = "README.md"
requires-python = ">=3.9"
Expand All @@ -26,7 +26,7 @@ required-version = ">=0.10.9"
module-root = ""

[tool.commitizen]
version = "0.4.82"
version = "0.4.83"
version_files = [
"pyproject.toml:^version",
"../pyproject.toml:litellm-proxy-extras==",
Expand Down
Loading
Loading