Repository navigation
fix(otel): name postgres service spans by operation and table - #44240
Conversation
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
|
288550e to
cb7b879
Compare
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
cb7b879 to
b2f9412
Compare
b2f9412 to
e4f7dfb
Compare
e4f7dfb to
84e0a9c
Compare
c12e5e5 to
deefbbe
Compare
deefbbe to
278435b
Compare
278435b to
7e4f45b
Compare
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
7e4f45b to
db22666
Compare
|
@greptileai review |
| max_time=10, # maximum total time to retry for | ||
| on_backoff=on_backoff, # specifying the function to call on backoff | ||
| ) | ||
| @log_db_metrics |
There was a problem hiding this comment.
The new @log_db_metrics makes failed writes await a logging hook without catching its errors. If a DataDogLogger instance uses explicit credentials but the environment lacks DD_API_KEY or DD_SITE, the hook creates another logger without those credentials. Its setup error replaces the database error, so callers checking for database outages see the wrong error.
Previously, these writes scheduled failure_handler in the background and preserved the database error. Guard the decorator’s failure hook, as db_span already does. The same issue affects update_data and delete_data
Knowledge Base Used: Logging callbacks and telemetry
…106.0) (#443) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/berriai/litellm](https://images.chainguard.dev/directory/image/wolfi-base/overview) ([source](https://github.com/BerriAI/litellm)) | minor | `v1.105.1` → `v1.106.0` | --- ### Release Notes <details> <summary>BerriAI/litellm (ghcr.io/berriai/litellm)</summary> ### [`v1.106.0`](https://github.com/BerriAI/litellm/releases/tag/v1.106.0) [Compare Source](https://github.com/BerriAI/litellm/compare/v1.105.1...v1.106.0) #### Verify Docker Image Signature All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit `0112e53`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0). **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: ```bash cosign verify \ --key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \ ghcr.io/berriai/litellm:v1.106.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: ```bash cosign verify \ --key https://raw.githubusercontent.com/BerriAI/litellm/v1.106.0/cosign.pub \ ghcr.io/berriai/litellm:v1.106.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 - test(mcp): fire MCP client test deadlines on conditions instead of wall-clock time by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44166](https://github.com/BerriAI/litellm/pull/44166) - fix(cost-map): add OpenAI TTS and GPT-5.x deprecation dates by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44175](https://github.com/BerriAI/litellm/pull/44175) - fix(tracing): unify ClickHouse storage configuration by [@​yujonglee-berri](https://github.com/yujonglee-berri) in [#​43941](https://github.com/BerriAI/litellm/pull/43941) - feat(docker): one-command quickstart that starts the gateway, Postgres, and the admin UI by [@​misbahsy](https://github.com/misbahsy) in [#​43673](https://github.com/BerriAI/litellm/pull/43673) - fix(lens): simplify the example investigation preview by [@​moe-berri](https://github.com/moe-berri) in [#​44123](https://github.com/BerriAI/litellm/pull/44123) - chore(helm): drop migrationJob values the chart never reads by [@​Bernedotcom2312](https://github.com/Bernedotcom2312) in [#​42141](https://github.com/BerriAI/litellm/pull/42141) - fix(ui): register tencent in the Add Model provider dropdown by [@​jimaldon](https://github.com/jimaldon) in [#​40924](https://github.com/BerriAI/litellm/pull/40924) - test: remove 130 legacy tests owned by stronger unit proofs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44157](https://github.com/BerriAI/litellm/pull/44157) - feat(mcp)!: disable stdio MCP servers by default by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44066](https://github.com/BerriAI/litellm/pull/44066) - fix(proxy): exit when DATABASE_URL is set but the Prisma toolchain is missing by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44207](https://github.com/BerriAI/litellm/pull/44207) - fix(proxy): preserve lifespan state across all entrypoints by [@​tin-berri](https://github.com/tin-berri) in [#​44214](https://github.com/BerriAI/litellm/pull/44214) - fix(oci): resolve the GenAI endpoint realm from the compartment OCID instead of hardcoding oraclecloud.com by [@​fede-kamel](https://github.com/fede-kamel) in [#​43180](https://github.com/BerriAI/litellm/pull/43180) - fix(chatgpt): preserve requested service tier in Responses calls by [@​SteffanWolter](https://github.com/SteffanWolter) in [#​40108](https://github.com/BerriAI/litellm/pull/40108) - fix(ui): leave unset callback select params out of the save payload by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44213](https://github.com/BerriAI/litellm/pull/44213) - fix(proxy-extras): hand libpq a root cert, not Prisma's sslcert, when the migration job builds indexes by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44203](https://github.com/BerriAI/litellm/pull/44203) - feat: add Laya gateway and OSS classifier providers by [@​tin-berri](https://github.com/tin-berri) in [#​43626](https://github.com/BerriAI/litellm/pull/43626) - fix(auto-router): count usage savings by selected UTC request day by [@​tin-berri](https://github.com/tin-berri) in [#​44115](https://github.com/BerriAI/litellm/pull/44115) - fix(lens): preserve framework agent names and GenAI message content by [@​moe-berri](https://github.com/moe-berri) in [#​44218](https://github.com/BerriAI/litellm/pull/44218) - feat(jwt): auto_register_map_existing_key maps JWT to the user's existing virtual key by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​42375](https://github.com/BerriAI/litellm/pull/42375) - feat(ui): select Laya for OSS classification by [@​tin-berri](https://github.com/tin-berri) in [#​43768](https://github.com/BerriAI/litellm/pull/43768) - fix(otel): tolerate non-dict callback_settings.otel and ignore bare EXCLUDED_SERVICES env by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44086](https://github.com/BerriAI/litellm/pull/44086) - fix(proxy): carry key, team and project tags into pass-through spend logs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​42662](https://github.com/BerriAI/litellm/pull/42662) - feat(ui): add System One (Jev) tab to the playground by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44043](https://github.com/BerriAI/litellm/pull/44043) - chore: bump litellm-proxy-extras 0.4.104 -> 0.4.105 by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44234](https://github.com/BerriAI/litellm/pull/44234) - chore(prices): add xAI grok-voice-transcribe-1.0 deprecation date by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44237](https://github.com/BerriAI/litellm/pull/44237) - fix(exa): fall back to highlights/summary when text is missing by [@​wakqasahmed](https://github.com/wakqasahmed) in [#​42213](https://github.com/BerriAI/litellm/pull/42213) - fix(scim): apply path-less group PATCH ops instead of storing them under an empty metadata key by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43978](https://github.com/BerriAI/litellm/pull/43978) - fix(lens): run investigations with configured wildcard models by [@​moe-berri](https://github.com/moe-berri) in [#​44233](https://github.com/BerriAI/litellm/pull/44233) - fix(ui): shrink the sidebar logo so it stops outweighing page titles by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44247](https://github.com/BerriAI/litellm/pull/44247) - feat(tracing): support claude agent sdk traces with agent name, logo and chat content by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44248](https://github.com/BerriAI/litellm/pull/44248) - fix(ui): make model leaderboard chart bars wide and readable by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44249](https://github.com/BerriAI/litellm/pull/44249) - test: repair stale and polluting tests red on scheduled main CI by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44229](https://github.com/BerriAI/litellm/pull/44229) - feat(traces): type queries and align read access with log visibility by [@​yujonglee-berri](https://github.com/yujonglee-berri) in [#​44228](https://github.com/BerriAI/litellm/pull/44228) - chore(ui): untrack tsconfig.tsbuildinfo and gitignore \*.tsbuildinfo by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44261](https://github.com/BerriAI/litellm/pull/44261) - refactor(mcp): extract upstream preparation and support modern clients by [@​joshua-berri](https://github.com/joshua-berri) in [#​44232](https://github.com/BerriAI/litellm/pull/44232) - fix(lens): default to traces and reopen span details by [@​moe-berri](https://github.com/moe-berri) in [#​44260](https://github.com/BerriAI/litellm/pull/44260) - fix(bedrock): surface unrecognized converse-stream event frames instead of an empty turn by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44112](https://github.com/BerriAI/litellm/pull/44112) - perf(proxy): batch daily model usage writes instead of upserting per request by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44243](https://github.com/BerriAI/litellm/pull/44243) - test(integration): opt the config pass-through spend-log case into auth by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44265](https://github.com/BerriAI/litellm/pull/44265) - test: fix three order-dependent and timing-flaky tests by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44271](https://github.com/BerriAI/litellm/pull/44271) - fix(ui): make the Lens traces refresh button always clickable by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44252](https://github.com/BerriAI/litellm/pull/44252) - feat(lens): add sample previews and improve setup and worker feedback by [@​moe-berri](https://github.com/moe-berri) in [#​44268](https://github.com/BerriAI/litellm/pull/44268) - chore(openrouter): sync prices, limits and deprecation dates from the models API by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44287](https://github.com/BerriAI/litellm/pull/44287) - refactor(traces): type the ClickHouse query help response by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44285](https://github.com/BerriAI/litellm/pull/44285) - fix(proxy): stop queued registry read-throughs spending the resync budget by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44277](https://github.com/BerriAI/litellm/pull/44277) - feat(lens): show investigation progress as one staged bar with time left by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44301](https://github.com/BerriAI/litellm/pull/44301) - refactor(ui): compose dashboard pages with shared layouts by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44306](https://github.com/BerriAI/litellm/pull/44306) - fix(proxy): share ownership permissions for spend logs and traces by [@​yujonglee-berri](https://github.com/yujonglee-berri) in [#​44239](https://github.com/BerriAI/litellm/pull/44239) - fix(proxy-extras): retry P3009 when a peer already recovered the named migration row by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44283](https://github.com/BerriAI/litellm/pull/44283) - fix(bedrock): price amazon nova 2 pro preview at the standard tier by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44302](https://github.com/BerriAI/litellm/pull/44302) - feat: add Bespoke Nimble gateway and OSS classifier support by [@​tin-berri](https://github.com/tin-berri) in [#​44246](https://github.com/BerriAI/litellm/pull/44246) - fix(anthropic): stop repeating streamed thinking text in the signature chunk by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44127](https://github.com/BerriAI/litellm/pull/44127) - fix(responses): drop bridge-minted reasoning items from OpenAI replays by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44132](https://github.com/BerriAI/litellm/pull/44132) - feat(bedrock): drop lookaround regex patterns from tool schemas for Converse models that reject them by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44138](https://github.com/BerriAI/litellm/pull/44138) - feat(bedrock): serve gpt-5.6+ chat completions natively by default, with chat_completions/ opt-in for gpt-oss and grok by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44307](https://github.com/BerriAI/litellm/pull/44307) - feat(lens): issue briefs with problem, user goal, outcome and test cases by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44311](https://github.com/BerriAI/litellm/pull/44311) - fix(responses): keep gpt-5.4/5.5 tool calls on chat and merge bridged tool calls into one choice by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44295](https://github.com/BerriAI/litellm/pull/44295) - fix(cost): price rule-only model names at the deployment's rate by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44144](https://github.com/BerriAI/litellm/pull/44144) - fix(auto-router): attribute router-day savings without spend logs or a session by [@​tin-berri](https://github.com/tin-berri) in [#​44226](https://github.com/BerriAI/litellm/pull/44226) - test(integration): let run.py select cells by pytest node id by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44319](https://github.com/BerriAI/litellm/pull/44319) - fix(bedrock): honor unsupported reasoning effort levels for OpenAI GPT models by [@​Aasif-Multani](https://github.com/Aasif-Multani) in [#​44183](https://github.com/BerriAI/litellm/pull/44183) - feat(lens): add preset watch-for checks to investigation setup by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44313](https://github.com/BerriAI/litellm/pull/44313) - fix(proxy): use OpenAI workload identity federation tokens on /openai_passthrough by [@​6matt](https://github.com/6matt) in [#​44140](https://github.com/BerriAI/litellm/pull/44140) - feat(interactions): durable cross-pod settlement for background interaction billing by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​41955](https://github.com/BerriAI/litellm/pull/41955) - fix(streaming): keep the finish_reason of the provider's last content chunk in the logged response by [@​joeym82956](https://github.com/joeym82956) in [#​44318](https://github.com/BerriAI/litellm/pull/44318) - fix(bedrock): send the anthropic-workspace-id header to Bedrock Mantle by [@​kohjunhao](https://github.com/kohjunhao) in [#​44173](https://github.com/BerriAI/litellm/pull/44173) - fix(guardrails): run unified guardrails on /v1/images/edits by [@​michelligabriele](https://github.com/michelligabriele) in [#​44195](https://github.com/BerriAI/litellm/pull/44195) - feat(scaleway): add rerank support by [@​ankit373](https://github.com/ankit373) in [#​44160](https://github.com/BerriAI/litellm/pull/44160) - fix(vector_stores): return managed file ids from vector store file list by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43800](https://github.com/BerriAI/litellm/pull/43800) - fix(proxy): return 4xx instead of 500 for missing required params, invalid pagination and unknown ids by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43787](https://github.com/BerriAI/litellm/pull/43787) - fix(guardrails): encrypt guardrail litellm_params secrets at rest by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​43627](https://github.com/BerriAI/litellm/pull/43627) - fix(search_tools): encrypt search tool litellm_params at rest by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​43631](https://github.com/BerriAI/litellm/pull/43631) - feat(roi): add GitLab sources and branch cost attribution by [@​moe-berri](https://github.com/moe-berri) in [#​44324](https://github.com/BerriAI/litellm/pull/44324) - fix(model-prices): mark azure us/eu responses-only models as mode responses by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44323](https://github.com/BerriAI/litellm/pull/44323) - revert(cost): revert "fix(cost): price rule-only model names at the deployment's rate" ([#​44144](https://github.com/BerriAI/litellm/issues/44144)) by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44335](https://github.com/BerriAI/litellm/pull/44335) - fix(proxy): stamp the client alias on a copy of each streamed chunk so pricing sees the deployment model by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44341](https://github.com/BerriAI/litellm/pull/44341) - revert(responses): revert "fix(responses): keep gpt-5.4/5.5 tool calls on chat and merge bridged tool calls into one choice" ([#​44295](https://github.com/BerriAI/litellm/issues/44295)) by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44344](https://github.com/BerriAI/litellm/pull/44344) - refactor(dashboard): migrate to zod 4 and openai 6 by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44345](https://github.com/BerriAI/litellm/pull/44345) - feat(ui): move LiteAdmin into the header with a docked side panel by [@​tin-berri](https://github.com/tin-berri) in [#​44293](https://github.com/BerriAI/litellm/pull/44293) - fix(responses): merge bridged tool calls into the same choice as the text by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44346](https://github.com/BerriAI/litellm/pull/44346) - feat(ui): improve trace inspection and ROI estimation by [@​moe-berri](https://github.com/moe-berri) in [#​44351](https://github.com/BerriAI/litellm/pull/44351) - refactor(ui): reorganize Lens dashboard components by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44354](https://github.com/BerriAI/litellm/pull/44354) - refactor(ui): inject Lens backends as services instead of a fake HTTP client by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44369](https://github.com/BerriAI/litellm/pull/44369) - refactor: clean up fresh tech debt from 2026-10-02 by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44362](https://github.com/BerriAI/litellm/pull/44362) - feat(traces): tracing development seed by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44363](https://github.com/BerriAI/litellm/pull/44363) - refactor(types): replace Any with proven types in 4 files by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44370](https://github.com/BerriAI/litellm/pull/44370) - build(deps): suppress unfixed braces GHSA-vfj7-8cjw-p6xm to clear osv-scan by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44347](https://github.com/BerriAI/litellm/pull/44347) - fix(azure): add MAI-Image max_input_tokens from models sold directly page by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44375](https://github.com/BerriAI/litellm/pull/44375) - fix(proxy): emit postgres service spans only on real DB reads in auth cache helpers by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44148](https://github.com/BerriAI/litellm/pull/44148) - fix(otel): nest cache spans under their operation and name service spans by purpose by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44150](https://github.com/BerriAI/litellm/pull/44150) - fix(otel): name postgres service spans by operation and table by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44240](https://github.com/BerriAI/litellm/pull/44240) - perf(proxy): stop prompt-cache eligibility from tokenizing the whole conversation by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44221](https://github.com/BerriAI/litellm/pull/44221) - fix(proxy): keep the database error when the log_db_metrics failure hook raises by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44383](https://github.com/BerriAI/litellm/pull/44383) - feat(azure): add azure_ai/kimi-k2-thinking from Azure Kimi pricing page by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44382](https://github.com/BerriAI/litellm/pull/44382) - feat(harness): add Harness.TOOL_LOOP, a minimal in-process tool-calling loop by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44391](https://github.com/BerriAI/litellm/pull/44391) - feat(decisions): add unified /v1/decisions endpoint for Jev-compatible providers by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44236](https://github.com/BerriAI/litellm/pull/44236) - fix(lens): paginate trace reads within ClickHouse limits by [@​moe-berri](https://github.com/moe-berri) in [#​44384](https://github.com/BerriAI/litellm/pull/44384) - feat(lens): live dot field timeline and full-screen traces view by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44390](https://github.com/BerriAI/litellm/pull/44390) - feat(ui): make LiteAdmin enterprise-only by [@​tin-berri](https://github.com/tin-berri) in [#​44399](https://github.com/BerriAI/litellm/pull/44399) - fix(bedrock): stop emitting Converse cachePoint blocks for Kimi K3 by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44292](https://github.com/BerriAI/litellm/pull/44292) - test(cost): pin OpenAI reported web search count with mixed actions by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44414](https://github.com/BerriAI/litellm/pull/44414) - fix(ci): give the pass-through auth regression test a real FastAPI app by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44403](https://github.com/BerriAI/litellm/pull/44403) - fix(azure): add azure_ai/flux.2-pro input token limit from the models sold directly page by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44405](https://github.com/BerriAI/litellm/pull/44405) - fix(lens): batch run reads and reset trace pagination by [@​moe-berri](https://github.com/moe-berri) in [#​44398](https://github.com/BerriAI/litellm/pull/44398) - fix(lens): preserve full trace access and expose investigation failures by [@​moe-berri](https://github.com/moe-berri) in [#​44406](https://github.com/BerriAI/litellm/pull/44406) - feat: add make lens-dev for one-command lens local dev by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44413](https://github.com/BerriAI/litellm/pull/44413) - fix(bedrock): honor the per-request timeout on Converse and Invoke streaming (internal copy of [#​38210](https://github.com/BerriAI/litellm/issues/38210)) by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44134](https://github.com/BerriAI/litellm/pull/44134) - feat(traces): render curated SQL examples from shared files by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44388](https://github.com/BerriAI/litellm/pull/44388) - fix(model_prices): registry audit 2026-10-03, add cohere embed v5, grok-imagine-video-1.5-lite and openrouter gpt-image rows by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44376](https://github.com/BerriAI/litellm/pull/44376) - refactor(traces): extract snapshot cache by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44424](https://github.com/BerriAI/litellm/pull/44424) - feat(lens): always-on investigations with findings and investigations tables by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44418](https://github.com/BerriAI/litellm/pull/44418) - feat(docker): add a Windows quickstart in PowerShell, and a styled terminal for both quickstarts by [@​misbahsy](https://github.com/misbahsy) in [#​44310](https://github.com/BerriAI/litellm/pull/44310) - feat(proxy): serve a Codex-native model catalog with per-model service_tiers from /v1/models by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44136](https://github.com/BerriAI/litellm/pull/44136) - refactor(types): replace Any with proven types in 9 files by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44389](https://github.com/BerriAI/litellm/pull/44389) - fix(proxy): treat Postgres connection exhaustion as DB unavailable, not poison spend-log rows by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44270](https://github.com/BerriAI/litellm/pull/44270) - fix(proxy): treat Postgres connection exhaustion as backpressure, not poison rows by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44266](https://github.com/BerriAI/litellm/pull/44266) - fix(lens): release budget reservations when the analysis model call fails by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44431](https://github.com/BerriAI/litellm/pull/44431) - fix(mcp): preserve upstream tool schemas and parameter headers by [@​joshua-berri](https://github.com/joshua-berri) in [#​44425](https://github.com/BerriAI/litellm/pull/44425) - fix(bedrock_mantle): route Claude chat completions to the native Messages endpoint by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43646](https://github.com/BerriAI/litellm/pull/43646) - fix(tracing): preserve spend identity and gateway correlation by [@​yujonglee-berri](https://github.com/yujonglee-berri) in [#​44421](https://github.com/BerriAI/litellm/pull/44421) - feat(roi): measure shipping velocity, quality, and recorded spend by [@​moe-berri](https://github.com/moe-berri) in [#​44426](https://github.com/BerriAI/litellm/pull/44426) - fix(azure): set text-embedding max input to 8192 from the models sold directly page by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44449](https://github.com/BerriAI/litellm/pull/44449) - feat(ui): show invitation and reset password links in a copyable field by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44454](https://github.com/BerriAI/litellm/pull/44454) - feat(lens): coordinate worker releases and bundled installs by [@​moe-berri](https://github.com/moe-berri) in [#​44428](https://github.com/BerriAI/litellm/pull/44428) - fix(auth): resolve hidden model_group_alias entries in the zero-cost budget check by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43741](https://github.com/BerriAI/litellm/pull/43741) - fix(vertex_ai): forward system and tools to partner model count_tokens by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43900](https://github.com/BerriAI/litellm/pull/43900) - fix(traces): reject conflicting spend aliases and unrelated HTTP siblings by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44456](https://github.com/BerriAI/litellm/pull/44456) - chore(cost-map): add azure_ai/kimi-k2-thinking retirement date from the Azure retired models page by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44455](https://github.com/BerriAI/litellm/pull/44455) - fix(health): probe Bedrock Mantle Claude deployments over the Anthropic Messages API by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44419](https://github.com/BerriAI/litellm/pull/44419) - fix(tests): match the OS bind error in the owned-proxy port-race retry by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44462](https://github.com/BerriAI/litellm/pull/44462) - feat(anthropic): workload identity federation and pluggable identity sources by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44448](https://github.com/BerriAI/litellm/pull/44448) - test(integration): exact four-part translation cases on a shared fake provider and shared YAML deployment by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44451](https://github.com/BerriAI/litellm/pull/44451) - feat(roi): default people and branch lists to matched accounts by [@​moe-berri](https://github.com/moe-berri) in [#​44465](https://github.com/BerriAI/litellm/pull/44465) - feat(enterprise): bundle LiteAdmin Slack with native gateway login by [@​tin-berri](https://github.com/tin-berri) in [#​44444](https://github.com/BerriAI/litellm/pull/44444) - fix(caching): count tool_call cache_control marks in the injection census by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43556](https://github.com/BerriAI/litellm/pull/43556) - chore(cost-map): sync openrouter prices from the models API by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44466](https://github.com/BerriAI/litellm/pull/44466) - fix(lens): preserve approved worker digests and harden its image by [@​moe-berri](https://github.com/moe-berri) in [#​44467](https://github.com/BerriAI/litellm/pull/44467) - feat: improve Lens dev seeding and live UI by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44468](https://github.com/BerriAI/litellm/pull/44468) - test(ui): wait for step search value to settle in TraceDrawer test by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44470](https://github.com/BerriAI/litellm/pull/44470) - feat(ui): share trace drawer as a closable SidePanel and polish Lens by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44473](https://github.com/BerriAI/litellm/pull/44473) - fix(lens): align source setup with available worker images by [@​moe-berri](https://github.com/moe-berri) in [#​44476](https://github.com/BerriAI/litellm/pull/44476) - feat(sdk): add run_tool_loop and arun_tool_loop helpers by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44381](https://github.com/BerriAI/litellm/pull/44381) - feat(lens): guide setup through the first investigation by [@​moe-berri](https://github.com/moe-berri) in [#​44475](https://github.com/BerriAI/litellm/pull/44475) - test(ci): fix six CircleCI test regressions on main by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44429](https://github.com/BerriAI/litellm/pull/44429) - fix(proxy-extras): log v1 migration failures at ERROR so LITELLM_LOG=ERROR shows them by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44202](https://github.com/BerriAI/litellm/pull/44202) - feat(ui): inline Lens settings tab and investigation editor by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44479](https://github.com/BerriAI/litellm/pull/44479) - feat(mcp): hand listed-tool description and input schema to pre-call hooks per caller by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​41162](https://github.com/BerriAI/litellm/pull/41162) - refactor: clean up fresh tech debt from 2026-10-03 by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44484](https://github.com/BerriAI/litellm/pull/44484) - fix(otel): read the registered v2 logger without importing the proxy by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44485](https://github.com/BerriAI/litellm/pull/44485) - test(mcp): keep the SSO assertion round trip from matching its refresh token inside random ciphertext by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44494](https://github.com/BerriAI/litellm/pull/44494) - test(ci): pin the ROI estimator flag and the prompt-cache counter in two drifted tests by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44499](https://github.com/BerriAI/litellm/pull/44499) - refactor(ui): move TraceView into components/lens/traces by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44501](https://github.com/BerriAI/litellm/pull/44501) - refactor(ui): rename view_logs to logs and split request, audit and detail by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44505](https://github.com/BerriAI/litellm/pull/44505) - refactor(ui): share CopyButton between Lens traces and logs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44513](https://github.com/BerriAI/litellm/pull/44513) - refactor(lens): storage-independent trace reads, shared keyset pager, typed read failures by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44422](https://github.com/BerriAI/litellm/pull/44422) - fix(ci): send the Lens preview body as selection in the tracing endpoint tests by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44525](https://github.com/BerriAI/litellm/pull/44525) - fix(azure): set gpt-realtime-2.1 retirement dates from the retirement schedule by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44526](https://github.com/BerriAI/litellm/pull/44526) - fix(ci): repair the security sweep and Lens billing integration tests for ROI, JWKS, and release identity changes by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44529](https://github.com/BerriAI/litellm/pull/44529) - fix(dashboard): route dev API calls on Accept and fail fast on non-JSON 2xx by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44528](https://github.com/BerriAI/litellm/pull/44528) - chore(cost-map): sync openrouter prices from the models API by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44533](https://github.com/BerriAI/litellm/pull/44533) - refactor(ui): route dashboard URL state through nuqs parsers by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44537](https://github.com/BerriAI/litellm/pull/44537) - fix(logging): deduplicate streaming failure callbacks by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44442](https://github.com/BerriAI/litellm/pull/44442) - feat(proxy): add LITELLM_FIPS_MODE startup gate with provider assertion and loud password migration failure by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​42700](https://github.com/BerriAI/litellm/pull/42700) - fix(guardrails): run the end-of-stream post_call scan when the client disconnects mid-stream by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43839](https://github.com/BerriAI/litellm/pull/43839) - refactor(mcp): fix Sequence/list return mismatch and collapse record_listed_tools wrapper by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44556](https://github.com/BerriAI/litellm/pull/44556) - chore(cost-map): add azure retirement dates for gpt-4o-realtime-preview-2024-10-01 and jamba-instruct by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44567](https://github.com/BerriAI/litellm/pull/44567) - feat(ui): add persistent columns and loading skeletons to Lens runs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44579](https://github.com/BerriAI/litellm/pull/44579) - fix(ui): remove Top models by task card from Model Leaderboard by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44502](https://github.com/BerriAI/litellm/pull/44502) - refactor(rust): track ClickHouse migrations in a checksummed ledger by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44580](https://github.com/BerriAI/litellm/pull/44580) - refactor(ui): extract shared timeline and time-range controls by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44584](https://github.com/BerriAI/litellm/pull/44584) - fix(azure): set gpt-4o-transcribe retirement date from the retirement schedule by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44585](https://github.com/BerriAI/litellm/pull/44585) - ci: move Postgres, MCP and Redis suites to CircleCI integration by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44453](https://github.com/BerriAI/litellm/pull/44453) - chore!: retire the integrated ROI calculator by [@​moe-berri](https://github.com/moe-berri) in [#​44477](https://github.com/BerriAI/litellm/pull/44477) - fix(caching): key response cache by router model group in litellm_metadata by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44542](https://github.com/BerriAI/litellm/pull/44542) - fix(auto-router): align preview and serving default resolution by [@​moyai-berriai](https://github.com/moyai-berriai)\[bot] in [#​44436](https://github.com/BerriAI/litellm/pull/44436) - fix(mcp): bind OAuth clients to their upstream issuer by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​37777](https://github.com/BerriAI/litellm/pull/37777) - feat(guardrails): add llm shield pii redaction and rehydration guardrail by [@​ninadphalak](https://github.com/ninadphalak) in [#​42645](https://github.com/BerriAI/litellm/pull/42645) - refactor(tracing): generate existing HTTP request models from Rust schemas by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44591](https://github.com/BerriAI/litellm/pull/44591) - ci: run unit selections from GHA test-path and drop the CircleCI unit jobs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44461](https://github.com/BerriAI/litellm/pull/44461) - fix(ui): make mobile sidebar and top bar responsive by [@​moe-berri](https://github.com/moe-berri) in [#​44603](https://github.com/BerriAI/litellm/pull/44603) - refactor(types): replace Any with proven types in 137 files by [@​mateo-berri](https://github.com/mateo-berri) in [#​44478](https://github.com/BerriAI/litellm/pull/44478) - fix(ui): restore inline Lens onboarding and responsive layout by [@​moe-berri](https://github.com/moe-berri) in [#​44604](https://github.com/BerriAI/litellm/pull/44604) - test(integration): anthropic-route basic translation cases for six Claude models on messages, chat completions and responses by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44607](https://github.com/BerriAI/litellm/pull/44607) - fix(responses): report truncated bridged output as incomplete and echo request params by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44460](https://github.com/BerriAI/litellm/pull/44460) - fix(proxy): enforce internal-user model creation prohibition by [@​moyai-berriai](https://github.com/moyai-berriai)\[bot] in [#​44438](https://github.com/BerriAI/litellm/pull/44438) - chore(harness): drop the unused Any import left in harness options by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44625](https://github.com/BerriAI/litellm/pull/44625) - fix(harness): drop the unused Any import that fails ruff on main by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44627](https://github.com/BerriAI/litellm/pull/44627) - refactor(proxy): rename management/teams/access.py to authz.py by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​44624](https://github.com/BerriAI/litellm/pull/44624) - feat(tracing)!: return only data from SQL queries by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44609](https://github.com/BerriAI/litellm/pull/44609) - fix(openai/realtime): drop model from upstream URL for intent=transcription by [@​michelligabriele](https://github.com/michelligabriele) in [#​43854](https://github.com/BerriAI/litellm/pull/43854) - fix(gemini): add priority tier audio input price to three Gemini rows by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44632](https://github.com/BerriAI/litellm/pull/44632) - fix(cost): bill per-second transcription models outside chat modes by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44458](https://github.com/BerriAI/litellm/pull/44458) - fix(ui): explain why team member reset spend is unavailable instead of hiding it by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44629](https://github.com/BerriAI/litellm/pull/44629) - test(integration): bedrock_converse-route basic translation cases for six Claude models on messages, chat completions and responses by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44646](https://github.com/BerriAI/litellm/pull/44646) - test(integration): run the anthropic /v1/responses basic translation cases now that the bridge echoes request params by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44615](https://github.com/BerriAI/litellm/pull/44615) - feat(lens): restore compact navigation with live investigation review by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44472](https://github.com/BerriAI/litellm/pull/44472) - feat(proxy): limit which models an end user can call by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43904](https://github.com/BerriAI/litellm/pull/43904) - fix(sso): let CLI and Claude Code gateway sign-in through on DISABLE_ADMIN_UI nodes by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44620](https://github.com/BerriAI/litellm/pull/44620) - feat(ui): declare shared search operators and flush queries on blur by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44665](https://github.com/BerriAI/litellm/pull/44665) - fix(lens): make tool steps and conversations readable by [@​moe-berri](https://github.com/moe-berri) in [#​44645](https://github.com/BerriAI/litellm/pull/44645) - fix(ui): send null instead of $0 when a team's member default budget is cleared by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​44644](https://github.com/BerriAI/litellm/pull/44644) - test(integration): azure_ai-route basic translation cases for six Claude models on messages, chat completions and responses by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44658](https://github.com/BerriAI/litellm/pull/44658) - test(integration): basic translation cases for the openai_responses route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44663](https://github.com/BerriAI/litellm/pull/44663) - feat(lens): analyze trace workspaces with confined Python and compaction by [@​moe-berri](https://github.com/moe-berri) in [#​44640](https://github.com/BerriAI/litellm/pull/44640) - fix(vertex-ai): add deprecation_date to gemini-3.1-flash-lite-image by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44639](https://github.com/BerriAI/litellm/pull/44639) - fix(bedrock): add priority and flex prices for Grok 4.3, 4.6, 4.7 and Kimi K3 by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44670](https://github.com/BerriAI/litellm/pull/44670) - test(integration): pin the Claude-tokenizer recount for streamed claude-sonnet-5 no-usage cases by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44643](https://github.com/BerriAI/litellm/pull/44643) - feat(proxy): embed enterprise LiteAdmin MCP in LiteLLM images by [@​tin-berri](https://github.com/tin-berri) in [#​44610](https://github.com/BerriAI/litellm/pull/44610) - test(integration): basic translation cases for the azure route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44672](https://github.com/BerriAI/litellm/pull/44672) - test(integration): assert the Messages API health probe on Mantle Claude by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44612](https://github.com/BerriAI/litellm/pull/44612) - refactor(rust): rename litellm-framing crate to litellm-framer by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44683](https://github.com/BerriAI/litellm/pull/44683) - test(integration): basic translation cases for the gemini route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44662](https://github.com/BerriAI/litellm/pull/44662) - test(integration): basic translation cases for the openai route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44667](https://github.com/BerriAI/litellm/pull/44667) - refactor(rust): derive string enum serde through strum and serde_with by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44675](https://github.com/BerriAI/litellm/pull/44675) - fix(spend-tracking): stop caching failed spend-log metadata lookups as confirmed misses by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43560](https://github.com/BerriAI/litellm/pull/43560) - fix(proxy): let a listed team alias win over a same-named key alias in the customer model check by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44677](https://github.com/BerriAI/litellm/pull/44677) - chore: move PR template to PULL_REQUEST_TEMPLATE/general.md, add rust.md by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44693](https://github.com/BerriAI/litellm/pull/44693) - fix(router): retry a /v1/messages stream the provider drops before the first content chunk by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44276](https://github.com/BerriAI/litellm/pull/44276) - fix(lens): persist final coverage with source diagnostics by [@​moe-berri](https://github.com/moe-berri) in [#​44682](https://github.com/BerriAI/litellm/pull/44682) - test(integration): point the scratch upgraded proxy's read replica at the scratch database by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44613](https://github.com/BerriAI/litellm/pull/44613) - fix(lens): show investigation findings for agent traces by [@​moe-berri](https://github.com/moe-berri) in [#​44696](https://github.com/BerriAI/litellm/pull/44696) - fix(build): rebuild the Rust bridge when uv sync sees Rust sources change by [@​nate-berri](https://github.com/nate-berri) in [#​44708](https://github.com/BerriAI/litellm/pull/44708) - fix(lens): preserve span timestamps in investigation evidence by [@​moe-berri](https://github.com/moe-berri) in [#​44702](https://github.com/BerriAI/litellm/pull/44702) - ci: split slow unit shards and build the Rust bridge once per run by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44622](https://github.com/BerriAI/litellm/pull/44622) - test(rust_bridge): expect PartRow start_time and end_time as required LENS_CONTENT fields by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44719](https://github.com/BerriAI/litellm/pull/44719) - chore(deps): bump langgraph-sdk from 0.4.2 to 0.4.4 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​44713](https://github.com/BerriAI/litellm/pull/44713) - feat: add Reka as an OpenAI-compatible provider by [@​anniejeng](https://github.com/anniejeng) in [#​44278](https://github.com/BerriAI/litellm/pull/44278) - feat(ui): support native decisions endpoint in decision playground by [@​moyai-berriai](https://github.com/moyai-berriai)\[bot] in [#​44664](https://github.com/BerriAI/litellm/pull/44664) - fix(lens): reconstruct native coding agent conversations by [@​moe-berri](https://github.com/moe-berri) in [#​44711](https://github.com/BerriAI/litellm/pull/44711) - fix(responses): honor request cache controls on chat completions bridged to the Responses API by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44676](https://github.com/BerriAI/litellm/pull/44676) - fix(deps): bump source-map-js, smol-toml, mako, multidict and werkzeug for OSV advisories by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44728](https://github.com/BerriAI/litellm/pull/44728) - test(integration): rename translation runner run to assert_translation by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44741](https://github.com/BerriAI/litellm/pull/44741) - feat(lens): show investigation names in findings table by [@​moe-berri](https://github.com/moe-berri) in [#​44753](https://github.com/BerriAI/litellm/pull/44753) - feat(ui): configure cache-aware auto routing by [@​tin-berri](https://github.com/tin-berri) in [#​43396](https://github.com/BerriAI/litellm/pull/43396) - fix(lens): bound result recovery and preserve partial results by [@​moe-berri](https://github.com/moe-berri) in [#​44692](https://github.com/BerriAI/litellm/pull/44692) - feat(prometheus): cap series per metric for every labeled metric by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44420](https://github.com/BerriAI/litellm/pull/44420) - feat(lens): type to filter the traces agent dropdown by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44745](https://github.com/BerriAI/litellm/pull/44745) - test(lens): use current worker protocol in billing integration by [@​moe-berri](https://github.com/moe-berri) in [#​44760](https://github.com/BerriAI/litellm/pull/44760) - feat(model_prices): add chatgpt subscription rows for the gpt-6 family by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44758](https://github.com/BerriAI/litellm/pull/44758) - test(e2e): assert the sibling-replica cooldown through the router by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44706](https://github.com/BerriAI/litellm/pull/44706) - test(integration): basic translation cases for the bedrock_invoke route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44752](https://github.com/BerriAI/litellm/pull/44752) - fix(gemini): stop replaying thinking block signatures to Gemini by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44661](https://github.com/BerriAI/litellm/pull/44661) - fix(ci): namespace claude session ids in tracing seeds and allowlist /v1/logs on backend by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44761](https://github.com/BerriAI/litellm/pull/44761) - fix(proxy): judge the free-model budget waiver by the group an alias routes to by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44638](https://github.com/BerriAI/litellm/pull/44638) - test(integration): basic translation cases for the vertex_ai route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44751](https://github.com/BerriAI/litellm/pull/44751) - fix(vertex_ai): apply regional endpoint uplift on image generation cost path by [@​nate-berri](https://github.com/nate-berri) in [#​44679](https://github.com/BerriAI/litellm/pull/44679) - refactor(tests): extract Rust cache test split from [#​44714](https://github.com/BerriAI/litellm/issues/44714) by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44780](https://github.com/BerriAI/litellm/pull/44780) - feat(proxy): cap batch file records, daily batch uploads, and per-file downloads by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43632](https://github.com/BerriAI/litellm/pull/43632) - feat(lens): add copy link button to trace header by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44749](https://github.com/BerriAI/litellm/pull/44749) - test(integration): keep scripted upstream connections open past the proxy's keepalive by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44695](https://github.com/BerriAI/litellm/pull/44695) - test(integration): basic translation cases for the bedrock_mantle route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44750](https://github.com/BerriAI/litellm/pull/44750) - fix(chatgpt,github_copilot): refuse device-code login inside an event loop or worker thread by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​39585](https://github.com/BerriAI/litellm/pull/39585) - feat(bedrock): add glm 5.3 cross-region rows and nova 2.5 sonic by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44710](https://github.com/BerriAI/litellm/pull/44710) - fix(responses): honor caller stream flag when provider forces SSE (internal copy of [#​34095](https://github.com/BerriAI/litellm/issues/34095)) by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​41235](https://github.com/BerriAI/litellm/pull/41235) - refactor(cache): remove dead Cache.\_native_cache runtime path by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44785](https://github.com/BerriAI/litellm/pull/44785) - fix(vertex_ai): add regional endpoint uplift to gemini-3.1-flash-image by [@​nate-berri](https://github.com/nate-berri) in [#​44673](https://github.com/BerriAI/litellm/pull/44673) - feat(ui): lead the Lens investigation detail with a run report by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44786](https://github.com/BerriAI/litellm/pull/44786) - fix(ui): polish Lens runs loading, reload, and time range menu by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44789](https://github.com/BerriAI/litellm/pull/44789) - refactor(types): move SpanAttributes, SpecialHeaders and AllowedModelRegion out of proxy.\_types by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44717](https://github.com/BerriAI/litellm/pull/44717) - refactor(types): import proxy-only types under TYPE_CHECKING in SDK modules by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44740](https://github.com/BerriAI/litellm/pull/44740) - refactor(logging): load enterprise alerting loggers lazily so import litellm skips proxy types by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44762](https://github.com/BerriAI/litellm/pull/44762) - perf(types): defer pydantic schema builds via shared LiteLLMBaseModel by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44720](https://github.com/BerriAI/litellm/pull/44720) - fix(router): price a model group from the deployments that serve it by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44732](https://github.com/BerriAI/litellm/pull/44732) - refactor: remove fresh tech debt from the 2026-10-05 window by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44821](https://github.com/BerriAI/litellm/pull/44821) - fix(azure): add gpt-6-sol priority processing prices by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44829](https://github.com/BerriAI/litellm/pull/44829) - refactor(types): replace Any with proven types in 6 files by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44491](https://github.com/BerriAI/litellm/pull/44491) - test: deflake the JEV classifier select and two router tests that inherited leaked state by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44840](https://github.com/BerriAI/litellm/pull/44840) - refactor(rust): rename litellm-core to litellm-inference by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44802](https://github.com/BerriAI/litellm/pull/44802) - refactor(rust): extract inference-transcription crate by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44809](https://github.com/BerriAI/litellm/pull/44809) - refactor(rust): extract inference-responses crate by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44811](https://github.com/BerriAI/litellm/pull/44811) - refactor(rust): extract inference-messages crate by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44818](https://github.com/BerriAI/litellm/pull/44818) - refactor(rust): extract inference-chat crate by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44827](https://github.com/BerriAI/litellm/pull/44827) - refactor(rust): extract inference-ocr crate by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44832](https://github.com/BerriAI/litellm/pull/44832) - chore(rust): prune inference deps and rewrite layering docs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44836](https://github.com/BerriAI/litellm/pull/44836) - fix(otel): name an Arize project on every OTel v2 Arize export by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44605](https://github.com/BerriAI/litellm/pull/44605) - fix(otel): gate the Arize OTel v2 exporter on operator credentials by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44596](https://github.com/BerriAI/litellm/pull/44596) - fix(otel): honor per-team Arize sampling rates in OTel v2 fan-out by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44595](https://github.com/BerriAI/litellm/pull/44595) - fix(model_prices): gemini deep research input limits, vertex flash retirement dates, azure data zone gpt-6.1-sol pricing by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44633](https://github.com/BerriAI/litellm/pull/44633) - refactor(types): replace Any with proven types in 157 files by [@​mateo-berri](https://github.com/mateo-berri) in [#​44798](https://github.com/BerriAI/litellm/pull/44798) - fix(sap): correctly handle cache_control by [@​yamaceay](https://github.com/yamaceay) in [#​39122](https://github.com/BerriAI/litellm/pull/39122) - fix(responses): stop SDK retries nesting under router retries, and unbreak CircleCI integration tests by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44791](https://github.com/BerriAI/litellm/pull/44791) - fix(cost-map): update together_ai Kimi-K3 and Qwen3.8-Flash prices to published rates by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44864](https://github.com/BerriAI/litellm/pull/44864) - fix(ui): restore key activity search to the top of the tab and add model activity search by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44521](https://github.com/BerriAI/litellm/pull/44521) - refactor(rust): extract inference-testing crate by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44873](https://github.com/BerriAI/litellm/pull/44873) - fix(ui): read MCP submission rules from bare-array /config/list response by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44648](https://github.com/BerriAI/litellm/pull/44648) - chore(model_prices): remove malformed, duplicate and decommissioned palm cost map entries by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44880](https://github.com/BerriAI/litellm/pull/44880) - fix(azure): add model router flat fee to azure provider cost tracking by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44876](https://github.com/BerriAI/litellm/pull/44876) - chore(pricing): add azure model-router and whisper rows by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44872](https://github.com/BerriAI/litellm/pull/44872) - fix(security): remove the publicly known master key from the repo by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44718](https://github.com/BerriAI/litellm/pull/44718) - chore(prices): add gemini/gemini-nano-banana-2.1 from the Gemini pricing page by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44868](https://github.com/BerriAI/litellm/pull/44868) - fix(ci): skip the generated dashboard bundle in the master key guard by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44890](https://github.com/BerriAI/litellm/pull/44890) - fix(model_prices): correct supported_endpoints on gemini and vertex image rows by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44891](https://github.com/BerriAI/litellm/pull/44891) - feat(vertex-ai): add gemini-nano-banana-2.1 and Nano Banana 2 priority pricing by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44892](https://github.com/BerriAI/litellm/pull/44892) - fix(lens): reuse trace reviews and consolidate findings across runs by [@​moe-berri](https://github.com/moe-berri) in [#​44778](https://github.com/BerriAI/litellm/pull/44778) - fix(lens): paginate visible conversation entries by [@​moe-berri](https://github.com/moe-berri) in [#​44878](https://github.com/BerriAI/litellm/pull/44878) - refactor(rust_…
….106.4 ) (#3677)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [ghcr.io/berriai/litellm](https://images.chainguard.dev/directory/image/wolfi-base/overview) ([source](https://github.com/BerriAI/litellm)) | minor | `v1.105.1` → `v1.106.4` |
---
> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/3566) for more information.
---
### Release Notes
<details>
<summary>BerriAI/litellm (ghcr.io/berriai/litellm)</summary>
### [`v1.106.4`](https://github.com/BerriAI/litellm/releases/tag/v1.106.4)
[Compare Source](https://github.com/BerriAI/litellm/compare/v1.106.3...v1.106.4)
#### Verify this release
```bash
cosign verify \
--key https://raw.githubusercontent.com/BerriAI/litellm/e82a3c646908ba0a6ee0beddc4310d7a6cac4065/cosign.pub \
ghcr.io/berriai/litellm:v1.106.4
```
Same command for `litellm-database`, `litellm-non_root` and the `docker.io/litellm/*` images
#### What's new in 1.106.4
3 PRs. 2 fixed. No action needed to upgrade
##### Changes
- **Deployment:** Fixed the proxy sometimes exiting on startup with an `ImportError` when it cannot reach the remote model cost map, broken since v1.104.0 ([#​46711](https://github.com/BerriAI/litellm/issues/46711)) <sup>Also in [1.104.7](https://github.com/BerriAI/litellm/releases/tag/v1.104.7), [1.105.5](https://github.com/BerriAI/litellm/releases/tag/v1.105.5)</sup>
- **Deployment:** Fixed image scans flagging brotli 1.2.0, the emSign ECC Root CA - G3 and unused lockfile packages ([#​48283](https://github.com/BerriAI/litellm/issues/48283), [#​48300](https://github.com/BerriAI/litellm/issues/48300))
***
Backport [#​48294](https://github.com/BerriAI/litellm/issues/48294) · [Full changelog](https://github.com/BerriAI/litellm/compare/v1.106.3...v1.106.4)
### [`v1.106.3`](https://github.com/BerriAI/litellm/releases/tag/v1.106.3)
[Compare Source](https://github.com/BerriAI/litellm/compare/v1.106.2...v1.106.3)
> \[!IMPORTANT]
> **The image-signing key has changed.** Starting with this release, every Docker image and Helm chart is signed with the new cosign key from commit [`e82a3c6`](https://github.com/BerriAI/litellm/commit/e82a3c646908ba0a6ee0beddc4310d7a6cac4065). Verifying with the previous key from commit `0112e53` will fail.
>
> Update anything that pins the old `cosign.pub`: `cosign verify` scripts, CI checks, and admission policies such as Kyverno, Sigstore policy-controller or Connaisseur.
>
> New `cosign.pub` SHA-256: `e3fe3e08c44b16407fe0b37c43b4f8b603b3a0f4ee74c29e647bc022d762c2c0`
#### Verify this release
```bash
cosign verify \
--key https://raw.githubusercontent.com/BerriAI/litellm/e82a3c646908ba0a6ee0beddc4310d7a6cac4065/cosign.pub \
ghcr.io/berriai/litellm:v1.106.3
```
Same command for `litellm-database`, `litellm-non_root` and the `docker.io/litellm/*` images
#### What's new in 1.106.3
4 PRs. 1 changed, 1 removed. 1 needs action
##### Action required
- **Deployment:** Verify image signatures with the `cosign.pub` from commit `e82a3c6`, the previous key no longer matches ([#​48103](https://github.com/BerriAI/litellm/issues/48103)) <sup>Also in [1.103.8](https://github.com/BerriAI/litellm/releases/tag/v1.103.8), [1.104.6](https://github.com/BerriAI/litellm/releases/tag/v1.104.6), [1.105.4](https://github.com/BerriAI/litellm/releases/tag/v1.105.4)</sup>
##### Changes
- **Deployment:** Removed the eMudhra root CA from every certificate bundle the SDK, proxy and Docker images trust ([#​47670](https://github.com/BerriAI/litellm/issues/47670), [#​47969](https://github.com/BerriAI/litellm/issues/47969), [#​48139](https://github.com/BerriAI/litellm/issues/48139)) <sup>Also in [1.103.8](https://github.com/BerriAI/litellm/releases/tag/v1.103.8), [1.104.6](https://github.com/BerriAI/litellm/releases/tag/v1.104.6), [1.105.4](https://github.com/BerriAI/litellm/releases/tag/v1.105.4)</sup>
- **Deployment:** Changed the cosign key that signs Docker images and Helm charts to the one from commit `e82a3c6` ([#​48103](https://github.com/BerriAI/litellm/issues/48103)) <sup>Also in [1.103.8](https://github.com/BerriAI/litellm/releases/tag/v1.103.8), [1.104.6](https://github.com/BerriAI/litellm/releases/tag/v1.104.6), [1.105.4](https://github.com/BerriAI/litellm/releases/tag/v1.105.4)</sup>
***
Backport [#​48078](https://github.com/BerriAI/litellm/issues/48078) · Backport [#​48142](https://github.com/BerriAI/litellm/issues/48142) · [Full changelog](https://github.com/BerriAI/litellm/compare/v1.106.2...v1.106.3)
### [`v1.106.2`](https://github.com/BerriAI/litellm/releases/tag/v1.106.2)
[Compare Source](https://github.com/BerriAI/litellm/compare/v1.106.1...v1.106.2)
#### Verify Docker Image Signature
All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit `0112e53`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0).
**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:
```bash
cosign verify \
--key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \
ghcr.io/berriai/litellm:v1.106.2
```
**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:
```bash
cosign verify \
--key https://raw.githubusercontent.com/BerriAI/litellm/v1.106.2/cosign.pub \
ghcr.io/berriai/litellm:v1.106.2
```
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
- fix(count_tokens): backport Bedrock Mantle 404 fallback to stable/1.106.x by [@​mateo-berri](https://github.com/mateo-berri) in [#​47742](https://github.com/BerriAI/litellm/pull/47742)
- fix(batches)!: backport P0 batch-cost, pricing and translation fixes to stable/1.106.x for v1.106.2 by [@​mrinal-berri](https://github.com/mrinal-berri) in [#​47736](https://github.com/BerriAI/litellm/pull/47736)
- fix(proxy): backport LIT-145 spend and cost fixes to stable/1.106.x for v1.106.2 by [@​kerry-berri](https://github.com/kerry-berri) in [#​47695](https://github.com/BerriAI/litellm/pull/47695)
**Full Changelog**: <https://github.com/BerriAI/litellm/compare/v1.106.1...v1.106.2>
### [`v1.106.1`](https://github.com/BerriAI/litellm/releases/tag/v1.106.1)
[Compare Source](https://github.com/BerriAI/litellm/compare/v1.106.0...v1.106.1)
#### Verify this release
```bash
cosign verify \
--key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \
ghcr.io/berriai/litellm:v1.106.1
```
Same command for `litellm-database`, `litellm-non_root` and the `docker.io/litellm/*` images
#### What's new in 1.106.1
9 PRs. 6 fixed. 1 needs action
##### Action required
- **Vector stores:** Run `db_scripts/strip_vector_store_internal_metadata.py` to fix stores created before this release ([#​47021](https://github.com/BerriAI/litellm/issues/47021))
##### Changes
- **Anthropic:** Fixed signed thinking blocks and `thinking.block_binding` being dropped on multi-turn requests ([#​41362](https://github.com/BerriAI/litellm/issues/41362), [#​46342](https://github.com/BerriAI/litellm/issues/46342)) <sup>Also in [1.105.2](https://github.com/BerriAI/litellm/releases/tag/v1.105.2)</sup>
- **Chat completions:** Fixed tool calls landing on `choices[1]` with gpt-5.4+ models, broken since v1.97.0 ([#​46099](https://github.com/BerriAI/litellm/issues/46099)) <sup>Also in [1.105.2](https://github.com/BerriAI/litellm/releases/tag/v1.105.2)</sup>
- **Batches and files:** Fixed 403 when team keys retrieve, cancel or download their own batches ([#​47067](https://github.com/BerriAI/litellm/issues/47067)) <sup>Also in [1.105.2](https://github.com/BerriAI/litellm/releases/tag/v1.105.2)</sup>
- **Vector stores:** Fixed HTTP 400 on metadata updates caused by keys the proxy added to the store ([#​47021](https://github.com/BerriAI/litellm/issues/47021))
- **Token counting:** Fixed undercounted PDFs, system prompts and tools, and rejected Google `countTokens` requests ([#​47389](https://github.com/BerriAI/litellm/issues/47389), [#​47446](https://github.com/BerriAI/litellm/issues/47446), [#​47454](https://github.com/BerriAI/litellm/issues/47454)) <sup>Also in [1.104.4](https://github.com/BerriAI/litellm/releases/tag/v1.104.4), [1.105.2](https://github.com/BerriAI/litellm/releases/tag/v1.105.2)</sup>
- **MCP:** Fixed `Tool not found` when calling a bare tool name on `/{server}/mcp`, broken since v1.103.0 ([#​46225](https://github.com/BerriAI/litellm/issues/46225))
***
Backport [#​47517](https://github.com/BerriAI/litellm/issues/47517) · [Full changelog](https://github.com/BerriAI/litellm/compare/v1.106.0...v1.106.1)
### [`v1.106.0`](https://github.com/BerriAI/litellm/releases/tag/v1.106.0)
[Compare Source](https://github.com/BerriAI/litellm/compare/v1.105.5...v1.106.0)
#### Verify Docker Image Signature
All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit `0112e53`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0).
**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:
```bash
cosign verify \
--key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \
ghcr.io/berriai/litellm:v1.106.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:
```bash
cosign verify \
--key https://raw.githubusercontent.com/BerriAI/litellm/v1.106.0/cosign.pub \
ghcr.io/berriai/litellm:v1.106.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
- test(mcp): fire MCP client test deadlines on conditions instead of wall-clock time by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44166](https://github.com/BerriAI/litellm/pull/44166)
- fix(cost-map): add OpenAI TTS and GPT-5.x deprecation dates by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44175](https://github.com/BerriAI/litellm/pull/44175)
- fix(tracing): unify ClickHouse storage configuration by [@​yujonglee-berri](https://github.com/yujonglee-berri) in [#​43941](https://github.com/BerriAI/litellm/pull/43941)
- feat(docker): one-command quickstart that starts the gateway, Postgres, and the admin UI by [@​misbahsy](https://github.com/misbahsy) in [#​43673](https://github.com/BerriAI/litellm/pull/43673)
- fix(lens): simplify the example investigation preview by [@​moe-berri](https://github.com/moe-berri) in [#​44123](https://github.com/BerriAI/litellm/pull/44123)
- chore(helm): drop migrationJob values the chart never reads by [@​Bernedotcom2312](https://github.com/Bernedotcom2312) in [#​42141](https://github.com/BerriAI/litellm/pull/42141)
- fix(ui): register tencent in the Add Model provider dropdown by [@​jimaldon](https://github.com/jimaldon) in [#​40924](https://github.com/BerriAI/litellm/pull/40924)
- test: remove 130 legacy tests owned by stronger unit proofs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44157](https://github.com/BerriAI/litellm/pull/44157)
- feat(mcp)!: disable stdio MCP servers by default by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44066](https://github.com/BerriAI/litellm/pull/44066)
- fix(proxy): exit when DATABASE_URL is set but the Prisma toolchain is missing by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44207](https://github.com/BerriAI/litellm/pull/44207)
- fix(proxy): preserve lifespan state across all entrypoints by [@​tin-berri](https://github.com/tin-berri) in [#​44214](https://github.com/BerriAI/litellm/pull/44214)
- fix(oci): resolve the GenAI endpoint realm from the compartment OCID instead of hardcoding oraclecloud.com by [@​fede-kamel](https://github.com/fede-kamel) in [#​43180](https://github.com/BerriAI/litellm/pull/43180)
- fix(chatgpt): preserve requested service tier in Responses calls by [@​SteffanWolter](https://github.com/SteffanWolter) in [#​40108](https://github.com/BerriAI/litellm/pull/40108)
- fix(ui): leave unset callback select params out of the save payload by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44213](https://github.com/BerriAI/litellm/pull/44213)
- fix(proxy-extras): hand libpq a root cert, not Prisma's sslcert, when the migration job builds indexes by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44203](https://github.com/BerriAI/litellm/pull/44203)
- feat: add Laya gateway and OSS classifier providers by [@​tin-berri](https://github.com/tin-berri) in [#​43626](https://github.com/BerriAI/litellm/pull/43626)
- fix(auto-router): count usage savings by selected UTC request day by [@​tin-berri](https://github.com/tin-berri) in [#​44115](https://github.com/BerriAI/litellm/pull/44115)
- fix(lens): preserve framework agent names and GenAI message content by [@​moe-berri](https://github.com/moe-berri) in [#​44218](https://github.com/BerriAI/litellm/pull/44218)
- feat(jwt): auto_register_map_existing_key maps JWT to the user's existing virtual key by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​42375](https://github.com/BerriAI/litellm/pull/42375)
- feat(ui): select Laya for OSS classification by [@​tin-berri](https://github.com/tin-berri) in [#​43768](https://github.com/BerriAI/litellm/pull/43768)
- fix(otel): tolerate non-dict callback_settings.otel and ignore bare EXCLUDED_SERVICES env by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44086](https://github.com/BerriAI/litellm/pull/44086)
- fix(proxy): carry key, team and project tags into pass-through spend logs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​42662](https://github.com/BerriAI/litellm/pull/42662)
- feat(ui): add System One (Jev) tab to the playground by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44043](https://github.com/BerriAI/litellm/pull/44043)
- chore: bump litellm-proxy-extras 0.4.104 -> 0.4.105 by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44234](https://github.com/BerriAI/litellm/pull/44234)
- chore(prices): add xAI grok-voice-transcribe-1.0 deprecation date by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44237](https://github.com/BerriAI/litellm/pull/44237)
- fix(exa): fall back to highlights/summary when text is missing by [@​wakqasahmed](https://github.com/wakqasahmed) in [#​42213](https://github.com/BerriAI/litellm/pull/42213)
- fix(scim): apply path-less group PATCH ops instead of storing them under an empty metadata key by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43978](https://github.com/BerriAI/litellm/pull/43978)
- fix(lens): run investigations with configured wildcard models by [@​moe-berri](https://github.com/moe-berri) in [#​44233](https://github.com/BerriAI/litellm/pull/44233)
- fix(ui): shrink the sidebar logo so it stops outweighing page titles by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44247](https://github.com/BerriAI/litellm/pull/44247)
- feat(tracing): support claude agent sdk traces with agent name, logo and chat content by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44248](https://github.com/BerriAI/litellm/pull/44248)
- fix(ui): make model leaderboard chart bars wide and readable by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44249](https://github.com/BerriAI/litellm/pull/44249)
- test: repair stale and polluting tests red on scheduled main CI by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44229](https://github.com/BerriAI/litellm/pull/44229)
- feat(traces): type queries and align read access with log visibility by [@​yujonglee-berri](https://github.com/yujonglee-berri) in [#​44228](https://github.com/BerriAI/litellm/pull/44228)
- chore(ui): untrack tsconfig.tsbuildinfo and gitignore \*.tsbuildinfo by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44261](https://github.com/BerriAI/litellm/pull/44261)
- refactor(mcp): extract upstream preparation and support modern clients by [@​joshua-berri](https://github.com/joshua-berri) in [#​44232](https://github.com/BerriAI/litellm/pull/44232)
- fix(lens): default to traces and reopen span details by [@​moe-berri](https://github.com/moe-berri) in [#​44260](https://github.com/BerriAI/litellm/pull/44260)
- fix(bedrock): surface unrecognized converse-stream event frames instead of an empty turn by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44112](https://github.com/BerriAI/litellm/pull/44112)
- perf(proxy): batch daily model usage writes instead of upserting per request by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44243](https://github.com/BerriAI/litellm/pull/44243)
- test(integration): opt the config pass-through spend-log case into auth by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44265](https://github.com/BerriAI/litellm/pull/44265)
- test: fix three order-dependent and timing-flaky tests by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44271](https://github.com/BerriAI/litellm/pull/44271)
- fix(ui): make the Lens traces refresh button always clickable by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44252](https://github.com/BerriAI/litellm/pull/44252)
- feat(lens): add sample previews and improve setup and worker feedback by [@​moe-berri](https://github.com/moe-berri) in [#​44268](https://github.com/BerriAI/litellm/pull/44268)
- chore(openrouter): sync prices, limits and deprecation dates from the models API by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44287](https://github.com/BerriAI/litellm/pull/44287)
- refactor(traces): type the ClickHouse query help response by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44285](https://github.com/BerriAI/litellm/pull/44285)
- fix(proxy): stop queued registry read-throughs spending the resync budget by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44277](https://github.com/BerriAI/litellm/pull/44277)
- feat(lens): show investigation progress as one staged bar with time left by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44301](https://github.com/BerriAI/litellm/pull/44301)
- refactor(ui): compose dashboard pages with shared layouts by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44306](https://github.com/BerriAI/litellm/pull/44306)
- fix(proxy): share ownership permissions for spend logs and traces by [@​yujonglee-berri](https://github.com/yujonglee-berri) in [#​44239](https://github.com/BerriAI/litellm/pull/44239)
- fix(proxy-extras): retry P3009 when a peer already recovered the named migration row by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44283](https://github.com/BerriAI/litellm/pull/44283)
- fix(bedrock): price amazon nova 2 pro preview at the standard tier by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44302](https://github.com/BerriAI/litellm/pull/44302)
- feat: add Bespoke Nimble gateway and OSS classifier support by [@​tin-berri](https://github.com/tin-berri) in [#​44246](https://github.com/BerriAI/litellm/pull/44246)
- fix(anthropic): stop repeating streamed thinking text in the signature chunk by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44127](https://github.com/BerriAI/litellm/pull/44127)
- fix(responses): drop bridge-minted reasoning items from OpenAI replays by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44132](https://github.com/BerriAI/litellm/pull/44132)
- feat(bedrock): drop lookaround regex patterns from tool schemas for Converse models that reject them by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44138](https://github.com/BerriAI/litellm/pull/44138)
- feat(bedrock): serve gpt-5.6+ chat completions natively by default, with chat_completions/ opt-in for gpt-oss and grok by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44307](https://github.com/BerriAI/litellm/pull/44307)
- feat(lens): issue briefs with problem, user goal, outcome and test cases by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44311](https://github.com/BerriAI/litellm/pull/44311)
- fix(responses): keep gpt-5.4/5.5 tool calls on chat and merge bridged tool calls into one choice by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44295](https://github.com/BerriAI/litellm/pull/44295)
- fix(cost): price rule-only model names at the deployment's rate by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44144](https://github.com/BerriAI/litellm/pull/44144)
- fix(auto-router): attribute router-day savings without spend logs or a session by [@​tin-berri](https://github.com/tin-berri) in [#​44226](https://github.com/BerriAI/litellm/pull/44226)
- test(integration): let run.py select cells by pytest node id by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44319](https://github.com/BerriAI/litellm/pull/44319)
- fix(bedrock): honor unsupported reasoning effort levels for OpenAI GPT models by [@​Aasif-Multani](https://github.com/Aasif-Multani) in [#​44183](https://github.com/BerriAI/litellm/pull/44183)
- feat(lens): add preset watch-for checks to investigation setup by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44313](https://github.com/BerriAI/litellm/pull/44313)
- fix(proxy): use OpenAI workload identity federation tokens on /openai_passthrough by [@​6matt](https://github.com/6matt) in [#​44140](https://github.com/BerriAI/litellm/pull/44140)
- feat(interactions): durable cross-pod settlement for background interaction billing by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​41955](https://github.com/BerriAI/litellm/pull/41955)
- fix(streaming): keep the finish_reason of the provider's last content chunk in the logged response by [@​joeym82956](https://github.com/joeym82956) in [#​44318](https://github.com/BerriAI/litellm/pull/44318)
- fix(bedrock): send the anthropic-workspace-id header to Bedrock Mantle by [@​kohjunhao](https://github.com/kohjunhao) in [#​44173](https://github.com/BerriAI/litellm/pull/44173)
- fix(guardrails): run unified guardrails on /v1/images/edits by [@​michelligabriele](https://github.com/michelligabriele) in [#​44195](https://github.com/BerriAI/litellm/pull/44195)
- feat(scaleway): add rerank support by [@​ankit373](https://github.com/ankit373) in [#​44160](https://github.com/BerriAI/litellm/pull/44160)
- fix(vector_stores): return managed file ids from vector store file list by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43800](https://github.com/BerriAI/litellm/pull/43800)
- fix(proxy): return 4xx instead of 500 for missing required params, invalid pagination and unknown ids by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43787](https://github.com/BerriAI/litellm/pull/43787)
- fix(guardrails): encrypt guardrail litellm_params secrets at rest by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​43627](https://github.com/BerriAI/litellm/pull/43627)
- fix(search_tools): encrypt search tool litellm_params at rest by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​43631](https://github.com/BerriAI/litellm/pull/43631)
- feat(roi): add GitLab sources and branch cost attribution by [@​moe-berri](https://github.com/moe-berri) in [#​44324](https://github.com/BerriAI/litellm/pull/44324)
- fix(model-prices): mark azure us/eu responses-only models as mode responses by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44323](https://github.com/BerriAI/litellm/pull/44323)
- revert(cost): revert "fix(cost): price rule-only model names at the deployment's rate" ([#​44144](https://github.com/BerriAI/litellm/issues/44144)) by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44335](https://github.com/BerriAI/litellm/pull/44335)
- fix(proxy): stamp the client alias on a copy of each streamed chunk so pricing sees the deployment model by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44341](https://github.com/BerriAI/litellm/pull/44341)
- revert(responses): revert "fix(responses): keep gpt-5.4/5.5 tool calls on chat and merge bridged tool calls into one choice" ([#​44295](https://github.com/BerriAI/litellm/issues/44295)) by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44344](https://github.com/BerriAI/litellm/pull/44344)
- refactor(dashboard): migrate to zod 4 and openai 6 by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44345](https://github.com/BerriAI/litellm/pull/44345)
- feat(ui): move LiteAdmin into the header with a docked side panel by [@​tin-berri](https://github.com/tin-berri) in [#​44293](https://github.com/BerriAI/litellm/pull/44293)
- fix(responses): merge bridged tool calls into the same choice as the text by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44346](https://github.com/BerriAI/litellm/pull/44346)
- feat(ui): improve trace inspection and ROI estimation by [@​moe-berri](https://github.com/moe-berri) in [#​44351](https://github.com/BerriAI/litellm/pull/44351)
- refactor(ui): reorganize Lens dashboard components by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44354](https://github.com/BerriAI/litellm/pull/44354)
- refactor(ui): inject Lens backends as services instead of a fake HTTP client by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44369](https://github.com/BerriAI/litellm/pull/44369)
- refactor: clean up fresh tech debt from 2026-10-02 by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44362](https://github.com/BerriAI/litellm/pull/44362)
- feat(traces): tracing development seed by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44363](https://github.com/BerriAI/litellm/pull/44363)
- refactor(types): replace Any with proven types in 4 files by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44370](https://github.com/BerriAI/litellm/pull/44370)
- build(deps): suppress unfixed braces GHSA-vfj7-8cjw-p6xm to clear osv-scan by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44347](https://github.com/BerriAI/litellm/pull/44347)
- fix(azure): add MAI-Image max_input_tokens from models sold directly page by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44375](https://github.com/BerriAI/litellm/pull/44375)
- fix(proxy): emit postgres service spans only on real DB reads in auth cache helpers by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44148](https://github.com/BerriAI/litellm/pull/44148)
- fix(otel): nest cache spans under their operation and name service spans by purpose by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44150](https://github.com/BerriAI/litellm/pull/44150)
- fix(otel): name postgres service spans by operation and table by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44240](https://github.com/BerriAI/litellm/pull/44240)
- perf(proxy): stop prompt-cache eligibility from tokenizing the whole conversation by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44221](https://github.com/BerriAI/litellm/pull/44221)
- fix(proxy): keep the database error when the log_db_metrics failure hook raises by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44383](https://github.com/BerriAI/litellm/pull/44383)
- feat(azure): add azure_ai/kimi-k2-thinking from Azure Kimi pricing page by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44382](https://github.com/BerriAI/litellm/pull/44382)
- feat(harness): add Harness.TOOL_LOOP, a minimal in-process tool-calling loop by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44391](https://github.com/BerriAI/litellm/pull/44391)
- feat(decisions): add unified /v1/decisions endpoint for Jev-compatible providers by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44236](https://github.com/BerriAI/litellm/pull/44236)
- fix(lens): paginate trace reads within ClickHouse limits by [@​moe-berri](https://github.com/moe-berri) in [#​44384](https://github.com/BerriAI/litellm/pull/44384)
- feat(lens): live dot field timeline and full-screen traces view by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44390](https://github.com/BerriAI/litellm/pull/44390)
- feat(ui): make LiteAdmin enterprise-only by [@​tin-berri](https://github.com/tin-berri) in [#​44399](https://github.com/BerriAI/litellm/pull/44399)
- fix(bedrock): stop emitting Converse cachePoint blocks for Kimi K3 by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44292](https://github.com/BerriAI/litellm/pull/44292)
- test(cost): pin OpenAI reported web search count with mixed actions by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44414](https://github.com/BerriAI/litellm/pull/44414)
- fix(ci): give the pass-through auth regression test a real FastAPI app by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44403](https://github.com/BerriAI/litellm/pull/44403)
- fix(azure): add azure_ai/flux.2-pro input token limit from the models sold directly page by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44405](https://github.com/BerriAI/litellm/pull/44405)
- fix(lens): batch run reads and reset trace pagination by [@​moe-berri](https://github.com/moe-berri) in [#​44398](https://github.com/BerriAI/litellm/pull/44398)
- fix(lens): preserve full trace access and expose investigation failures by [@​moe-berri](https://github.com/moe-berri) in [#​44406](https://github.com/BerriAI/litellm/pull/44406)
- feat: add make lens-dev for one-command lens local dev by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44413](https://github.com/BerriAI/litellm/pull/44413)
- fix(bedrock): honor the per-request timeout on Converse and Invoke streaming (internal copy of [#​38210](https://github.com/BerriAI/litellm/issues/38210)) by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44134](https://github.com/BerriAI/litellm/pull/44134)
- feat(traces): render curated SQL examples from shared files by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44388](https://github.com/BerriAI/litellm/pull/44388)
- fix(model_prices): registry audit 2026-10-03, add cohere embed v5, grok-imagine-video-1.5-lite and openrouter gpt-image rows by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44376](https://github.com/BerriAI/litellm/pull/44376)
- refactor(traces): extract snapshot cache by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44424](https://github.com/BerriAI/litellm/pull/44424)
- feat(lens): always-on investigations with findings and investigations tables by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44418](https://github.com/BerriAI/litellm/pull/44418)
- feat(docker): add a Windows quickstart in PowerShell, and a styled terminal for both quickstarts by [@​misbahsy](https://github.com/misbahsy) in [#​44310](https://github.com/BerriAI/litellm/pull/44310)
- feat(proxy): serve a Codex-native model catalog with per-model service_tiers from /v1/models by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44136](https://github.com/BerriAI/litellm/pull/44136)
- refactor(types): replace Any with proven types in 9 files by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44389](https://github.com/BerriAI/litellm/pull/44389)
- fix(proxy): treat Postgres connection exhaustion as DB unavailable, not poison spend-log rows by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44270](https://github.com/BerriAI/litellm/pull/44270)
- fix(proxy): treat Postgres connection exhaustion as backpressure, not poison rows by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44266](https://github.com/BerriAI/litellm/pull/44266)
- fix(lens): release budget reservations when the analysis model call fails by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44431](https://github.com/BerriAI/litellm/pull/44431)
- fix(mcp): preserve upstream tool schemas and parameter headers by [@​joshua-berri](https://github.com/joshua-berri) in [#​44425](https://github.com/BerriAI/litellm/pull/44425)
- fix(bedrock_mantle): route Claude chat completions to the native Messages endpoint by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43646](https://github.com/BerriAI/litellm/pull/43646)
- fix(tracing): preserve spend identity and gateway correlation by [@​yujonglee-berri](https://github.com/yujonglee-berri) in [#​44421](https://github.com/BerriAI/litellm/pull/44421)
- feat(roi): measure shipping velocity, quality, and recorded spend by [@​moe-berri](https://github.com/moe-berri) in [#​44426](https://github.com/BerriAI/litellm/pull/44426)
- fix(azure): set text-embedding max input to 8192 from the models sold directly page by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44449](https://github.com/BerriAI/litellm/pull/44449)
- feat(ui): show invitation and reset password links in a copyable field by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​44454](https://github.com/BerriAI/litellm/pull/44454)
- feat(lens): coordinate worker releases and bundled installs by [@​moe-berri](https://github.com/moe-berri) in [#​44428](https://github.com/BerriAI/litellm/pull/44428)
- fix(auth): resolve hidden model_group_alias entries in the zero-cost budget check by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43741](https://github.com/BerriAI/litellm/pull/43741)
- fix(vertex_ai): forward system and tools to partner model count_tokens by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43900](https://github.com/BerriAI/litellm/pull/43900)
- fix(traces): reject conflicting spend aliases and unrelated HTTP siblings by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44456](https://github.com/BerriAI/litellm/pull/44456)
- chore(cost-map): add azure_ai/kimi-k2-thinking retirement date from the Azure retired models page by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44455](https://github.com/BerriAI/litellm/pull/44455)
- fix(health): probe Bedrock Mantle Claude deployments over the Anthropic Messages API by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44419](https://github.com/BerriAI/litellm/pull/44419)
- fix(tests): match the OS bind error in the owned-proxy port-race retry by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44462](https://github.com/BerriAI/litellm/pull/44462)
- feat(anthropic): workload identity federation and pluggable identity sources by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44448](https://github.com/BerriAI/litellm/pull/44448)
- test(integration): exact four-part translation cases on a shared fake provider and shared YAML deployment by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44451](https://github.com/BerriAI/litellm/pull/44451)
- feat(roi): default people and branch lists to matched accounts by [@​moe-berri](https://github.com/moe-berri) in [#​44465](https://github.com/BerriAI/litellm/pull/44465)
- feat(enterprise): bundle LiteAdmin Slack with native gateway login by [@​tin-berri](https://github.com/tin-berri) in [#​44444](https://github.com/BerriAI/litellm/pull/44444)
- fix(caching): count tool_call cache_control marks in the injection census by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43556](https://github.com/BerriAI/litellm/pull/43556)
- chore(cost-map): sync openrouter prices from the models API by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44466](https://github.com/BerriAI/litellm/pull/44466)
- fix(lens): preserve approved worker digests and harden its image by [@​moe-berri](https://github.com/moe-berri) in [#​44467](https://github.com/BerriAI/litellm/pull/44467)
- feat: improve Lens dev seeding and live UI by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44468](https://github.com/BerriAI/litellm/pull/44468)
- test(ui): wait for step search value to settle in TraceDrawer test by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44470](https://github.com/BerriAI/litellm/pull/44470)
- feat(ui): share trace drawer as a closable SidePanel and polish Lens by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44473](https://github.com/BerriAI/litellm/pull/44473)
- fix(lens): align source setup with available worker images by [@​moe-berri](https://github.com/moe-berri) in [#​44476](https://github.com/BerriAI/litellm/pull/44476)
- feat(sdk): add run_tool_loop and arun_tool_loop helpers by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44381](https://github.com/BerriAI/litellm/pull/44381)
- feat(lens): guide setup through the first investigation by [@​moe-berri](https://github.com/moe-berri) in [#​44475](https://github.com/BerriAI/litellm/pull/44475)
- test(ci): fix six CircleCI test regressions on main by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44429](https://github.com/BerriAI/litellm/pull/44429)
- fix(proxy-extras): log v1 migration failures at ERROR so LITELLM_LOG=ERROR shows them by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44202](https://github.com/BerriAI/litellm/pull/44202)
- feat(ui): inline Lens settings tab and investigation editor by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44479](https://github.com/BerriAI/litellm/pull/44479)
- feat(mcp): hand listed-tool description and input schema to pre-call hooks per caller by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​41162](https://github.com/BerriAI/litellm/pull/41162)
- refactor: clean up fresh tech debt from 2026-10-03 by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44484](https://github.com/BerriAI/litellm/pull/44484)
- fix(otel): read the registered v2 logger without importing the proxy by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44485](https://github.com/BerriAI/litellm/pull/44485)
- test(mcp): keep the SSO assertion round trip from matching its refresh token inside random ciphertext by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44494](https://github.com/BerriAI/litellm/pull/44494)
- test(ci): pin the ROI estimator flag and the prompt-cache counter in two drifted tests by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44499](https://github.com/BerriAI/litellm/pull/44499)
- refactor(ui): move TraceView into components/lens/traces by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44501](https://github.com/BerriAI/litellm/pull/44501)
- refactor(ui): rename view_logs to logs and split request, audit and detail by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44505](https://github.com/BerriAI/litellm/pull/44505)
- refactor(ui): share CopyButton between Lens traces and logs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44513](https://github.com/BerriAI/litellm/pull/44513)
- refactor(lens): storage-independent trace reads, shared keyset pager, typed read failures by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44422](https://github.com/BerriAI/litellm/pull/44422)
- fix(ci): send the Lens preview body as selection in the tracing endpoint tests by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44525](https://github.com/BerriAI/litellm/pull/44525)
- fix(azure): set gpt-realtime-2.1 retirement dates from the retirement schedule by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44526](https://github.com/BerriAI/litellm/pull/44526)
- fix(ci): repair the security sweep and Lens billing integration tests for ROI, JWKS, and release identity changes by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44529](https://github.com/BerriAI/litellm/pull/44529)
- fix(dashboard): route dev API calls on Accept and fail fast on non-JSON 2xx by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44528](https://github.com/BerriAI/litellm/pull/44528)
- chore(cost-map): sync openrouter prices from the models API by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44533](https://github.com/BerriAI/litellm/pull/44533)
- refactor(ui): route dashboard URL state through nuqs parsers by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44537](https://github.com/BerriAI/litellm/pull/44537)
- fix(logging): deduplicate streaming failure callbacks by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44442](https://github.com/BerriAI/litellm/pull/44442)
- feat(proxy): add LITELLM_FIPS_MODE startup gate with provider assertion and loud password migration failure by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​42700](https://github.com/BerriAI/litellm/pull/42700)
- fix(guardrails): run the end-of-stream post_call scan when the client disconnects mid-stream by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43839](https://github.com/BerriAI/litellm/pull/43839)
- refactor(mcp): fix Sequence/list return mismatch and collapse record_listed_tools wrapper by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44556](https://github.com/BerriAI/litellm/pull/44556)
- chore(cost-map): add azure retirement dates for gpt-4o-realtime-preview-2024-10-01 and jamba-instruct by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44567](https://github.com/BerriAI/litellm/pull/44567)
- feat(ui): add persistent columns and loading skeletons to Lens runs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44579](https://github.com/BerriAI/litellm/pull/44579)
- fix(ui): remove Top models by task card from Model Leaderboard by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44502](https://github.com/BerriAI/litellm/pull/44502)
- refactor(rust): track ClickHouse migrations in a checksummed ledger by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44580](https://github.com/BerriAI/litellm/pull/44580)
- refactor(ui): extract shared timeline and time-range controls by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44584](https://github.com/BerriAI/litellm/pull/44584)
- fix(azure): set gpt-4o-transcribe retirement date from the retirement schedule by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44585](https://github.com/BerriAI/litellm/pull/44585)
- ci: move Postgres, MCP and Redis suites to CircleCI integration by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44453](https://github.com/BerriAI/litellm/pull/44453)
- chore!: retire the integrated ROI calculator by [@​moe-berri](https://github.com/moe-berri) in [#​44477](https://github.com/BerriAI/litellm/pull/44477)
- fix(caching): key response cache by router model group in litellm_metadata by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44542](https://github.com/BerriAI/litellm/pull/44542)
- fix(auto-router): align preview and serving default resolution by [@​moyai-berriai](https://github.com/moyai-berriai)\[bot] in [#​44436](https://github.com/BerriAI/litellm/pull/44436)
- fix(mcp): bind OAuth clients to their upstream issuer by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​37777](https://github.com/BerriAI/litellm/pull/37777)
- feat(guardrails): add llm shield pii redaction and rehydration guardrail by [@​ninadphalak](https://github.com/ninadphalak) in [#​42645](https://github.com/BerriAI/litellm/pull/42645)
- refactor(tracing): generate existing HTTP request models from Rust schemas by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44591](https://github.com/BerriAI/litellm/pull/44591)
- ci: run unit selections from GHA test-path and drop the CircleCI unit jobs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44461](https://github.com/BerriAI/litellm/pull/44461)
- fix(ui): make mobile sidebar and top bar responsive by [@​moe-berri](https://github.com/moe-berri) in [#​44603](https://github.com/BerriAI/litellm/pull/44603)
- refactor(types): replace Any with proven types in 137 files by [@​mateo-berri](https://github.com/mateo-berri) in [#​44478](https://github.com/BerriAI/litellm/pull/44478)
- fix(ui): restore inline Lens onboarding and responsive layout by [@​moe-berri](https://github.com/moe-berri) in [#​44604](https://github.com/BerriAI/litellm/pull/44604)
- test(integration): anthropic-route basic translation cases for six Claude models on messages, chat completions and responses by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44607](https://github.com/BerriAI/litellm/pull/44607)
- fix(responses): report truncated bridged output as incomplete and echo request params by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44460](https://github.com/BerriAI/litellm/pull/44460)
- fix(proxy): enforce internal-user model creation prohibition by [@​moyai-berriai](https://github.com/moyai-berriai)\[bot] in [#​44438](https://github.com/BerriAI/litellm/pull/44438)
- chore(harness): drop the unused Any import left in harness options by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44625](https://github.com/BerriAI/litellm/pull/44625)
- fix(harness): drop the unused Any import that fails ruff on main by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44627](https://github.com/BerriAI/litellm/pull/44627)
- refactor(proxy): rename management/teams/access.py to authz.py by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​44624](https://github.com/BerriAI/litellm/pull/44624)
- feat(tracing)!: return only data from SQL queries by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44609](https://github.com/BerriAI/litellm/pull/44609)
- fix(openai/realtime): drop model from upstream URL for intent=transcription by [@​michelligabriele](https://github.com/michelligabriele) in [#​43854](https://github.com/BerriAI/litellm/pull/43854)
- fix(gemini): add priority tier audio input price to three Gemini rows by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44632](https://github.com/BerriAI/litellm/pull/44632)
- fix(cost): bill per-second transcription models outside chat modes by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44458](https://github.com/BerriAI/litellm/pull/44458)
- fix(ui): explain why team member reset spend is unavailable instead of hiding it by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44629](https://github.com/BerriAI/litellm/pull/44629)
- test(integration): bedrock_converse-route basic translation cases for six Claude models on messages, chat completions and responses by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44646](https://github.com/BerriAI/litellm/pull/44646)
- test(integration): run the anthropic /v1/responses basic translation cases now that the bridge echoes request params by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44615](https://github.com/BerriAI/litellm/pull/44615)
- feat(lens): restore compact navigation with live investigation review by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44472](https://github.com/BerriAI/litellm/pull/44472)
- feat(proxy): limit which models an end user can call by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43904](https://github.com/BerriAI/litellm/pull/43904)
- fix(sso): let CLI and Claude Code gateway sign-in through on DISABLE_ADMIN_UI nodes by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44620](https://github.com/BerriAI/litellm/pull/44620)
- feat(ui): declare shared search operators and flush queries on blur by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44665](https://github.com/BerriAI/litellm/pull/44665)
- fix(lens): make tool steps and conversations readable by [@​moe-berri](https://github.com/moe-berri) in [#​44645](https://github.com/BerriAI/litellm/pull/44645)
- fix(ui): send null instead of $0 when a team's member default budget is cleared by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​44644](https://github.com/BerriAI/litellm/pull/44644)
- test(integration): azure_ai-route basic translation cases for six Claude models on messages, chat completions and responses by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44658](https://github.com/BerriAI/litellm/pull/44658)
- test(integration): basic translation cases for the openai_responses route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44663](https://github.com/BerriAI/litellm/pull/44663)
- feat(lens): analyze trace workspaces with confined Python and compaction by [@​moe-berri](https://github.com/moe-berri) in [#​44640](https://github.com/BerriAI/litellm/pull/44640)
- fix(vertex-ai): add deprecation_date to gemini-3.1-flash-lite-image by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44639](https://github.com/BerriAI/litellm/pull/44639)
- fix(bedrock): add priority and flex prices for Grok 4.3, 4.6, 4.7 and Kimi K3 by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44670](https://github.com/BerriAI/litellm/pull/44670)
- test(integration): pin the Claude-tokenizer recount for streamed claude-sonnet-5 no-usage cases by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44643](https://github.com/BerriAI/litellm/pull/44643)
- feat(proxy): embed enterprise LiteAdmin MCP in LiteLLM images by [@​tin-berri](https://github.com/tin-berri) in [#​44610](https://github.com/BerriAI/litellm/pull/44610)
- test(integration): basic translation cases for the azure route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44672](https://github.com/BerriAI/litellm/pull/44672)
- test(integration): assert the Messages API health probe on Mantle Claude by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44612](https://github.com/BerriAI/litellm/pull/44612)
- refactor(rust): rename litellm-framing crate to litellm-framer by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44683](https://github.com/BerriAI/litellm/pull/44683)
- test(integration): basic translation cases for the gemini route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44662](https://github.com/BerriAI/litellm/pull/44662)
- test(integration): basic translation cases for the openai route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44667](https://github.com/BerriAI/litellm/pull/44667)
- refactor(rust): derive string enum serde through strum and serde_with by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44675](https://github.com/BerriAI/litellm/pull/44675)
- fix(spend-tracking): stop caching failed spend-log metadata lookups as confirmed misses by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43560](https://github.com/BerriAI/litellm/pull/43560)
- fix(proxy): let a listed team alias win over a same-named key alias in the customer model check by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44677](https://github.com/BerriAI/litellm/pull/44677)
- chore: move PR template to PULL_REQUEST_TEMPLATE/general.md, add rust.md by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44693](https://github.com/BerriAI/litellm/pull/44693)
- fix(router): retry a /v1/messages stream the provider drops before the first content chunk by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44276](https://github.com/BerriAI/litellm/pull/44276)
- fix(lens): persist final coverage with source diagnostics by [@​moe-berri](https://github.com/moe-berri) in [#​44682](https://github.com/BerriAI/litellm/pull/44682)
- test(integration): point the scratch upgraded proxy's read replica at the scratch database by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44613](https://github.com/BerriAI/litellm/pull/44613)
- fix(lens): show investigation findings for agent traces by [@​moe-berri](https://github.com/moe-berri) in [#​44696](https://github.com/BerriAI/litellm/pull/44696)
- fix(build): rebuild the Rust bridge when uv sync sees Rust sources change by [@​nate-berri](https://github.com/nate-berri) in [#​44708](https://github.com/BerriAI/litellm/pull/44708)
- fix(lens): preserve span timestamps in investigation evidence by [@​moe-berri](https://github.com/moe-berri) in [#​44702](https://github.com/BerriAI/litellm/pull/44702)
- ci: split slow unit shards and build the Rust bridge once per run by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44622](https://github.com/BerriAI/litellm/pull/44622)
- test(rust_bridge): expect PartRow start_time and end_time as required LENS_CONTENT fields by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44719](https://github.com/BerriAI/litellm/pull/44719)
- chore(deps): bump langgraph-sdk from 0.4.2 to 0.4.4 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​44713](https://github.com/BerriAI/litellm/pull/44713)
- feat: add Reka as an OpenAI-compatible provider by [@​anniejeng](https://github.com/anniejeng) in [#​44278](https://github.com/BerriAI/litellm/pull/44278)
- feat(ui): support native decisions endpoint in decision playground by [@​moyai-berriai](https://github.com/moyai-berriai)\[bot] in [#​44664](https://github.com/BerriAI/litellm/pull/44664)
- fix(lens): reconstruct native coding agent conversations by [@​moe-berri](https://github.com/moe-berri) in [#​44711](https://github.com/BerriAI/litellm/pull/44711)
- fix(responses): honor request cache controls on chat completions bridged to the Responses API by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44676](https://github.com/BerriAI/litellm/pull/44676)
- fix(deps): bump source-map-js, smol-toml, mako, multidict and werkzeug for OSV advisories by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44728](https://github.com/BerriAI/litellm/pull/44728)
- test(integration): rename translation runner run to assert_translation by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44741](https://github.com/BerriAI/litellm/pull/44741)
- feat(lens): show investigation names in findings table by [@​moe-berri](https://github.com/moe-berri) in [#​44753](https://github.com/BerriAI/litellm/pull/44753)
- feat(ui): configure cache-aware auto routing by [@​tin-berri](https://github.com/tin-berri) in [#​43396](https://github.com/BerriAI/litellm/pull/43396)
- fix(lens): bound result recovery and preserve partial results by [@​moe-berri](https://github.com/moe-berri) in [#​44692](https://github.com/BerriAI/litellm/pull/44692)
- feat(prometheus): cap series per metric for every labeled metric by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44420](https://github.com/BerriAI/litellm/pull/44420)
- feat(lens): type to filter the traces agent dropdown by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44745](https://github.com/BerriAI/litellm/pull/44745)
- test(lens): use current worker protocol in billing integration by [@​moe-berri](https://github.com/moe-berri) in [#​44760](https://github.com/BerriAI/litellm/pull/44760)
- feat(model_prices): add chatgpt subscription rows for the gpt-6 family by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44758](https://github.com/BerriAI/litellm/pull/44758)
- test(e2e): assert the sibling-replica cooldown through the router by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44706](https://github.com/BerriAI/litellm/pull/44706)
- test(integration): basic translation cases for the bedrock_invoke route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44752](https://github.com/BerriAI/litellm/pull/44752)
- fix(gemini): stop replaying thinking block signatures to Gemini by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44661](https://github.com/BerriAI/litellm/pull/44661)
- fix(ci): namespace claude session ids in tracing seeds and allowlist /v1/logs on backend by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44761](https://github.com/BerriAI/litellm/pull/44761)
- fix(proxy): judge the free-model budget waiver by the group an alias routes to by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44638](https://github.com/BerriAI/litellm/pull/44638)
- test(integration): basic translation cases for the vertex_ai route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44751](https://github.com/BerriAI/litellm/pull/44751)
- fix(vertex_ai): apply regional endpoint uplift on image generation cost path by [@​nate-berri](https://github.com/nate-berri) in [#​44679](https://github.com/BerriAI/litellm/pull/44679)
- refactor(tests): extract Rust cache test split from [#​44714](https://github.com/BerriAI/litellm/issues/44714) by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44780](https://github.com/BerriAI/litellm/pull/44780)
- feat(proxy): cap batch file records, daily batch uploads, and per-file downloads by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​43632](https://github.com/BerriAI/litellm/pull/43632)
- feat(lens): add copy link button to trace header by [@​ishaan-berri](https://github.com/ishaan-berri) in [#​44749](https://github.com/BerriAI/litellm/pull/44749)
- test(integration): keep scripted upstream connections open past the proxy's keepalive by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44695](https://github.com/BerriAI/litellm/pull/44695)
- test(integration): basic translation cases for the bedrock_mantle route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​44750](https://github.com/BerriAI/litellm/pull/44750)
- fix(chatgpt,github_copilot): refuse device-code login inside an event loop or worker thread by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​39585](https://github.com/BerriAI/litellm/pull/39585)
- feat(bedrock): add glm 5.3 cross-region rows and nova 2.5 sonic by [@​berriai-litellm-provider-info-sync](https://github.com/berriai-litellm-provider-info-sync)\[bot] in [#​44710](https://github.com/BerriAI/litellm/pull/44710)
- fix(responses): honor caller stream flag when provider forces SSE (internal copy of [#​34095](https://github.com/BerriAI/litellm/issues/34095)) by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​41235](https://github.com/BerriAI/litellm/pull/41235)
- refactor(cache): remove dead Cache.\_native_cache run…
TLDR
Problem this solves:
postgres get_datadb.operation.namerepeats the function namePrismaClient.insert_data,update_data,delete_dataemit no span_PROXY_track_cost_callbackemits abatch_write_to_dbspan for an in-memory enqueue that does no I/Oprisma_client.db.query_firstreaders such as the auth object prefetch run with no span at all: prod trace2d1f96ed8a4a9e30afa078ab89cf12eehas a 26 ms hole insideauth /v1/messagesbetween the Redis miss and the Redis write backfind_many,upsert, raw SQL) in management, reporting, sync and setup paths emit no span eitherHow it solves it:
postgres.{verb} {table}, e.g.postgres.select LiteLLM_VerificationTokendb.operation.nameis the verb,db.collection.nameanddb.query.summarythe tablelitellm.service.call_type, Prometheus and Datadog labels unchangedinsert_data,update_data,delete_dataget@log_db_metricsPrismaClientCRUD call site to a tableschema.prismaknowsdb_span, and_TrackedPrismaEngine.queryemits one table-named event for any Prisma call no producer owns, named from the query engine payload (model and action, or the first relation of a raw statement)prisma_client.db.*call site fails when a site would render a half-named Postgres spanStacked on #44150 (base
litellm_otel_cache_span_purpose_naming), which sits on #44148. #44221 rebases onto this branch so the order is #44148 -> #44150 -> this PR -> #44221. Not for merge on its ownFiles changed
litellm/integrations/otel/model/spans.pyPostgresOperationplus thecall_typeto verb and table map, atable_nameto Prisma model map bounded by the model names inschema.prisma, and thepostgres.{verb} {table}branch inservice_span_name; a verb whose table did not resolve keeps the legacypostgres {call_type}so a half-namedpostgres.selectnever ships;LiteLLM_AutoRouterDailySpendjoins the model allowlist, whichtest_every_model_in_the_prisma_schema_is_a_renderable_span_tablenow pins to the models declared inschema.prisma; the Redis branch is untouchedlitellm/integrations/otel/model/semconv.pyDB.COLLECTION_NAMEandDB.QUERY_SUMMARYconstants next to the existing DB semconv nameslitellm/integrations/otel/model/db_endpoint.pydb_span_attributestakes the resolvedPostgresOperationsodb.operation.nameis the verb anddb.collection.nameanddb.query.summarycarry the table when knownlitellm/integrations/otel/mappers/genai.pydb_span_attributes, keeping the raw name onlitellm.service.call_typelitellm/proxy/db/log_db_metrics.py_table_metadata_reader, which inferstable_nameforPrismaClientCRUD calls made withtoken,tokens,user_idorteam_idin the order the methods dispatch on; theBATCH_WRITE_TO_DBbranch that emitted a zero-duration event for_PROXY_*callbacks is gone, so the decorator has one rule: a DB event when and only when the #44148 witness saw Prisma run;db_io_claimedandclaim_db_ioexpose the witness sodb_spanand the engine fallback can tell whether an enclosing producer already owns the event, and a witness closes when its producer returns, so a task spawned inside a producer that reaches Prisma after the producer finished (a context copy of the witness) emits its own event instead of being swallowed; the wrapper's**kwargsand_handle_logging_db_exceptionare typedobjectandMapping[str, object];_is_exception_related_to_dbcounts everyhttpx.TransportError(a dropped query engine connection included) and not onlyConnectErrorand timeouts, so an attempt the tool spend writer treats as uncertain still emits its failure event; the witness mechanism itself is untouchedlitellm/proxy/db/db_span.pydb_spanasync context manager (anddb_spannedfor retry helpers that take a thunk) that emits oneServiceTypes.DBsuccess or failure event around a raw Prisma statement, batch or transaction, with the table and the SQL verb in the metadata and no parent span; it claims the witness so a nested producer or the engine fallback stays silent, stays silent itself when an enclosing producer already claimed it, and emits nothing when the block never reached the Prisma engine (a mocked client, an empty batch), the same rule #44148 gives the decorator; a failure hook that raises is logged at debug and never replaces the Prisma error the caller retries on; with noproxy_logging_objimportable it emits nothing rather than failing the writelitellm/proxy/db/prisma_query_span.pyfindUnique,findMany,createOne,updateOne,deleteOne,upsertOne,aggregate, ...) resolves to the schema model and verb, aqueryRaworexecuteRawstatement resolves to its leading keyword and first quoted relation (REFRESH MATERIALIZED VIEWisddl,TRUNCATEisdelete, a CTE write takes the verb of its writing clause,SELECT 1and catalog probes arepingandpg_catalog), and anything else yields no table so the legacypostgres {call_type}name is kept;sql_relationandsql_operationserve the few raw callers whose SQL is built at runtimelitellm/proxy/db/prisma_client.py_TrackedPrismaEngine.querykeeps marking the #44148 witness and now, when no@log_db_metricsordb_spanproducer has claimed it, wraps the engine round trip indb_spannamed from the parsed payload, so an undecorated Prisma call anywhere in the tree emits exactly one table-named event; called out because #44148 owns this filelitellm/proxy/auth/auth_object_prefetch.py_fetch_rowsruns its multi-tablequery_firstinsidedb_span("prefetch_auth_objects", "auth_objects"), renderingpostgres.select auth_objectswithdb.collection.namelisting the nine tables the statement joins, which closes the prod hole abovelitellm/proxy/db/baseline_accounting.pydb_spanonLiteLLM_AutoRouterBaselineComparisonlitellm/proxy/db/autorouter_session_rollup.pydb_spanand names the session table its statement writes:LiteLLM_AutoRouterSessionfor the key statement,LiteLLM_AutoRouterUserSessionfor the per-user statement the flush falls back to after a key write failslitellm/proxy/db/create_views.pydb_span("create_view", view_name), so a boot-time view build shows aspostgres.ddl {view}litellm/proxy/management_endpoints/team_endpoints.pydb_spanonLiteLLM_SpendLogslitellm/proxy/management_endpoints/auto_router_endpoints.pydb_spanwith the relation read from the SQL bysql_relationlitellm/repositories/daily_activity_repository.pydb_spanwith the relation read from the SQL bysql_relationlitellm/proxy/hooks/proxy_track_cost_callback.py_PROXY_track_cost_callbackloses@log_db_metrics: it only enqueues into the in-memory spend queues, so no service event belongs there; the flush that drains the queue emits the table-named spanslitellm/proxy/db/db_spend_update_writer.py_spend_update_txtakes the table and wraps the transaction indb_span, so every entity spend commit and daily spend upsert is one span named by its tablelitellm/proxy/utils.py@log_db_metricsoninsert_data,update_dataanddelete_data;failure_handlerkeeps the alert and Sentry capture for those four CRUD call types and skips its own DB failure event only when the decorator already emitted one (Prisma or connection errors), so a failed write is counted once and a wrapped foreign keyHTTPExceptionstill gets its event; the end-user spend transaction and the spend log batch insert go throughdb_spanlitellm/proxy/common_utils/reset_budget_job.pydb_span, namingLiteLLM_BudgetTable,LiteLLM_VerificationToken,LiteLLM_UserTableandLiteLLM_TeamTablelitellm/proxy/db/budget_window_spend_writer.pydb_span, namingLiteLLM_SpendLogsandLiteLLM_BudgetWindowSpendlitellm/proxy/db/db_transaction_queue/spend_log_cleanup.pydb_span, naming the table being cleanedlitellm/proxy/db/db_transaction_queue/spend_logs_partition_manager.pydb_spanonLiteLLM_SpendLogslitellm/proxy/db/gateway_request_tracking.pydb_spanaspostgres.upsert LiteLLM_DailyGatewayRequestslitellm/proxy/db/health_check_latest.pydb_spanaspostgres.select LiteLLM_HealthCheckTablelitellm/proxy/db/proxy_worker_heartbeat.pydb_spanonLiteLLM_ProxyWorkerHeartbeatlitellm/proxy/db/shadow_eval_funnel.pydb_spanaspostgres.upsert LiteLLM_ShadowEvalFunnellitellm/proxy/db/spend_log_tool_index.pydb_span, namingLiteLLM_SpendLogToolIndexandLiteLLM_DailyToolSpendlitellm/proxy/management_helpers/access_group_team_sync.pydb_spanaspostgres.transaction LiteLLM_AccessGroupTablelitellm/proxy/spend_tracking/key_metadata_recovery.pydb_span, naming the recovered table andLiteLLM_UserTablelitellm/proxy/management_endpoints/credential_migration.pydb_span, so a boot-time migration write is visible aspostgres.update LiteLLM_Configorpostgres.update LiteLLM_SSOConfiglitellm/proxy/auth/user_api_key_auth.pydb_span, namingLiteLLM_JWTKeyMappingandLiteLLM_VerificationTokenlitellm/proxy/_experimental/mcp_server/oauth_issuer_stamp_backfill.pydb_spanaspostgres.update LiteLLM_MCPServerTableenterprise/litellm_enterprise/enterprise_callbacks/send_emails/endpoints.pydb_spanaspostgres.upsert LiteLLM_Configlitellm/integrations/otel/README.mdUser Flow
Before: an operator looking at a slow request in Grafana Tempo cannot tell which table the proxy waited on, and never sees the spend writes
auth /v1/chat/completionsseepostgres get_datawithdb.operation.name=get_dataand no table attribute{name=~"postgres.*" && name=~".*insert.*"}for the spend write that followed and find nothing, because the spend flush and spend log insert emit no spanAfter: the same traces name the SQL operation and table, and every spend write shows up
auth /v1/chat/completionsthe span readspostgres.select LiteLLM_VerificationTokenwithdb.operation.name=selectanddb.collection.name=LiteLLM_VerificationTokenpostgres.update LiteLLM_VerificationToken,postgres.upsert LiteLLM_DailyUserSpendandpostgres.insert LiteLLM_SpendLogsappear as roots linked to that request's tracepostgres.update LiteLLM_VerificationTokenunder the request, and a Prisma error on any of these writes shows as a failedpostgres.*spanAudit: every producer of a Postgres service event
Scope was
litellm/,enterprise/andlitellm-proxy-extras/: every@log_db_metricsfunction, every directServiceTypes.DBhook call, and every rawprisma_client.db.*write outside those. Line numbers are at this PR's tip. "Real I/O only" means the event is gated by the #44148 witness, so an in-memory or dedup hit emits nothinglitellm/proxy/utils.py:4868PrismaClient.get_datapostgres get_datapostgres.select {table}table_name, or key/user by lookup keylitellm/proxy/utils.py:5291PrismaClient.insert_datapostgres.insert {table}table_namelitellm/proxy/utils.py:5441PrismaClient.update_datapostgres.update {table}table_nameor lookup keylitellm/proxy/utils.py:5681PrismaClient.delete_datapostgres.delete {table}table_nameor lookup keylitellm/proxy/utils.pyupdate_spendend-user transactionpostgres.upsert LiteLLM_EndUserTablelitellm/proxy/utils.pyupdate_spend_logsbatchpostgres.insert LiteLLM_SpendLogslitellm/proxy/db/db_spend_update_writer.py_commit_spend_updates_to_dbuser, key, team, team membership, org, org membership, tag, agent, model access group, projectpostgres.update {table}withcall_type=commit_spend_updateslitellm/proxy/db/db_spend_update_writer.pydaily user, team, tag, org, end-user, agent spendpostgres.upsert LiteLLM_Daily*Spendwithcall_type=upsert_daily_spendlitellm/proxy/auth/auth_checks.py:1512get_team_member_default_budgetpostgres get_team_member_default_budgetpostgres.select LiteLLM_BudgetTablelitellm/proxy/auth/auth_checks.py:1876get_end_user_objectpostgres get_end_user_objectpostgres.select LiteLLM_EndUserTablelitellm/proxy/auth/auth_checks.py:2176get_model_access_group_budgets_batchpostgres get_model_access_group_budgets_batchpostgres.select LiteLLM_ModelAccessGroupBudgetTablelitellm/proxy/auth/auth_checks.py:2247get_tag_objects_batchpostgres get_tag_objects_batchpostgres.select LiteLLM_TagTablelitellm/proxy/auth/auth_checks.py:2291get_tag_objectpostgres get_tag_objectpostgres.select LiteLLM_TagTablelitellm/proxy/auth/auth_checks.py:2340_fetch_team_membership_from_dbpostgres _fetch_team_membership_from_dbpostgres.select LiteLLM_TeamMembershiplitellm/proxy/auth/auth_checks.py:2616get_user_objectpostgres get_user_objectpostgres.select LiteLLM_UserTablelitellm/proxy/auth/auth_checks.py:3144_get_team_db_check(Admin UI and JWTcheck_db_only=Truepath)postgres _get_team_db_checkpostgres.select LiteLLM_TeamTablelitellm/proxy/auth/auth_checks.py:3349get_access_objectpostgres get_access_objectpostgres.select LiteLLM_AccessGroupTablelitellm/proxy/auth/auth_checks.py:3420get_team_object_by_aliaspostgres get_team_object_by_aliaspostgres.select LiteLLM_TeamTablelitellm/proxy/auth/auth_checks.py:3530get_org_object_by_aliaspostgres get_org_object_by_aliaspostgres.select LiteLLM_OrganizationTablelitellm/proxy/auth/auth_checks.py:3828get_jwt_key_mapping_cache_keys_for_tokenpostgres get_jwt_key_mapping_cache_keys_for_tokenpostgres.select LiteLLM_JWTKeyMappinglitellm/proxy/auth/auth_checks.py:3856get_jwt_key_mapping_objectpostgres get_jwt_key_mapping_objectpostgres.select LiteLLM_JWTKeyMappinglitellm/proxy/auth/auth_checks.py:3885get_key_object(wrapsget_data(table_name="combined_view"))postgres get_key_objectpostgres.select LiteLLM_VerificationTokenlitellm/proxy/auth/auth_checks.py:3982get_object_permissionpostgres get_object_permissionpostgres.select LiteLLM_ObjectPermissionTablelitellm/proxy/auth/auth_checks.py:4038get_managed_vector_store_rows_by_uuidspostgres get_managed_vector_store_rows_by_uuidspostgres.select LiteLLM_ManagedVectorStoresTablelitellm/proxy/auth/auth_checks.py:4107get_org_objectpostgres get_org_objectpostgres.select LiteLLM_OrganizationTablelitellm/proxy/hooks/proxy_track_cost_callback.py:291_PROXY_track_cost_callbackbatch_write_to_db _PROXY_track_cost_callbackwith a hardcoded 0.0 duration on every success,postgres _PROXY_track_cost_callbackon the rare path where Prisma ran inside itpostgres.update {table},postgres.upsert LiteLLM_Daily*Spendandpostgres.insert LiteLLM_SpendLogslitellm/proxy/utils.py:3157ProxyLogging.failure_handlercall_typeof the callerget_data,insert_data,update_dataanddelete_datathe failure event comes from@log_db_metricsonce when the error is a Prisma or connection error,failure_handlerkeeps alert and Sentry and only emits the event itself for wrapped errors such as the foreign keyHTTPException; unchanged forconnectlitellm/proxy/auth/auth_exception_handler.py:162DB-unavailable fallbackget_key_objectThe remaining raw
prisma_client.db.*writes off the request path are wrapped indb_spantoo: the two credential migrations inlitellm/proxy/management_endpoints/credential_migration.py(postgres.update LiteLLM_Config,postgres.update LiteLLM_SSOConfig), the JWT auto-registration insert and orphan cleanup inlitellm/proxy/auth/user_api_key_auth.py(postgres.insert LiteLLM_JWTKeyMapping,postgres.delete LiteLLM_VerificationToken), the OAuth issuer backfill inlitellm/proxy/_experimental/mcp_server/oauth_issuer_stamp_backfill.py(postgres.update LiteLLM_MCPServerTable) and the enterprise email settings upsert inenterprise/litellm_enterprise/enterprise_callbacks/send_emails/endpoints.py(postgres.upsert LiteLLM_Config)Background and out-of-request producers, none of which had a span before this PR. Each one is a raw
prisma_client.db.*statement or transaction wrapped indb_spanat the I/O boundary, emits its failure event on a Prisma or connection error, and is pinned by a test in its mappedtests/unit/proxy/...file that renders the event throughservice_span_namelitellm/proxy/common_utils/reset_budget_job.pybudget cascadepostgres.transaction LiteLLM_BudgetTablelitellm/proxy/common_utils/reset_budget_job.pyspend reset units of workpostgres.update LiteLLM_VerificationToken,postgres.update LiteLLM_UserTable,postgres.update LiteLLM_TeamTablelitellm/proxy/common_utils/reset_budget_job.pybudget window page read and writespostgres.select {table},postgres.update {table}withcall_type=reset_budget_windowsandwrite_budget_windowsLiteLLM_VerificationTokenorLiteLLM_TeamTablelitellm/proxy/db/budget_window_spend_writer.pypostgres.select LiteLLM_SpendLogs,postgres.select LiteLLM_BudgetWindowSpend,postgres.upsert LiteLLM_BudgetWindowSpend,postgres.update LiteLLM_BudgetWindowSpendlitellm/proxy/db/db_transaction_queue/spend_log_cleanup.pypostgres.select {table}thenpostgres.delete {table}per batchlitellm/proxy/db/db_transaction_queue/spend_logs_partition_manager.pypostgres.select LiteLLM_SpendLogsfor the check and the listing,postgres.ddl LiteLLM_SpendLogsper partition createlitellm/proxy/db/gateway_request_tracking.pypostgres.upsert LiteLLM_DailyGatewayRequestslitellm/proxy/db/health_check_latest.pypostgres.select LiteLLM_HealthCheckTablelitellm/proxy/db/proxy_worker_heartbeat.pypostgres.upsert,postgres.delete(prune and deregister),postgres.selectonLiteLLM_ProxyWorkerHeartbeatlitellm/proxy/db/shadow_eval_funnel.pypostgres.upsert LiteLLM_ShadowEvalFunnellitellm/proxy/db/spend_log_tool_index.pypostgres.insert LiteLLM_SpendLogToolIndex,postgres.upsert LiteLLM_DailyToolSpendlitellm/proxy/management_helpers/access_group_team_sync.pypostgres.transaction LiteLLM_AccessGroupTablelitellm/proxy/spend_tracking/key_metadata_recovery.pypostgres.select {table}withcall_type=recover_key_metadata,postgres.select LiteLLM_UserTablelitellm/proxy/db/db_transaction_queue/pod_lock_manager.pypod_lock_managergauge events are unchangedAfter this PR no Prisma statement in
litellm/orenterprise/runs without aServiceTypes.DBevent, and a static scan intests/unit/integrations/otel/test_otel_v2_logger.pywalks everyget_data,get_generic_data,insert_data,update_dataanddelete_datacall underlitellm/,enterprise/andlitellm-proxy-extras/, resolves the table from the literaltable_nameor from thetoken,tokens,user_idorteam_idlookup key the helper dispatches on, and fails if any site renders anything other thanpostgres.{verb} LiteLLM_*Audit: every raw and model Prisma call site (static scan)
tests/unit/proxy/db/test_prisma_query_span.pywalkslitellm/andenterprise/withast, finds everyprisma_client.db.query_first,query_raw,execute_raw,<model>.find_*,count,group_by,create,create_many,update,update_many,delete,delete_manyandupsertcall, resolves the SQL string or the Prisma model behind it (module constants, function-scope assignments, mapping values, SQL builders and forwarding callers included) and renders the span name the call would produce. A site fails the test when it would render a verb without a table. It found 262 sites, 191 byengine, 33 bydb_span, 11 bydb_span(bounded), 7 bylog_db_metrics(crud), 5 by_spend_update_tx, 2 bydb_spanned(bounded), 2 bytransaction(baseline_accounting), 2 byforwarder, 2 byengine via _query_raw callers, 2 bylog_db_metrics(crud) via _query_first_with_cached_plan_fallback callers, 1 by_spend_update_tx(bounded), 1 byengine via _fetch_admin_teams_and_keys_rows callers, 1 byengine via _write_membership callers, 1 byengine via _rewrite_groups callers, 1 byengine via _query_raw_rows callers; the engine fallback in_TrackedPrismaEngine.queryowns every site no producer wraps. Five of the engine-owned sites build their relation at runtime (dynamic SQL in the access group and model allowlist syncs), so the name is resolved from the executed statement at run time and the scan pins the alternatives; three renderpostgres.ping(SELECT 1health probes) and sixteenpg_catalogreads renderpostgres.select pg_catalogEvery site with the span name it renders is listed in the audit report attached to the session, and
test_every_prisma_call_site_in_the_proxy_renders_a_bounded_postgres_span_nameasserts the same rows, one per siteAudit: prod evidence (Tempo, read-only, 13:00 to 19:00 UTC today)
Datasource
grafanacloud-traces,{resource.service.name="berriai-litellm-prod" && name=~"postgres.*"}. Prod ran main at 25109a5 plus 237ed76 of #44150 and not #44148, so in-memory hits still emitted spans. "Real" counts spans over 1 mspostgres get_user_objectauth {route}postgres get_dataauth {route}, or a linked root after the responselitellm.service.callernil on every sampled spanpostgres get_org_objectauth {route}postgres get_end_user_objectauth {route}postgres get_object_permissionauth {route}postgres get_key_objectauth {route}, or a linked root after the responsepostgres get_datachild for the same query)postgres _get_team_db_checkauth {route}check_db_onlypathpostgres _fetch_team_membership_from_dbauth {route}postgres get_team_member_default_budgetauth {route}postgres get_tag_objects_batchauth {route}Nothing else matched
postgres.*. In six hours of prod traffic there was not one insert, update, upsert or transaction span: the whole spend write path ran without a span. No sampledpostgresspan carrieddb.collection.nameordb.query.summary, anddb.operation.namerepeated the function name. No DB error series appeared in the window. Spans issued from auth nest underauth {route}. Post-response spans are roots linked back to the finished server span (trace4059997bcd0fe44a2672d0f810d0fa22), which this PR keeps. Every zero-duration span in the window came from a@log_db_metricshelper, so #44148 covers all of themNaming table
Verbs come from
_POSTGRES_OPERATION_BY_CALL_TYPEinlitellm/integrations/otel/model/spans.py. The table comes from that map for helpers that only ever touch one model, otherwise from the event'stable_namemetadata, which only resolves the shortPrismaClientliterals (key,user,team,spend,enduser,budget,config,user_notification,combined_view) or a fullLiteLLM_*model name, so a free-form string can never become a span name. An unknowncall_type, or a known verb whosetable_nameis not one of those literals, keeps the oldpostgres {call_type}, so the half-namedpostgres.selectwith no table cannot shiplitellm.service.call_typedb.operation.namedb.collection.nameget_data,get_generic_datapostgres.select {table}selecttable_nameinsert_datapostgres.insert {table}inserttable_nameupdate_datapostgres.update {table}updatetable_namedelete_datapostgres.delete {table}deletetable_nameget_key_objectpostgres.select LiteLLM_VerificationTokenselectLiteLLM_VerificationTokenget_user_objectpostgres.select LiteLLM_UserTableselectLiteLLM_UserTableget_org_object,get_org_object_by_aliaspostgres.select LiteLLM_OrganizationTableselectLiteLLM_OrganizationTable_get_team_db_check,get_team_object_by_aliaspostgres.select LiteLLM_TeamTableselectLiteLLM_TeamTable_fetch_team_membership_from_dbpostgres.select LiteLLM_TeamMembershipselectLiteLLM_TeamMembershipget_team_member_default_budgetpostgres.select LiteLLM_BudgetTableselectLiteLLM_BudgetTableget_end_user_objectpostgres.select LiteLLM_EndUserTableselectLiteLLM_EndUserTableget_tag_object,get_tag_objects_batchpostgres.select LiteLLM_TagTableselectLiteLLM_TagTableget_model_access_group_budgets_batchpostgres.select LiteLLM_ModelAccessGroupBudgetTableselectLiteLLM_ModelAccessGroupBudgetTableget_access_objectpostgres.select LiteLLM_AccessGroupTableselectLiteLLM_AccessGroupTableget_object_permissionpostgres.select LiteLLM_ObjectPermissionTableselectLiteLLM_ObjectPermissionTableget_jwt_key_mapping_object,get_jwt_key_mapping_cache_keys_for_tokenpostgres.select LiteLLM_JWTKeyMappingselectLiteLLM_JWTKeyMappingget_managed_vector_store_rows_by_uuidspostgres.select LiteLLM_ManagedVectorStoresTableselectLiteLLM_ManagedVectorStoresTablecommit_spend_updatespostgres.update {table}updateupsert_daily_spendpostgres.upsert LiteLLM_Daily*Spendupsertupdate_end_user_spendpostgres.upsert LiteLLM_EndUserTableupsertLiteLLM_EndUserTableinsert_spend_logspostgres.insert LiteLLM_SpendLogsinsertLiteLLM_SpendLogsmigrate_config_credentialspostgres.update LiteLLM_ConfigupdateLiteLLM_Configmigrate_sso_credentialspostgres.update LiteLLM_SSOConfigupdateLiteLLM_SSOConfigauto_register_jwt_mappingpostgres.insert LiteLLM_JWTKeyMappinginsertLiteLLM_JWTKeyMappingdelete_orphaned_jwt_keypostgres.delete LiteLLM_VerificationTokendeleteLiteLLM_VerificationTokenbackfill_mcp_oauth_issuerpostgres.update LiteLLM_MCPServerTableupdateLiteLLM_MCPServerTablesave_email_settingspostgres.upsert LiteLLM_ConfigupsertLiteLLM_Configreset_budget_cascade,sync_team_access_group_membershippostgres.transaction {table}transactionreset_spend_rows,write_budget_windows,roll_window_spend_rowpostgres.update {table}updatetable_namereset_budget_windows,seed_window_spend,select_window_spend_rows,count_expired_rows,check_spend_log_partitioning,list_spend_log_partitions,latest_health_checks,count_live_proxy_workers,recover_key_metadata,recover_user_detailspostgres.select {table}selecttable_namecommit_window_spend_updates,commit_gateway_requests,proxy_worker_heartbeat,flush_shadow_eval_funnel,commit_daily_tool_spendpostgres.upsert {table}upserttable_nameindex_spend_log_toolspostgres.insert LiteLLM_SpendLogToolIndexinsertLiteLLM_SpendLogToolIndexcleanup_expired_rows,prune_proxy_worker_heartbeats,deregister_proxy_workerpostgres.delete {table}deletetable_namecreate_spend_log_partitionpostgres.ddl LiteLLM_SpendLogsddlLiteLLM_SpendLogscall_typepostgres {call_type}call_typedb.query.summaryis{VERB} {table}when the table is known, never query text.db.system.name=postgresql,server.address,server.portanddb.namespaceare unchanged from #44150. The batch spend flush renders aspostgres.update {table}rather than apostgres.transaction spend_updateumbrella because each_spend_update_txonly ever writes one table, so the table is the more useful half of the name and the transaction is still one spanWhat did not change and why
Redis spans are byte-identical to #44150:
service_span_namereturns early for Postgres and the Redis branch is untouched, whichtests/unit/integrations/otel/still asserts. The #44148 witness mechanism is untouched; its_is_exception_related_to_dbpredicate widens fromConnectErrorplus timeouts to everyhttpx.TransportError, so a dropped query engine socket counts as a DB failure for the decorator and fordb_spanalike;prisma_client.pygains the engine fallback described above andlog_db_metrics.pyexposesdb_io_claimedandclaim_db_ioon top of the witness, both called out because #44148 owns those files; the other edits tolog_db_metrics.pyreplace_safe_db_event_metadatawith_table_metadata_reader, which inferstable_nameforPrismaClientCRUD methods called withtoken,tokens,user_idorteam_idinstead oftable_name, in the order the method dispatches on, drop theBATCH_WRITE_TO_DBbranch, and type the wrapper's**kwargsasobjectand_handle_logging_db_exception'skwargsasMapping[str, object]in place of a baredict. Called out here because #44148 owns that file.litellm.service.call_typekeeps the raw helper name, solitellm_db_*Prometheus series and Datadog service tags do not move. Auth spans still nest underauth {route}and post-response writes still land as linked roots, becausedb_spanpasses no parent span and the V2 logger's existing linking does the restA failed
insert_data,update_dataordelete_dataused to be counted twice once the decorator landed on them: the decorator emitted the DB failure event andProxyLogging.failure_handleremitted a second one for the same exception.failure_handlernow keeps the alert and the Sentry capture for those call types and leaves the service event to@log_db_metricswhen the error is one the decorator reports (Prisma or connection errors), so one failed write is one failure event. A wrapped error such as the organization foreign keyHTTPExceptionis not seen by the decorator, sofailure_handlerstill emits its event for it.connectis not decorated and keeps its eventTwo Prometheus series stop being populated:
litellm_batch_write_to_db_total_requestsandlitellm_batch_write_to_db_latency. They came from theBATCH_WRITE_TO_DBevent the decorator emitted around_PROXY_track_cost_callback, which carried a hardcodedduration=0.0and only fired when the request had a parent OTel span, so the histogram held nothing and the counter counted OTel-traced requests rather than writes. The writes themselves are counted by thelitellm_db_*series, labelled with the rawcall_type(commit_spend_updates,upsert_daily_spend,insert_spend_logs), which this PR adds. No otherServiceTypesvalue or metric label movesCaveat taxonomy audit
Run against the diff before the bot review. Confirmed and fixed: Z3 (bot findings),
write_autorouter_turnnamedLiteLLM_AutoRouterSessionfor the per-user statement too,LiteLLM_AutoRouterDailySpendwas missing from the model allowlist so the cleanup job's events lost their table, anddb_spandropped the failure event for anhttpx.ReadError, each with a test that is red on the unfixed code; Z3 (bot finding), a task spawned inside a producer inherited the witness by context copy and the engine fallback stayed silent for a Prisma call it ran after the producer returned, so the witness now closes with its producer andtest_a_task_spawned_by_a_decorated_call_that_queries_after_it_returned_emits_its_own_eventis red on the unfixed code (('read_key_row',)instead of('read_key_row', 'find_unique')) and green on the fix; X1, the CRUD table inference testskwargs.get(key) is not Nonerather than truthiness so an empty string lookup still names its table; T17, every renamed span and every new span has a test that fails on the base (test_otel_v2_logger.pyincluding the static CRUD call site scan,test_db_endpoint.py,test_db_span.py,test_log_db_metrics.py,test_prisma_client_writes.py,test_db_spend_update_writer.py,test_credential_migration.py,test_user_api_key_auth_request_flow.py,test_oauth_issuer_stamp_backfill.py,send_emails/test_endpoints.py,test_proxy_track_cost_callback.pyfor the enqueue path emitting nothing,test_prisma_query_span.pyfor the payload parser and the call site scan,test_auth_object_prefetch.pyfor the prefetch reader, and one rendered-name test per background producer intest_reset_budget_job.py,test_budget_window_spend_writer.py,test_spend_log_cleanup.py,test_spend_logs_partition_manager.py,test_gateway_request_tracking.py,test_health_check_latest.py,test_proxy_worker_heartbeat.py,test_shadow_eval_funnel.py,test_spend_log_tool_index.pyandtest_key_metadata_recovery.py); AA7 again for the callback, the enqueue-only_PROXY_track_cost_callbackemitted aBATCH_WRITE_TO_DBevent for an operation that did no I/O, that branch is gone and the metric change is written up above; H4, the new helper usesX | NoneandMapping[str, object], no baredictorAnyadded; AA7, a failedinsert_data,update_dataordelete_dataused to emit two DB failure events (decorator plusfailure_handler),failure_handlernow skips the service hook when the decorated CRUD call raised a Prisma or connection error the decorator already reported, keeps it for wrappedHTTPExceptions, andtest_alerting.pypins bothJudged not applicable: A1 and A2, no cache is written or invalidated, the change only names and emits spans; A3, after a prefetch miss the per-object getters in
auth_checks.pyread the rows the prefetch cached, so one real query is one span (the Redis miss tree below shows no secondLiteLLM_TeamMembershipread); a key whose user is not a team member has no membership row to prefetch, so_fetch_team_membership_from_dbmakes one real read and caches the negative sentinel, one span for one query; B1, no shared list or object is read-modify-written; B5 and AA1,db_spanschedules the success hook withasyncio.create_taskexactly like the decorator it mirrors, and the inline failure hook is wrapped so a raising exporter can never replace the Prisma error the spend writer's retry decision reads (test_a_raising_failure_hook_never_replaces_the_prisma_error); C1 to C7, the public surface that moves is the OTel span name, documented under Rollout, whilelitellm.service.call_type, the Prometheuslitellm_db_*labels and every Redis span stay byte-identical; D, P, Z, no auth or permission decision changes, the auth helpers only gain a table in their span name; E and AA,db_spanre-raises every exception and runs after the transaction, so no spend row is skipped, swallowed or double counted (AA4, AA5); F, G, O, no provider, streaming or guardrail code touched; H1 to H3, no docs in the source tree beyond the OTel README, no new source comments, no em dashes; J2, no client or provider is created; K, no numeric or string parsing; M, N, the table is accepted only when it is aPrismaClientliteral or a model declared inschema.prisma, so a free-form producer value falls back topostgres {call_type}and no key, token or hash enters a span name (db.query.summaryis{VERB} {table}); R, no helm, CI or migration change; T4 and T5, tests patchlitellm.proxy.proxy_server.proxy_logging_obj, the symbol the code imports at call time, inside a context manager that restores it, and the sharedpostgres_span_namesfixture intests/unit/proxy/conftest.pyrenders the emitted events through the realservice_span_namerather than asserting on mock call shapes; T6,db_spanreturnsNonefrom_service_loggingwhenproxy_logging_objcannot be imported, so a background job under a partially mockedproxy_serverstill runs its write and the test asserts the write, not the import; W1, no caller-owned dict is mutated,event_metadatais a fresh dict per event; Y and BB, no precedence chain or inherited default changesRollout
Anyone filtering Tempo or Datadog on the old names (
name="postgres get_data") should switch toname=~"postgres\\..*"or filter onlitellm.service.call_type, which did not change. Volume grows by one span per spend transaction and per spend log batch, plus one per background round trip (a heartbeat upsert, a health check read, a budget reset page), so a few spans per flush or cron tick, never one per row. Thebatch_write_to_dbseries and span disappear, see above. The spend transaction spans are roots in their own traces linked to the originating request, same as today's post-response key lookups. No config change and no new dependencyPre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
uv run pytest tests/unit/<your_test_file>.py -v. Leave the suites (make test-unit-*,make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
Local proxy on Postgres and Redis with the OTel V2 logger writing spans to the console, no provider call (the model has
mock_response). Shared setup for both runs:The trees below are the
postgresspans and their ancestors fromspans.log, one trace per block,[+offset, duration]relative to the trace rootBefore (3b64bfa)
POST /key/generate
curl -X POST localhost:4000/key/generate ...returns 200 with ask-...keypostgresspan in the trace:insert_datais not instrumentedPOST /v1/chat/completions
curl -X POST localhost:4000/v1/chat/completions ...returnsmocked response for the postgres span auditGET /user/info (Admin UI style call)
curl localhost:4000/user/info -H "$H"returns the user and its keysget_dataname for a different tablePOST /key/update
curl -X POST localhost:4000/key/update ...returns the updated keypostgresspan in the trace:update_datais not instrumentedSpend flush after the chat call
proxy_batch_write_atpostgresspan anywhere: key spend update, tag spend update, daily user, team and tag spend upserts and the spend log insert all run without a spanPOST /key/delete
curl -X POST localhost:4000/key/delete ...returns{"deleted_keys": [...]}After (this PR's tip)
POST /key/generate
curl -X POST localhost:4000/key/generate ...returns 200 with ask-...keyPOST /v1/chat/completions
curl -X POST localhost:4000/v1/chat/completions ...returnsmocked response for the postgres span auditauth, Redis spans unchangedGET /user/info (Admin UI style call)
curl localhost:4000/user/info -H "$H"returns the user and its keystable_name, resolves its table fromuser_idPOST /key/update
curl -X POST localhost:4000/key/update ...returns the updated keytokenlookup keySpend flush after the chat call
proxy_batch_write_atPOST /key/delete
curl -X POST localhost:4000/key/delete ...returns{"deleted_keys": [...]}Redis miss on the auth objects (POST /v1/messages)
litellm_settings.enable_redis_auth_cache: trueandgeneral_settings.user_api_key_cache_ttl: 3, so the in-memory copies expire while Redis still holds them. A team and a member are created, a key bound to both is warmed with one chat call, the proxy waits past the TTL, the user, team, membership and spend keys are deleted from Redis (the hashed key row stays), then one/v1/messagescall runsThe Redis read of the auth objects rides the request pipeline on this tip of #44150, so it renders as
redis.pipeline auth_objectsrather thanredis.mget auth_objects, and the write back rides the post-call pipeline (redis.pipeline mixedunderroute). The 26 ms hole from the prod trace is nowpostgres.select auth_objects, one span for the onequery_first, and no getter fallback issues a second read for the same rowsBackground tick (this PR's tip)
Same proxy, with the cron jobs turned up so one idle window shows every background Postgres producer, and one request first so the spend queues have something to flush
Every
postgresspan in the 30 idle seconds, one trace per block, each a root with no server span to attach to. Nothing renders aspostgres {helper}and nothing renders as a verb without a tableDistinct names over the whole run, with counts:
postgres.select LiteLLM_VerificationToken21,postgres.select LiteLLM_TeamTable20,postgres.update LiteLLM_VerificationToken16,postgres.select LiteLLM_UserTable10,postgres.select LiteLLM_BudgetTable10,postgres.select LiteLLM_HealthCheckTable8,postgres.insert LiteLLM_SpendLogs8,postgres.upsert LiteLLM_DailyUserSpend6,postgres.upsert LiteLLM_DailyTeamSpend6,postgres.update LiteLLM_TeamTable6,postgres.update LiteLLM_TagTable6,postgres.upsert LiteLLM_DailyTagSpend2,postgres.delete LiteLLM_ProxyWorkerHeartbeat2,postgres.upsert LiteLLM_ProxyWorkerHeartbeat1,postgres.upsert LiteLLM_DailyGatewayRequests1,postgres.insert LiteLLM_VerificationToken1. Nobatch_write_to_dbspan appears after the requestType
Bug Fix
Caveats (if any)
Low
db.query.summaryis{VERB} {table}only, by design, so no query text or values can leakpostgres.select auth_objectsnames the prefetch statement rather than one of the nine tables it joins, by design:db.collection.namelists the tables, and one statement is one spanLiteLLM_TeamMembershiponce per TTL after a prefetch miss, by design: the prefetch only caches rows that exist, and the getter caches the negative sentinel for the next requestslitellm_batch_write_to_db_total_requestsandlitellm_batch_write_to_db_latencystop being populated, by design: they measured a zero-duration enqueue, not a write, and the writes are now counted underlitellm_db_*Final Attestation
Link to Devin session: https://app.devin.ai/sessions/47aa54bac07e4bf1a4e78da48df35ce4
Open in Devin Desktop: https://app.devin.ai/desktop/session/47aa54bac07e4bf1a4e78da48df35ce4?variant=devin
Requested by: @yassin-berriai