Yujong Lee
d4869ba710
refactor: print rust and python traces independently
2026-09-14 11:48:25 -07:00
Yujong Lee
eb2ffaae79
fix(harness): rebuild bridge for trace parity
2026-09-14 11:48:25 -07:00
Yujong Lee
561533c596
wip
2026-09-14 11:48:24 -07:00
Yujong Lee
ad5b87eb91
fix: capture reused worker threads in Python traces
2026-09-14 11:47:30 -07:00
devin-ai-integration[bot]
32699a0be9
build(deps): re-suppress GHSA-h7x2-h6g9-p789 in osv-scan, mlflow still has no fixed release ( #41036 )
...
Co-authored-by: mateo <mateo@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 18:42:36 +00:00
yucheng
e41faf54a8
fix(ui): anchor guardrail lifecycle on timed entries and show not_run skip reason
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 18:39:10 +00:00
Yujong Lee
209913c1c7
refactor: print rust and python traces independently
2026-09-14 11:38:13 -07:00
Yujong Lee
f486579a27
fix(harness): rebuild bridge for trace parity
2026-09-14 11:37:40 -07:00
Yujong Lee
ed653ce9bf
wip
2026-09-14 11:33:10 -07:00
Mateo Wang
cab1e113f7
Merge pull request #40976 from BerriAI/litellm_azure_gpt_chat_latest_pricing
...
feat(pricing): add azure gpt-chat-latest rates and drop retired friendliai llama-3.1 entries
2026-09-14 11:21:20 -07:00
Yujong Lee
cc1e8eb20f
fix: capture reused worker threads in Python traces
2026-09-14 11:19:28 -07:00
Yassin Kortam
08a78a3982
Merge pull request #41054 from BerriAI/litellm_gate_correlation_contextvar_stamp
...
perf(logging): skip correlation contextvar stamping when request_correlation_in_logs is off
2026-09-14 11:14:44 -07:00
Shivi Jain
f4e21430c0
test(auth): freeze prefetch cache clock so the org getter cannot miss on a slow runner
...
Prefetch still writes org entries with the 5s getter TTL. This test only asserts the SQL join, and wall-clock expiry on CI turned that into a MagicMock await TypeError.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 18:13:49 +00:00
Shivi Jain
75b16df6fa
fix(auth): keep prefetched org entries on the 5s getter TTL
...
Organization mutations do not evict those cache keys, so stretching prefetch to the management TTL would leave stale org grants in L1.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 18:13:49 +00:00
Shivi Jain
abaa2f8b81
fix(auth): put TQ008 suppressions on the patch call lines
...
The test-quality gate attributes the comment to the `patch(` line, so reasons on the closing paren did not count and lint failed after format started passing.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 18:13:49 +00:00
Shivi Jain
53ba8b9866
fix(auth): load team membership once per request and skip prisma on an L1 hit
...
common_checks was querying get_team_membership twice, and DualCache awaited Redis SET on the auth path, so LRU eviction plus a hung Redis write showed up as two postgres spans
2026-09-14 18:13:49 +00:00
Shivi Jain
70ddc7e492
fix(auth): load team membership once per request and skip prisma on an L1 hit
...
common_checks was querying get_team_membership twice, and DualCache awaited Redis SET on the auth path, so LRU eviction plus a hung Redis write showed up as two postgres spans
2026-09-14 18:13:49 +00:00
Shivi Jain
5457f48290
fix(auth): load team membership once per request and skip prisma on an L1 hit
...
common_checks was querying get_team_membership twice, and DualCache awaited Redis SET on the auth path, so LRU eviction plus a hung Redis write showed up as two postgres spans
2026-09-14 18:13:49 +00:00
joshua-berri
fb67d8335c
style(model_armor): format guardrail handler
...
ai-gateway image / ai-gateway release image (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 18:06:41 +00:00
joshua-berri
eceb67b69a
test(model_armor): inject HTTP handler and token provider
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 18:03:22 +00:00
yucheng
4be84a859d
Merge remote-tracking branch 'origin/main' into litellm_lit6314_guardrail_metadata_transfer
2026-09-14 18:01:01 +00:00
Yuneng Jiang
1d49e0ee7e
test: preserve immutable integration observations and cleanup outcomes
2026-09-14 10:58:36 -07:00
Yuneng Jiang
4ee73c49af
test: collect pricing observations immutably
2026-09-14 10:58:24 -07:00
Mateo Wang
6e9e08475a
Merge pull request #40627 from BerriAI/litellm_fix_realtime_cached_audio_cost
...
fix(cost): bill cached realtime audio tokens at the audio cache-read rate
2026-09-14 10:50:00 -07:00
yucheng
34e702c571
test(otel): build the clipped-blob conversation without mutating the payload
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 17:46:18 +00:00
yucheng
b4e3d7c533
chore: merge main into litellm_lit6314_guardrail_metadata_transfer
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 17:33:04 +00:00
yassin
83d16a4690
fix(proxy): read LITELLM_DISABLE_ACCESS_LOG_PATHS per record and match before redaction
...
Values loaded after import via proxy config environment_variables or dotenv
were ignored, and a long query string was truncated by the redaction filter
before the path filter could match it. Tests now go through the production
registration on the uvicorn.access logger instead of a hand-built filter.
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 17:27:43 +00:00
Devin AI
66ce1eea97
test(proxy): cover non-string access log paths
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 16:54:38 +00:00
yassin
4b39344d13
fix(proxy): only treat a missing user as no memberships on team list, surface db errors
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 16:49:54 +00:00
Yuneng Jiang
c900053c87
test: remove redundant integration harness commentary
2026-09-14 09:40:21 -07:00
Yuneng Jiang
474fd5ff8d
test: remove redundant integration harness commentary
2026-09-14 09:40:20 -07:00
Devin AI
2268bbaf5e
feat(proxy): honor LITELLM_DISABLE_ACCESS_LOG_PATHS to drop noisy uvicorn access log lines
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 16:39:54 +00:00
yassin
dc30be006b
refactor(proxy): read org admin's own team ids via get_user_object(check_db_only=True)
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 16:27:31 +00:00
Yuneng Jiang
96fdf5d6f4
test: isolate management integration coverage from E2E registry
2026-09-14 09:23:00 -07:00
Yuneng Jiang
48ccdba129
test: decouple integration contracts from E2E coverage registry
2026-09-14 09:22:13 -07:00
yassin
d643909789
fix(proxy): read org admin's own team ids from db and assert v2 list results
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 16:03:23 +00:00
yassin
8d9edfc03c
fix(proxy): keep /team/list self query for org admins membership-only across orgs
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 15:40:41 +00:00
yassin
58c3ccf668
fix(proxy): keep org admins' own team memberships in other orgs visible on team list
...
An org admin listing their own teams on GET /team/list and GET /v2/team/list
only saw teams in the orgs they administer. Teams they belong to in other
orgs were dropped because the org scope and the membership scope were ANDed.
A self query now unions the two, while a query for another user keeps the
org boundary intersection.
Resolves LIT-3723
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 15:27:06 +00:00
Yassin Kortam
9e1ed40db3
Merge pull request #40927 from BerriAI/litellm_per_issuer_virtual_key_claim_field
...
feat(jwt): allow virtual_key_claim_field per issuer
2026-09-14 08:00:25 -07:00
Mateo Wang
e3051a7af9
Merge pull request #40996 from BerriAI/litellm_deflake_20260913
2026-09-14 07:13:53 -07:00
mateo
1661e72c2c
fix(registry): drop retired friendliai llama-3.1 serverless models
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 13:21:46 +00:00
Yuneng Jiang
cfda6dea3e
test: cover persisted updates and warmed authorization policies
2026-09-14 04:20:06 -07:00
Yuneng Jiang
7ff8919827
test: collect owned cleanup processes immutably
2026-09-14 04:18:59 -07:00
Yuneng Jiang
16d7e695c0
test: stop proxy before cleaning up its query engine
2026-09-14 04:04:21 -07:00
Yuneng Jiang
d7c13625e9
test: qualify integration cleanup and replay invocation
2026-09-14 03:48:23 -07:00
Yuneng Jiang
92e0b72e2d
test: add CircleCI integration contract foundation
2026-09-14 03:30:52 -07:00
Devin AI
a70f9a17cc
perf(logging): skip correlation contextvar stamping when request_correlation_in_logs is off
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 08:54:34 +00:00
HUAHAODIA
d84e0eabf3
fix lint review feedback (round 2)
...
- actually drop the ruff-strict-budget.json changes: the earlier
checkout restored the edited HEAD version instead of main, so the
twelve limit changes were still in the branch; budget ratcheting
stays with the scheduled automation
- annotate validator_call as Final per repo convention
- drop the standalone comment duplicating the inline noqa reason
2026-09-14 16:42:35 +08:00
HUAHAODIA
57b9090292
chore: retrigger CLA re-evaluation
2026-09-14 15:42:27 +08:00
HUAHAODIA
74fe022988
chore: retrigger CLA evaluation
2026-09-14 15:32:10 +08:00