Repository navigation
fix(otel): nest cache spans under their operation and name service spans by purpose - #44150
Conversation
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
|
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
79e9cd3 to
eedbd3d
Compare
bb54b43 to
a0c8249
Compare
3b64bfa to
0a81ca5
Compare
0a81ca5 to
3d3c972
Compare
3d3c972 to
79096de
Compare
…ans by purpose
Response cache reads and writes open cache.get llm_response and cache.set llm_response phase spans with their Redis spans nested underneath, on the Python path and on the native Rust path, and deployment selection runs inside a route {model_group} phase so the cooldown, usage and model-id reads the router issues nest under it before chat {model}. The autorouter classifier call nests under that route phase as well and carries its typed internal origin on litellm.request.purpose, so it is told apart from the provider attempt. Service spans are named {service}.{verb} {target} from a low-cardinality key family the producer declares (llm_response, auth_objects, spend_counters, router_cooldowns, claude_code_session_router_binding, rate_limits, pod_lock, budget_reset, ...) instead of the raw method or a per-request pipeline length; a pipeline flush is targeted by the one family its ops share or by mixed with the sorted families on litellm.redis.families, a batch op keeps the family it was declared under whichever pipeline or standalone read settles it, and the ambient family labels Redis spans only, never the DB write-back a task spawned inside that context performs later. The raw method stays on litellm.service.call_type and on the Prometheus and Datadog labels. Caller attribution is carried across asyncio task boundaries on a ContextVar so forwarder-only chains no longer surface, the raw cache key is dropped from Redis span metadata, pipeline op counts land as an integer attribute, every call_type the Redis cache layer emits maps to a verb, and a scan over litellm/ and enterprise/ fails when a Redis producer, batch reservation included, declares no key family.
A V2 logger built for a key or team logging entry while the operator's V2 logger is already registered keeps only the exporters its own preset contributed, whether or not the operator holds credentials for that backend, so every chat span no longer reaches the operator's collector twice. A span the success callback has to open itself, with no pre-call carrier, starts at the provider handoff (api_call_start_time) instead of the logging object's creation.
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
79096de to
c1184c8
Compare
| def _only_the_presets_own_exporters(config: "OpenTelemetryV2Config", callback_name: str) -> "OpenTelemetryV2Config": | ||
| """A preset with no exporter of its own (Langtrace: a mapper over the operator's collector) keeps the base.""" | ||
| own: Final = [spec for spec in config.exporters if spec.owner == callback_name] | ||
| return config.model_copy(update={"exporters": own}) if own else config |
There was a problem hiding this comment.
Duplicate Langtrace spans When both
otel and langtrace callbacks use the same OTLP collector, this fallback keeps the collector exporter on the Langtrace logger even though the operator logger already has it. Both loggers receive the completed call and use separate tracer providers, so each exports a chat span to that collector, duplicating the trace.
Knowledge Base Used: Logging callbacks and telemetry
There was a problem hiding this comment.
Unchanged from the base: Langtrace is documented as a mapper over the operator's collector, dropping that exporter would silently discard the destination
There was a problem hiding this comment.
You're right that Langtrace must retain the operator's collector: it contributes only a mapper and no exporter of its own. The updated helper handles that explicitly—when own is empty, it returns config unchanged, preserving the base exporter. Only presets that contribute an exporter are narrowed to their own exporters, so the duplicate-span finding is withdrawn.
1 similar comment
…erriAI#44485) * fix(otel): read the registered v2 logger without importing the proxy phase_span, which the router enters on every deployment pick since BerriAI#44150, looked up the proxy's OTel logger by importing litellm.proxy.proxy_server. In an SDK process that import loads the whole proxy synchronously on the caller's event loop during its first request, which stalled litellm_router_unit_testing past its 5s wait. Read the module from sys.modules instead: when the proxy was never imported it has no registered logger. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(otel): pin the no-proxy-import guarantee in-process Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: mateo <mateo@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Resolves the conflicts with BerriAI#44150, which wrapped the cooldown set_cache call in litellm/router_utils/cooldown_cache.py in service_target(ROUTER_COOLDOWNS_TARGET) and appended a test class at the end of tests/unit/router_utils/test_cooldown_cache.py: the _drop_in_memory_entry_if_extending call stays directly above the new with block, and both test classes are kept, main's first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…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:
chat {model}, flat under the root, namedredis async_get_cacheredis request_redis_batch[3])redis.mget/redis.get/redis.setwith nolitellm.service.target_run_under_circuit_breaker <- wrapperacross task boundariesloggingnamesarizegot twochat {model}spans per call in the operator's collectorchatspan the success callback opened itself started at the logging object's birth, not the provider sendchat, indistinguishable from itredis.get/redis.setHow it solves it:
cache.get llm_response/cache.set llm_responsephases on theCachefacade, Python and Rust paths alikeroute {model_group}phase around deployment selection, cooldown and usage reads nest under itredis.{verb} {key_family},redis.pipeline {family}orredis.pipeline mixedwith sortedlitellm.redis.familieslitellm/andenterprise/declares a bounded family, background jobs includedlitellm.service.call_typeand metric labelschatspan starts atapi_call_start_time; internal calls nest underroutewithlitellm.request.purposeclaude_code_session_router_bindingBase and scope
Stacked on #44148 (
litellm_db_span_only_on_real_db_io, final at59cdb29415, postgres spans only on real Prisma I/O). Everything below describes this PR's own diff against that branch: one commit,c1184c88ee. #44240 (postgres.{verb} {table}names for the Prisma helpers) and #44221 (litellm.request.deployment_selectedserver-span event) stack on top of this branch, so thepostgres get_dataandbatch_write_to_dbspans in the trees below are theirs to rename and are not touched hereDesign
When the work runs:
user_api_key_authopens theauth {route}phase and declaresauth_objects, so every Redis or Postgres read it triggers inherits that target.Router.async_get_available_deployment(and the pass-through variant) opensroute {model_group}around_async_get_available_deployment, so the cooldown filter, the usage-based selector and the prefetch flush they trigger are its children. The response-cache lookup and write go through theCachefacade, whoseresponse_cache_phaseopenscache.get llm_response/cache.set llm_responseand declaresllm_response, so the native (Rust) execution gets the same phases without any lifecycle change. ARedisBatchop captures the ambient target and caller when it is declared, carries both into the flush that settles it, and the flush names itself after the one family it carries ormixedwith the sorted family listflowchart TD S["POST /v1/chat/completions (server span)"] --> A["auth {route} target=auth_objects"] A --> A1["redis.pipeline auth_objects op_count=3"] S --> R["route {model_group}"] R --> R1["redis.pipeline router_cooldowns"] R --> R2["redis.incr router_usage"] S --> H["proxy hooks target=rate_limits / sensitive_route_pins / ..."] H --> H1["redis.mget rate_limits"] S --> G["cache.get llm_response"] G --> G1["redis.get llm_response"] S --> C["chat {model} (client span)"] S -. link .-> W["cache.set llm_response"] W --> W1["redis.set llm_response"] S -. link .-> P["redis.pipeline mixed families=rate_limits,spend_counters"]What changes, against the #44148 base:
cache.get llm_responsespan under the request root, the write insidecache.set llm_response, a linked root that adopts its Redis SET; both phases live on theCachefacade so the Rust execution's native lookup and store are phased and targeted exactly like the Python pathroute {model_group}(phase_span(f"route {model}")inRouter.async_get_available_deploymentandasync_get_available_deployment_for_pass_through): bounded by the requested group, a live child of the server span, closed when the pick returns, so the routing Redis reads nest under it and it precedeschat {model}; thelitellm.request.deployment_selectedevent from perf(proxy): stop prompt-cache eligibility from tokenizing the whole conversation #44221 is a server-span event and does not collide with itservice_target(...)), spans render{service}.{verb} {target}; everyRedisCachemethod maps to a verb, so no Redis span can render asredis {method}RedisBatchops capture target and caller at declaration time and restore both at settlement, so a reservation armed before the route phase (RoutingPrefetch.arm) or an auth prefetch gathered in its own task still reportsrouter_cooldowns/auth_objectsand the litellm code that wanted the read, never_run_under_circuit_breaker <- wrapperredis.pipeline {family}when every op it carries was declared under one family andredis.pipeline mixedotherwise, with the sorted family list onlitellm.redis.familiesand the op count onlitellm.metadata.op_count(an int); success and failure use the same targetlitellm/andenterprise/declares a bounded family, background ones included (pod_lock,spend_queue,health_checks,scheduler_queue,managed_files,mcp_servers, ...); the static scan intests/unit/test_internal_context.pywalks the whole tree, including reservation-based and batch producers, and a second test proves no call type the Redis cache layer emits can reach the{service} {call_type}fallback_maybe_construct_otel_v2keeps only the exporters the preset itself contributed when anotherOpenTelemetryV2logger is already registered (_only_the_presets_own_exporters, keyed on the exporter'sowner), whether or not the operator holds credentials for that backend, so a key or teamloggingentry forarizeno longer carries a second copy of the operator's OTLP exporter and nochatspan reaches the operator's collector twice; a preset that contributes no exporter of its own (langtrace, a mapper over the operator's collector) keeps the base exporters it has nothing to replace withchatspan closed by the success callback with no pre-call carrier starts at the provider handoff:api_call_start_timefrom the kwargs, thenmodel_call_details["api_call_start_time"], then the pre-call event time, never the logging object'sstart_timeinternal_call_originin the typed metadata: autorouter classifier, compaction, shadow eval, judge, cost poll) parents under the active phase span (resolve_internal_call_span_context), so the classifier nests underroute {model_group}, and carries that origin onlitellm.request.purpose; ordinary provider calls keep parenting under the request rootclaude_code_session_router_binding; the ambient family labels Redis spans only, a Postgres write-back spawned inside that context is left unlabeled (test_only_redis_service_spans_carry_the_ambient_key_family)litellm.service.call_type/db.operation.name, metric labels unchanged; the raw cache key (api key hash, session id, response-cache hash) is no longer emitted as span metadataFiles changed
litellm/_internal_context.pyservice_target/service_callercontext vars withwith_service_target(sync and async),REDIS_FAMILIES_METADATA_KEY, and a_restorethat tolerates aContextVar.resetfrom another context (GC closing a never-awaited coroutine)litellm/_service_logger.pyServiceLoggerPayload, and the ambient target only for Redis spans, so a DB write-back spawned inside a Redis family context stays unlabeledlitellm/types/services.pyServiceLoggerPayload.target, the key family a call servedlitellm/caching/caching.pyRESPONSE_CACHE_TARGETandresponse_cache_phase, wrappingget_cache,async_get_cache,add_cache,async_add_cache,async_add_cache_pipelineso the native path is phased and targeted like the Python pathlitellm/caching/caching_handler.pyresponse_cache_phase; the lookup runs beforechat {model}on the Python pathlitellm/caching/redis_cache.pyevent_metadata; the caller walk skips facades, circuit-breaker wrappers, batch wrappers, asyncio forwarders and native lifecycle frames, stops at two names, falls back to the propagated caller orunknownlitellm/caching/redis_batch.py_Opcaptures target and caller at declaration and restores both in_settle_alone;_pipeline_service_eventnames the flush after its one family ormixedwith sortedlitellm.redis.families, same target on success and failure,call_type=request_redis_batch/post_call_redis_batchwith intop_countlitellm/caching/affinity_cache.pyROUTER_SESSION_PINS_TARGET, the session-affinity pin reads and writes declare itlitellm/integrations/otel/model/spans.py_SERVICE_VERB_BY_CALL_TYPEcovering everyRedisCacheandRedisBatchcall type,service_span_namerenders{service}.{verb} {target}or{service} {call_type}litellm/integrations/otel/model/payloads.pyServiceSpanData.target;sanitize_event_metadatakeepsstr | int | float | boolsoop_countstays an intlitellm/integrations/otel/model/semconv.pylitellm.service.target,litellm.redis.familiesandlitellm.request.purposeattribute keyslitellm/integrations/otel/mappers/genai.pylitellm.service.targetandlitellm.redis.familieson service spans,litellm.request.purposeon internal callslitellm/integrations/otel/logger.pystart_phase_spanparents like a service span (linked root after the response); service spans carry target; a deferredchatstarts at the provider handoff; internal calls parent under the active phaselitellm/integrations/otel/model/metadata.pyupstream_start_secondsfromapi_call_start_timeandpurposefrom the validatedinternal_call_origin, both typed, read by the loggerlitellm/litellm_core_utils/litellm_logging.py_only_the_presets_own_exporters: a V2 logger built beside an existing one keeps only exporters whoseowneris its own preset; a preset owning none (langtrace) keeps the baselitellm/integrations/otel/plumbing/context.pyresolve_internal_call_span_contextparents an internal call under the active phaselitellm/integrations/otel/README.mdlitellm/router.pyroute {model}phase around_async_get_available_deploymentand_async_get_available_deployment_for_pass_through; RPM increments declarerouter_usage; the Claude Code session-router binding read, resolve, write and delete declareclaude_code_session_router_bindinglitellm/router_utils/routing_read_batch.pyRoutingPrefetch.armandRoutingReadBatch.rundeclarerouter_cooldownswhen only cooldown keys go out,router_usagewhen only usage counters do,router_cooldowns_usagewhen both ride one MGET (the bareredis.mgetfromarm <- arm_routing_read_prefetchin prod trace 2d1f96ed)litellm/router_utils/cooldown_cache.py,cooldown_handlers.pyROUTER_COOLDOWNS_TARGET; cooldown reads, writes and the allowed-fails incr / ttl / expire declare itlitellm/router_utils/pre_call_checks/{io_token_rate_limit_check,model_rate_limit_check}.pyrouter_usagelitellm/router_utils/pre_call_checks/deployment_affinity_check.pyrouter_session_pinslitellm/router_utils/prompt_caching_cache.pyprompt_cache_pinslitellm/router_utils/health_state_cache.py,litellm/proxy/health_check_utils/shared_health_check_manager.pyhealth_checkslitellm/router_strategy/{base_routing_strategy,least_busy,lowest_cost,lowest_latency,lowest_tpm_rpm,lowest_tpm_rpm_v2}.pyrouter_usageon reads, writes and periodic synclitellm/router_strategy/budget_limiter.pyrouter_budgetslitellm/router_strategy/complexity_router/complexity_router.pyrouter_session_pinslitellm/proxy/auth/user_api_key_auth.pyservice_target(AUTH_OBJECTS_TARGET); captures the caller before the prefetchgatherlitellm/proxy/auth/{auth_object_prefetch,auth_checks,handle_jwt,resolvers/store}.py,litellm/proxy/common_utils/{user_api_key_cache,auth_cache_invalidation_pubsub}.pyAUTH_OBJECTS_TARGETlives onuser_api_key_cache; auth object reads, write-backs, JWT lookups and invalidation declare it, spend scalarsspend_counterslitellm/proxy/auth/login_throttle.pylogin_throttlelitellm/proxy/proxy_server.pyupdate_cachedeclaresauth_objectsat batch declaration time (object write-back) andspend_countersfor the global spend scalar; counter init declaresspend_counterslitellm/proxy/spend_tracking/{spend_counter_batch,budget_reservation}.py,litellm/proxy/db/spend_counter_reseed.py,litellm/proxy/db/db_spend_update_writer.pyspend_counters/auth_objectslitellm/proxy/spend_tracking/{ptu_flat_cost_rollup,spend_capture_rate}.py,litellm/proxy/db/db_transaction_queue/pod_lock_manager.pyPOD_LOCK_TARGET; lock acquire / renew / release declarepod_locklitellm/proxy/db/db_transaction_queue/redis_update_buffer.pyspend_queuelitellm/proxy/db/gateway_request_tracking.pygateway_request_queuelitellm/proxy/common_utils/reset_budget_job.pypod_lockfor the lock andauth_objects/spend_countersfor the cache refreshes they triggerlitellm/proxy/utils.py,litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.pyconfig_paramslitellm/proxy/hooks/{parallel_request_limiter,parallel_request_limiter_v3,dynamic_rate_limiter,dynamic_rate_limiter_v3,batch_rate_limiter,batch_enqueued_tokens}.pyrate_limitslitellm/proxy/hooks/sensitive_data_routing.pysensitive_route_pinslitellm/proxy/hooks/{model_max_budget_limiter,max_budget_per_session_limiter,max_iterations_limiter,prompt_cache_prediction}.pymodel_budgets,session_budgets,session_iterations,prompt_cache_predictionslitellm/proxy/hooks/batch_redis_get.pyresponse_cache_phasefor the batched response-cache readlitellm/proxy/management_endpoints/{access_group_endpoints,internal_user_endpoints,key_management_endpoints}.py,litellm/proxy/management_helpers/utils.pyauth_objects(andspend_countersfor key spend resets)litellm/proxy/management_endpoints/{ui_sso,sso_helper_utils,sso/saml_sso}.py,litellm/proxy/anthropic_endpoints/gateway_endpoints.pysso_sessions/cli_sso_sessions, the post-login user cacheauth_objectslitellm/proxy/_experimental/mcp_server/{mcp_server_manager,utils}.py,litellm/proxy/management_endpoints/mcp_management_endpoints.pymcp_serverslitellm/proxy/_experimental/mcp_server/{oauth2_token_cache,outbound_credentials/dual_cache_token_backend,utils}.pymcp_oauth_tokenslitellm/proxy/_experimental/mcp_server/gateway_dcr_flow.pymcp_dcr_claimslitellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.pyauth_objectslitellm/proxy/agent_endpoints/identity_store.pyagent_identitieslitellm/proxy/response_polling/polling_handler.pyresponse_pollinglitellm/proxy/guardrails/guardrail_hooks/lasso/lasso.py,litellm/integrations/custom_guardrail.pyGUARDRAIL_SESSIONS_TARGET; guardrail session state declares itlitellm/llms/base_llm/managed_resources/base_managed_resource.pymanaged_resourceslitellm/scheduler.pyscheduler_queuelitellm/integrations/SlackAlerting/slack_alerting.py,hanging_request_check.pydaily_report_scheduleandrequest_statuslitellm/integrations/prometheus.pyauth_objectsenterprise/enterprise_hooks/blocked_user_list.pyauth_objectsenterprise/litellm_enterprise/enterprise_callbacks/send_emails/base_email.pybudget_alert_claimsenterprise/litellm_enterprise/proxy/hooks/managed_files.pymanaged_filesUser Flow
Before: an operator reading a request trace in Tempo cannot tell whether the response cache answered, where routing happened, or which Redis keys a span touched
auth /v1/chat/completions,redis request_redis_batch[3],redis async_get_cache, thenchat gpt-5.4-mini; the cache lookup is a bare Redis span after the model callredis async_get_cacheand nochatspan, nothing says a cache hit served itlitellm.service.callerreturns_run_under_circuit_breaker <- wrapper, and the span attributes include the full cache key with their api key hashAfter: the same two traces read as phases named by purpose, with every Redis span targeted and nested under the step that caused it
auth /v1/chat/completions->redis.pipeline auth_objects,route gpt-5.4-mini->redis.pipeline router_cooldowns,cache.get llm_response->redis.get llm_response, thenchat gpt-5.4-mini, and a linkedcache.set llm_response->redis.set llm_responsecache.get llm_response->redis.get llm_responsewith nochatspan, so the hit is visible at a glancename = "redis.pipeline mixed"lists the per-request pipelines withlitellm.redis.families = "rate_limits,spend_counters"; callers read_fill_from_db <- fetch, and no attribute carries a cache keyResearch: how other gateways and the OTel community name service spans
Every reference point agrees on
{operation} {low-cardinality target}and on parenting a datastore span under the step that caused it. OTel database semconv names spans{db.operation.name} {target}(GET,MGET,PIPELINEfor Redis,SELECT usersfor SQL) and forbids request-specific values in names; GenAI semconv names the model call{gen_ai.operation.name} {gen_ai.request.model}(chat gpt-5.4-mini), which is what thechatspan already follows. Kong's OTel plugin renderskong.access.plugin.<name>,kong.dns,kong.balancerandkong.database.queryas children of the request span, named by what the step does, never by the Lua function; Envoy and Istio name children by upstream cluster rather than by handler. Portkey and Helicone exposecache_status: HIT | MISSon the request span, and Cloudflare AI Gateway documents the cache lookup as a step before the provider call. This PR adopts the OTel pattern with litellm's own target vocabulary:cache.get llm_response/cache.set llm_responseas phases around the LLM call,route {model_group}as the phase around deployment selection,redis.{verb} {key_family}for the datastore calls beneath them, andredis.pipeline {family|mixed}for the coalesced round trips, with the raw method onlitellm.service.call_typefor anyone who filtered on itMetric compatibility
ServiceLoggerPayload.call_typekeeps the raw method name, so Prometheus (litellm_redis_latency_bucket{call_type=...}) and Datadog service metrics see exactly the labels they saw before;targetandcallerare additive fields the OTel mapper reads. Verified bytests/unit/test_service_logger.pyand the prometheus unit tests passing unchangedProducer audit (every service / phase span producer in
litellm/andenterprise/)Enumerated with
rgover every*service_success_hook(/*service_failure_hook(/phase_span(/start_phase_span(/_emitter.start_span(call (legacyopentelemetry.pyand V1-only loggers excluded). Parent column: live is a child of the server span, linked is a root linked to it because it ran after the response, metrics means the hook only feeds Prometheuscaching/redis_cache.py(one call site per public method)_SERVICE_VERB_BY_CALL_TYPE)redis.{verb} {family}caching/redis_batch.py(RedisBatchflush)request_redis_batch,post_call_redis_batchmixedredis.pipeline {family}/redis.pipeline mixed+litellm.redis.familiesauth {route}orroute {group}when the flush is theirs) / linked (post-call)caching/caching.pyresponse_cache_phase(wrapsCache.get_cache,async_get_cache,add_cache,async_add_cache,async_add_cache_pipeline;caching_handler.pyandbatch_redis_get.pyreuse it)cache.get/cache.setllm_responsecache.get llm_response,cache.set llm_responserouter.pyasync_get_available_deployment,async_get_available_deployment_for_pass_throughrouteroute {model_group}proxy/auth/user_api_key_auth.pyauth {route}auth_objects(inherited by every read inside)auth {route}proxy/auth/user_api_key_auth.pyroute metricrouteproxy/auth/auth_exception_handler.pyget_key_objectauth_objectspostgres get_key_objectproxy/db/log_db_metrics.py(owned by #44148, renamed by #44240)func.__name__postgres get_data,batch_write_to_db _PROXY_track_cost_callbackproxy/utils.pyProxyLogging.failure_handlercall_typepostgres {call_type}proxy/utils.py,proxy/litellm_pre_call_utils.py{callback class},add_litellm_data_to_requestrouter.pystrategy timing hooksacompletion,async_get_available_deployment,<strategy>.async_get_available_deploymentslitellm_core_utils/logging_utils.py(track_llm_api_timing){func} <- track_llm_api_timingproxy/common_utils/reset_budget_job.pyreset_budget_{budget_table,endusers,keys,users,teams}reset_budget_job reset_budget_keysredis.set pod_lock,redis.get pod_lock,redis.* auth_objectsproxy/db/db_transaction_queue/pod_lock_manager.py_emit_acquired_lock_event,_emit_released_lock_eventpod_lock_manager _emit_acquired_lock_eventredis.set pod_lock/redis.get pod_lockproxy/db/db_transaction_queue/spend_update_queue.py,daily_spend_update_queue.py,redis_update_buffer.py_emit_new_item_added_to_queue_event{service} _emit_new_item_added_to_queue_eventredis.* spend_queue_service_logger.pycaching/redis_cluster_cache.py,redis_semantic_cache.py,dual_cache.py,in_memory_cache.pyRedisCache, which emits)Every
call_typeemitted fromredis_cache.pyandredis_batch.pyis in_SERVICE_VERB_BY_CALL_TYPE;tests/unit/test_internal_context.py::test_no_call_type_the_redis_cache_layer_emits_can_fall_back_to_the_raw_method_namecollects them from the source and fails if any would render through the{service} {call_type}branchRedis producers and the key family they declare (
service_target/with_service_target), request path first:llm_responseCachefacade phases (Python handler,batch_redis_get, native lifecycle)auth_objectsauth {route}phase,auth_object_prefetch,auth_checks,handle_jwt,resolvers/store,user_api_key_cache,auth_cache_invalidation_pubsub,update_cacheobject write-back (declared at batch declaration time), management endpoint invalidations,budget_reservation,db_spend_update_writer,prometheusbudget refresh,user_api_key_auth_mcp,ui_ssopost-login cache,enterprise_hooks/blocked_user_listspend_countersspend_counter_batch,spend_counter_reseed,auth_checksspend reads,proxy_servercounter init and global spend scalar, key spend resets,reset_budget_jobrefreshesrouter_cooldownscooldown_cachesync and async reads and writes,cooldown_handlers._increment_allowed_fails(incr / ttl / expire),RoutingPrefetch.armandRoutingReadBatch.runwhen only cooldown keys go outrouter_cooldowns_usageRoutingPrefetch.arm/RoutingReadBatch.runwhen cooldown and usage keys ride one MGETrouter_usagerouter.pyRPM increments,routing_read_batchusage-only reads,router_strategy/{base_routing_strategy,least_busy,lowest_cost,lowest_latency,lowest_tpm_rpm,lowest_tpm_rpm_v2},pre_call_checks/{io_token_rate_limit_check,model_rate_limit_check}router_budgetsrouter_strategy/budget_limiter(reads, writes and the periodic sync)claude_code_session_router_bindingrouter.pyClaude Code session-router binding read, resolve, write, deleterouter_session_pinscaching/affinity_cache,pre_call_checks/deployment_affinity_check,complexity_routerprompt_cache_pins,prompt_cache_predictionsrouter_utils/prompt_caching_cache,proxy/hooks/prompt_cache_predictionrate_limitsproxy/hooks/{parallel_request_limiter,parallel_request_limiter_v3,dynamic_rate_limiter,dynamic_rate_limiter_v3,batch_rate_limiter,batch_enqueued_tokens}sensitive_route_pinsproxy/hooks/sensitive_data_routingmodel_budgets,session_budgets,session_iterationsproxy/hooks/{model_max_budget_limiter,max_budget_per_session_limiter,max_iterations_limiter}guardrail_sessionsintegrations/custom_guardrail,guardrail_hooks/lassoconfig_paramsproxy/utils.pyconfig param get / set / delete / prefetch,proxy_setting_endpointsresponse_pollingproxy/response_polling/polling_handlermanaged_resources,managed_filesllms/base_llm/managed_resources/base_managed_resource,enterprise/.../managed_filesmcp_servers,mcp_oauth_tokens,mcp_dcr_claimsmcp_server_manager,mcp_server/utils,mcp_management_endpoints,oauth2_token_cache,dual_cache_token_backend,gateway_dcr_flowagent_identitiesproxy/agent_endpoints/identity_storesso_sessions,cli_sso_sessions,login_throttleui_sso,sso_helper_utils,saml_sso,anthropic_endpoints/gateway_endpoints,auth/login_throttleBackground and out-of-request producers (every one declares a family, so none renders a bare
redis.{verb}any more):pod_lockpod_lock_manageracquire / renew / release,reset_budget_job,ptu_flat_cost_rollup,spend_capture_ratespend_queuedb_transaction_queue/redis_update_buffergateway_request_queueproxy/db/gateway_request_trackinghealth_checksrouter_utils/health_state_cache,health_check_utils/shared_health_check_managerscheduler_queuelitellm/scheduler.pydaily_report_schedule,request_statusSlackAlerting/slack_alerting,SlackAlerting/hanging_request_checkbudget_alert_claimsenterprise/.../send_emails/base_emailmcp_servers,mcp_oauth_tokenstests/unit/test_internal_context.py::test_every_redis_producer_declares_a_key_familywalkslitellm/andenterprise/(the cache layer itself excluded), matches directredis_cache.*/self._redis_cache.*/async_*_cache(calls and the batch and reservation entry points (reserve_redis_batch_reads,declare_batch_get,_prepare_batch_get,batch.mget,batch.set), and fails when the enclosing function or module declares noservice_target/with_service_target;test_every_redis_cache_call_type_maps_to_a_verbproves noRedisCachemethod can render theredis {method}fallbackCaller propagation
_get_call_stack_infowalks the producer's own frames and skips the forwarders (RedisCachefacades,_run_under_circuit_breaker/wrapper,RedisBatch.run_alone/_settle_alone, the nativerust_bridge.lifecycle/streamsdrivers). A batch op settled in a task of its own (auth prefetch, spend counter batch, routing prefetch) would hit the event loop right after the forwarders, so it captures_get_call_stack_info()andcurrent_service_target()where it is declared and restores both around its settlement;user_api_key_authdoes the same before itsgather. A forwarder-only chain reports the propagated caller orunknown. Regression tests:test_call_stack_info_is_unknown_when_only_wrappers_are_found_and_nothing_was_threaded,test_call_stack_info_reports_the_threaded_caller_when_only_wrappers_are_found,test_service_caller_is_inherited_by_a_task_spawned_inside_it_and_cleared_afterRaw key policy
redis_cache.pyno longer passesevent_metadata={"key": key}on get / set / increment / delete, sokey(legacy mapper) andlitellm.metadata.key(genai mapper) are gone from every Redis span. The span is named by key family; the raw method stays onlitellm.service.call_type/db.operation.name; pipelines carrylitellm.metadata.op_countand, when mixed,litellm.redis.families, both boundedNative (Rust) path ordering
The Rust execution calls
Cache.async_get_cache/async_add_cachefromlifecycle._settle, so with the phases on the facade the native lookup and store render ascache.get llm_response/cache.set llm_responsewith targeted children and meaningful callers (aattempt <- _aattempt_native). What does not move: onLITELLM_RUST=1the native lifecycle fires pre-call logging (which openschat {model}) before it yields the cache await, socache.get llm_responsestarts a few ms afterchat {model}and is its sibling rather than its predecessor. Reordering those steps means a second lifecycle driver in Python, whichlitellm/rust_bridge/AGENTS.mdrules out ("Keep one driver ... do not create a second implementation"). This is the one known trace-shape limitation left and it is listed under CaveatsMetadata path
RedisBatchflush ->_pipeline_service_event(ops)->async_service_success_hook(call_type=self.name, event_metadata={"op_count": N, "redis_families": "a,b"})underservice_target(family | "mixed")->ServiceLoggerPayload.event_metadata->ServiceSpanData.from_payload->sanitize_event_metadata(scalars only, sensitive keys dropped, bounded) -> genai mapper writeslitellm.metadata.op_count(int) and liftsredis_familiestolitellm.redis.families; the legacy mapper writesop_count. Pinned bytest_pipeline_op_count_lands_as_an_int_on_both_metadata_keysandtest_mixed_pipeline_families_land_on_their_own_bounded_attributePhase and role spans
{http.method} {http.route}(POST /v1/chat/completions)auth {route}route {model_group}cache.get llm_responsecache.set llm_response{gen_ai.operation.name} {gen_ai.request.model}(chat gpt-5.4-mini)execute_guardrail {guardrail_name}{method} {tool_name},{http_method} {route}redis.{verb} {key_family}, `redis.pipeline {family,postgres {function}` (renamed by #44240)Variable-cardinality values in names are limited to route, model group, model, guardrail name, MCP tool name and key family; no count, key, hash, id or token appears in any name
Caveat taxonomy audit (knowledge note A-BB)
Diff audited against every item of the PR-review caveat taxonomy before the final push. Confirmed and fixed in this PR:
with_service_targetcoroutine that the GC closed from another context raisedValueErroronContextVar.reset;_restoresuppresses it andtest_a_targeted_coroutine_closed_from_another_context_does_not_raisepins itRedisBatchop declared under one target and settled in another task lost the target; it is captured at declaration (_Op.target,_Op.caller) and restored at settlement, pinned by the routing prefetch andupdate_cachetestssanitize_event_metadatareturn type widened fromdict[str, str]todict[str, MetadataScalar]soop_countstays an int; both mappers and their tests updated, no caller outsidelitellm/integrations/otelCachefacade so sync and async, Python and native,/v1/chat/completions,/v1/messagesand/v1/responsesall getcache.get/cache.set llm_response; the live matrix below covers each pair on both runtimeskey/litellm.metadata.keyon every Redis span; dropped, the name carries the family insteadrouter_usageinto the module's shared context (caught by CI'smiscshard); the coroutine is now sent and closed from copied contextstest_caching_handler.py), the route phase (test_router.py::test_deployment_selection_runs_inside_a_route_phase_named_after_the_model_group), span names, intop_countandlitellm.redis.familiesthrough both mappers (test_otel_v2_logger.py), caller propagation acrosscreate_task/gather(test_redis_batch.py,test_redis_cache.py,test_internal_context.py), pipeline target selection and the routing-read family rule (test_request_redis_batch_pre_call.py), tree-wide producer scan and the no-fallback check (test_internal_context.py)frame(Greptile P2); rewritten as an immutable tuple walk that stops after two names, no parameter mutation anywhere in the diffloggingdestination whenever operator Arize credentials existed; the built config now keeps only exporters owned by the preset,test_a_logger_built_beside_another_v2_logger_keeps_only_its_backends_exporter(anchored and unanchored) asserts one span per exporter; a preset owning no exporter (langtrace) keeps the base,test_a_preset_that_owns_no_exporter_keeps_the_collector_it_was_built_onchatstart differently (pre-call carrier vs logging object birth); the deferred path now readsapi_call_start_time, thenmodel_call_details, then the pre-call event,test_deferred_close_starts_at_the_provider_handoff_not_the_logging_objects_birthchat; it parents under the route phase and carrieslitellm.request.purpose=autorouter_classifierfrom the typedinternal_call_origin, on the carrier path and on the deferred close path a destination logger takes (_llm_call_parent_context,test_a_classifier_closed_without_a_carrier_still_nests_under_the_route_phase)cast-ok/pyright: ignoresuppressions with reasons and the two-line docstring on_pipeline_service_eventOptional[...], noAny, no baredict;target: str | None,Finalon new locals, code lines under 120Not applicable, with reason:
ServiceLoggerPayload.targetis optional with defaultNoneservice_target(auth_objects)is a label around the existing auth phase, no lookup result is read from itRoutingPrefetchonly gain a context-manager label, androute {group}wraps the existing selection call without touching its arguments or result*_TARGETconstant lives next to its primary producer and is imported, not duplicated; H7-H10: no UI bundle, Prisma, CI filter or docs pathContextVarholds one immutable tuple per task, no growthevent_metadatais built fresh per flushoriscurrent_service_caller() or "unknown", where an empty caller string is not a legitimate value;_pipeline_service_eventusesnext(iter(families), None)rather than truthiness;sanitize_event_metadatatype-checks and keeps0andFalseowner, not on credentialssuper(), MRO or duplicated class changeReview gates
CodeQL: the one
github-advanced-security[bot]review comment (py/unused-import,Awaitableinlitellm/_internal_context.py) was raised ata0c8249eba; the import has been used sincec6d25e9bcd, the alert readsfixedand the bot resolved its own thread. CodeQL does not run on PRs into feature branches, so the gate stays N/A until #44148 lands and this PR targetsmainGreptile: re-triggered with a bare
@greptileaionc1184c88ee; the c1184c8 round's findings (Langtrace losing its only exporter, the deferred classifier span losing its route parent, the scan skippingself._redis_cache.*calls) are fixed with regression tests, every earlier P2 was fixed or rebutted in its own thread and the bot closed its own threadsosv-scan: not a required check, fails on the base too (
GHSA-vfj7-8cjw-p6xm,braces3.0.3 dev dependency inui/litellm-dashboard/package-lock.json, no fixed release published); this PR does not touch a lockfilecodecov/patch: not a required check. Its early status is emitted before the shard uploads finish and is not re-sent
Pre-Submission checklist
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)Screenshots / Proof of Fix
Shared setup: local proxy with real Redis (127.0.0.1:6379) and real Postgres,
LITELLM_OTEL_V2=1 OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental OTEL_EXPORTER=console, config withcallbacks: ["otel"],cache: true(redis),enable_redis_auth_cache: true, mock-responsegpt-5.4-miniandclaude-sonnet-4-5deployments, and aflaky-modelgroup with one dead deployment (api_base: http://127.0.0.1:9,max_retries: 0,allowed_fails: 1, 60s cooldown) plus a healthy one. Every request uses a virtual key from POST /key/generate, so the auth prefetch and the per-request pipeline run. Trees are parsed from the console exporter: start offset and duration in ms, indentation = parent, thenkind | call_type | target | caller | op_count | link. Before is the merge base with the master key; After is the full matrix at the PR tip.Each case below is the curl above for that endpoint followed by the trace the proxy exported (columns: start ms, duration ms, name with indent = parent, kind | call_type | target | caller | metadata | link). Mock deployments on the Python path, the real Anthropic API for
claude-sonnet-4-5on the native pathBefore (59cdb29, the #44148 base; trees captured at e6639d1 where the branch was cut, the base only gates the postgres spans)
/v1/chat/completions, cache miss (lookup is a bare
redis async_get_cacheafterchat, the write a loose linked root)curl /v1/chat/completionsas in the shared setup,modelgpt-5.4-miniExported trace:
/v1/chat/completions, cache hit (nothing says the cache answered)
curl /v1/chat/completionsas in the shared setup,modelgpt-5.4-miniauth /v1/chat/completions->redis async_get_cache,redis request_redis_batch[1], nochatspan and nothing naming the response cache/v1/messages streamed, production at 237ed76 (
LITELLM_RUST=1)a streaming POST /v1/messages from claude-cli through the prod gateway, read in Tempo, trace 80e00855
Exported trace (bare
redis.get/redis.setafterchat,_run_under_circuit_breaker <- wrappercallers, raw key on the spans):/v1/messages, production at 83600ac (
LITELLM_RUST=0, 3b64bfa included)redis.mgetat 58.8 ms, 2.7 ms, callerarm <- arm_routing_read_prefetch, flat under the server span, nolitellm.service.target. That is the routing prefetch armed before deployment selection; the family it serves was declared only around the later flush. Already named in that trace:redis.get sensitive_route_pins,redis.mget prompt_cache_pins,redis.mget spend_counters,cache.get llm_response -> redis.get llm_responsebeforechatAfter,
LITELLM_RUST=1(trees from 3d3c972949; the c1184c8 rerun gave the same shapes, its span-name list is in the last section)Same setup,
LITELLM_RUST=1, theclaude-sonnet-4-5deployment on the real Anthropic API (the mock deployments do not take the native path;/v1/messagesdoes, which is what production runs), amulti-modelgroup with two live deployments,PROXY_BATCH_WRITE_AT=5so the pod lock and budget reset tick during the run. Columns: start ms, duration ms, name (indent = parent), kind | call_type | target | caller | metadata | link/v1/responses, cache miss
curl /v1/responsesas in the shared setup,modelgpt-5.4-miniExported trace:
/v1/chat/completions on
flaky-model(first deployment dead, cooldown written, fallback picked)curl /v1/chat/completionsas in the shared setup,modelflaky-model,cache: {"no-cache":true}Exported trace:
/v1/chat/completions on
multi-model(two live deployments, route phase owns the cooldown read)curl /v1/chat/completionsas in the shared setup,modelmulti-model,cache: {"no-cache":true}Exported trace:
After (
LITELLM_RUST=0; same note)/v1/chat/completions, cache miss (
cache.get llm_responseprecedeschat)curl /v1/chat/completionsas in the shared setup,modelgpt-5.4-miniExported trace:
Destination logger and autorouter (c1184c8)
Setup on top of the shared one: operator
ARIZE_SPACE_ID/ARIZE_API_KEYset in the proxy env (values not shown),ARIZE_HTTP_ENDPOINT=http://127.0.0.1:4318/v1/tracespointing at a local sink that logs eachPOST /v1/traceswith the span names it carries, a key generated with"metadata":{"logging":[{"callback_name":"arize"}]}, and anauto-routermodel group whose classifier isclassifier-modelBefore (3d3c972949): the logger built for the key's
arizedestination kept the operator's console exporter next to its own Arize exporter, so the operator sink received the samechat gpt-4otwice per call, the second copy starting at the logging object's creation and carrying the openinference attributes. The prod trace that reported it shows the same twochat {model_group}spans, samelitellm.call_id, same end time, 20 traces in six hours on that one keyAfter (c1184c8): the destination logger keeps only the Arize-owned exporter; the operator sink sees one
chatper call and the Arize sink sees oneAutorouter,
POST /v1/chat/completionswith"model":"auto-router",LITELLM_RUST=1(prod before: the classifierchatwas a flat sibling of the realchatunder the server span with nothing telling them apart)Exactly one
chatspan per LLM call reached the operator sink across the whole c1184c8 matrix (14 request cases, both Rust modes)POST /v1/messages,LITELLM_RUST=1, miss then hit, at c1184c8 (the one known limitation is visible:cache.getopens 0.4 ms afterchat)Background tick in the same run (pod lock manager, out of any request, INTERNAL roots)
Distinct Redis, cache, route and chat span names across the c1184c8 matrix with
LITELLM_RUST=1(theLITELLM_RUST=0run produced the same list), no bareredis.*left:Type
🐛 Bug Fix
Caveats (if any)
Medium
LITELLM_RUST=1, production):cache.get llm_responsestarts afterchat {model}, as its siblingchat) before yielding the cache awaitlitellm/rust_bridge/AGENTS.mdforbids ("Keep one driver ... do not create a second implementation")LITELLM_RUST=0it precedeschatLow
litellm.service.callervalues change;unknownreplaces forwarder-only chains, saved filters on wrapper names stop matchingkey/litellm.metadata.keygone from Redis spans by design (api key hash, session id); nothing in the repo read themredis async_get_cache,redis request_redis_batch[N]or bareredis.pipelinestop matching;db.operation.namestill has the methodstart_phase_spanparents like a service span: post-response phases become linked roots, live phases unaffectedredis.set auth_objects(_write_back <- _fill_from_db); the standalone client coalesces them into one pipeline, by designuser_api_key_authinheritsauth_objectsas target; the Postgres names are fix(otel): name postgres service spans by operation and table #44240'supdate_cachelabels user, team, end-user and tag spend write-backauth_objects(cached auth objects) and only the global spend scalarspend_counters, by designchatspan opened by the success callback (a key'sloggingdestination, no pre-call carrier) starts at the provider handoff, so it is shorter than the operator's copy, which starts at pre-call; by design, it bounds the provider attemptroutephase instead of the request root; saved queries on them as root children stop matching_Op, pinned by behavioral testsFinal Attestation
Link to Devin session: https://app.devin.ai/sessions/091e913c04be4ee28a0ef66ef5bf33ee
Open in Devin Desktop: https://app.devin.ai/desktop/session/091e913c04be4ee28a0ef66ef5bf33ee?variant=devin
Requested by: @yassin-berriai