Skip to content

fix(responses): keep the namespace == name shape for deferred top-level tools - #50602

Merged
kerry-berri merged 12 commits into
mainfrom
litellm_responses_deferred_tool_namespace
Nov 10, 2026
Merged

kerry-berri merged 12 commits into
mainfrom
litellm_responses_deferred_tool_namespace

Conversation

@kerry-berri

@kerry-berri kerry-berri commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Supersedes #50106 (same two commits by @homenshum-cheiron kept as-is, plus fix commits on top, opened here because the fork branch cannot be pushed to).

Handwritten 1-3 sentence description

Deferred top-level function tools (defer_loading: true, found through Claude's tool search) now come back from /v1/responses as namespace == name, the shape the OpenAI Agents SDK keys on, and that echo stays a bare tool name on the way back to the provider, in live requests and in stored previous_response_id history.

Details

TLDR

Problem this solves:

  • Agents SDK runs crash after Claude's tool search finds a deferred tool
  • The bridge omits the namespace == name mark the SDK needs
  • An echoed call with that mark would reach the provider as name__name

How it solves it:

  • Deferred top-level tools come back with namespace equal to name
  • Streaming and non-streaming replies both carry it
  • A replayed call with namespace == name keeps the bare name, also in stored history
  • A namespace holding a member of its own name still joins, as before
  • A deferred tool loaded by the client's own tool search (execution: "client") carries the same mark

User Flow

Before: an Agents SDK app on Claude crashes after its first tool search

  1. The app sends POST https://litellm-domain/v1/responses with 6 function tools marked defer_loading: true, {"type": "tool_search"} and model claude-opus-5 (Bedrock Invoke)
  2. The reply holds a tool_search_call, then a function_call named get_reporting_categories with "namespace": null
  3. The SDK stops with ModelBehaviorError: Tool get_reporting_categories not found in agent ia

After: the same app finishes the turn

  1. The app sends the same POST
  2. The function_call now carries "namespace": "get_reporting_categories"
  3. The SDK runs the tool and sends its output back; the call reaches Bedrock named get_reporting_categories, and Claude answers

Relevant issues

Part of #50104 (item 1). Supersedes #50106.

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have added meaningful tests
  • The handful of test files covering my change pass locally, e.g. 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
  • My PR passes all required CI/CD checks (e.g., lint, schema.d.ts sync check, etc.)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • Every automated review on my PR's latest commit has finished, and I have addressed or replied to each of its findings before requesting a maintainer review

Screenshots / Proof of Fix

Shared setup, run on 2026-11-07 against a live Bedrock account in us-east-1 (the issue's bare id anthropic.claude-opus-5 has no on-demand throughput there, so the us. prefix was used on the same bedrock/invoke/ route). Both legs ran the same proxy command from a worktree at the named commit, two uvicorn workers each, with Postgres and no Redis (nothing in the diff touches router state or rate limit counters, and each side is one proxy process), store_prompts_in_spend_logs: true (needed for previous_response_id to resolve on a worker other than the one that served turn 1) and LITELLM_LOCAL_ANTHROPIC_BETA_HEADERS=true.

config.yaml, env var names and proxy command
model_list:
  - model_name: claude-opus-5
    litellm_params:
      model: bedrock/invoke/us.anthropic.claude-opus-5
      aws_region_name: us-east-1
      aws_profile_name: litellm-dev
  - model_name: groq-llama
    litellm_params:
      model: groq/openai/gpt-oss-120b
      api_key: os.environ/GROQ_API_KEY
general_settings:
  master_key: <redacted>
  store_prompts_in_spend_logs: true
litellm_settings:
  drop_params: true

Env: AWS_PROFILE, LITELLM_LOCAL_ANTHROPIC_BETA_HEADERS=true, LITELLM_LOCAL_MODEL_COST_MAP=True, DATABASE_URL, PYTHONPATH=<worktree>:<worktree>/enterprise

python litellm/proxy/proxy_cli.py --config config.yaml --port <port> --num_workers 2 --detailed_debug --use_v2_migration_resolver
agent.py: OpenAI Agents SDK 0.24.0, six deferred tools plus ToolSearchTool, as run
"""Agents SDK 0.24.0 + OpenAIResponsesModel at the proxy, six deferred tools + ToolSearchTool. Usage: python agent.py <port>, STREAM=1 for the streamed run."""
import asyncio, json, os, sys
from agents import Agent, Runner, function_tool, ToolSearchTool, OpenAIResponsesModel, set_tracing_disabled
from openai import AsyncOpenAI
set_tracing_disabled(True)
port = sys.argv[1] if len(sys.argv) > 1 else "4100"
client = AsyncOpenAI(base_url=f"http://localhost:{port}/v1", api_key=os.environ["LITELLM_MASTER_KEY"])

@function_tool(defer_loading=True)
def get_reporting_categories() -> str:
    """Return the list of reporting categories available in the IA reporting system."""
    return json.dumps(["revenue", "churn", "activation", "support_load"])

@function_tool(defer_loading=True)
def get_weather(city: str) -> str:
    """Current weather for a city."""
    return f"sunny in {city}"

@function_tool(defer_loading=True)
def get_stock_price(ticker: str) -> str:
    """Latest stock price for a ticker."""
    return f"{ticker}: 101.5"

@function_tool(defer_loading=True)
def translate_text(text: str, language: str) -> str:
    """Translate text into a language."""
    return f"[{language}] {text}"

@function_tool(defer_loading=True)
def convert_currency(amount: float, src: str, dst: str) -> str:
    """Convert an amount between currencies."""
    return f"{amount} {src} = {amount*0.9:.2f} {dst}"

@function_tool(defer_loading=True)
def get_calendar_events(day: str) -> str:
    """Calendar events on a given day."""
    return f"no events on {day}"

agent = Agent(name="ia", instructions="Use the tools. Search for a tool when you need one.",
              model=OpenAIResponsesModel(model="claude-opus-5", openai_client=client),
              tools=[get_reporting_categories, get_weather, get_stock_price, translate_text, convert_currency, get_calendar_events, ToolSearchTool()])

async def main():
    try:
        q = "Which reporting categories exist? Use the reporting tool, then answer in one line."
        if os.environ.get("STREAM"):
            r = Runner.run_streamed(agent, q, max_turns=6)
            async for _ in r.stream_events(): pass
        else:
            r = await Runner.run(agent, q, max_turns=6)
        print("FINAL:", r.final_output)
        for item in r.new_items:
            raw = getattr(item, "raw_item", None)
            t = raw.get("type") if isinstance(raw, dict) else getattr(raw, "type", None)
            print("ITEM:", type(item).__name__, t)
    except Exception as e:
        print("ERROR:", type(e).__name__, str(e)[:300])
asyncio.run(main())
raw_call.py: the same first turn as a raw /v1/responses request, as run
"""Send the Agents SDK's first turn as a raw /v1/responses request and print the function_call item."""
import json, os, sys, httpx
port = sys.argv[1]
key = os.environ["LITELLM_MASTER_KEY"]  # proxy master key
def tool(name, desc, props=None, required=None):
    return {"type": "function", "name": name, "description": desc, "defer_loading": True,
            "parameters": {"type": "object", "properties": props or {}, "required": required or [], "additionalProperties": False}}
body = {
    "model": "claude-opus-5",
    "instructions": "You are ia, an assistant for the IA reporting system. Use tools when they help.",
    "input": "What reporting categories are available in the IA reporting system?",
    "tools": [
        tool("get_reporting_categories", "Return the list of reporting categories available in the IA reporting system."),
        tool("get_weather", "Current weather for a city.", {"city": {"type": "string"}}, ["city"]),
        tool("get_stock_price", "Latest stock price for a ticker.", {"ticker": {"type": "string"}}, ["ticker"]),
        tool("translate_text", "Translate text into a language.", {"text": {"type": "string"}, "language": {"type": "string"}}, ["text", "language"]),
        tool("convert_currency", "Convert an amount between currencies.", {"amount": {"type": "number"}, "src": {"type": "string"}, "dst": {"type": "string"}}, ["amount", "src", "dst"]),
        tool("get_time", "Current time in a timezone.", {"tz": {"type": "string"}}, ["tz"]),
        {"type": "tool_search"},
    ],
}
r = httpx.post(f"http://localhost:{port}/v1/responses", headers={"Authorization": f"Bearer {key}"}, json=body, timeout=180)
print("status:", r.status_code)
for item in r.json().get("output", []):
    if item.get("type") in ("function_call", "tool_search_call"):
        print(json.dumps({k: item.get(k) for k in ("type", "name", "namespace", "call_id", "status")}))
prev_id.py: stored history replay through previous_response_id, as run
"""previous_response_id replay: turn 2 continues the stored turn 1 with only the function_call_output. Usage: python prev_id.py <port>"""
import json, os, sys, time, httpx
port = sys.argv[1]
H = {"Authorization": "Bearer " + os.environ["LITELLM_MASTER_KEY"]}
URL = f"http://localhost:{port}/v1/responses"
def ftool(name, desc, props=None):
    return {"type": "function", "name": name, "description": desc, "defer_loading": True,
            "parameters": {"type": "object", "properties": props or {}, "required": list((props or {}).keys()), "additionalProperties": False}, "strict": True}
tools = [ftool("get_reporting_categories", "Return the list of reporting categories available in the IA reporting system."),
         ftool("get_weather", "Current weather for a city.", {"city": {"type": "string"}}),
         ftool("get_stock_price", "Latest stock price for a ticker.", {"ticker": {"type": "string"}}),
         ftool("translate_text", "Translate text into a language.", {"text": {"type": "string"}, "language": {"type": "string"}}),
         ftool("convert_currency", "Convert an amount between currencies.", {"amount": {"type": "number"}, "src": {"type": "string"}, "dst": {"type": "string"}}),
         ftool("get_calendar_events", "Calendar events on a given day.", {"day": {"type": "string"}}),
         {"type": "tool_search"}]
q = "Which reporting categories exist? Use the reporting tool, then answer in one line."
r1 = httpx.post(URL, headers=H, json={"model": "claude-opus-5", "input": q, "tools": tools}, timeout=180).json()
calls = [o for o in r1.get("output", []) if o.get("type") == "function_call"]
print("TURN1 id:", r1.get("id")[:24] + "...", "function_call:", [(c["name"], c.get("namespace")) for c in calls])
if not calls:
    sys.exit(0)
time.sleep(20)  # let the spend log land so turn 2 resolves on either worker
r2 = httpx.post(URL, headers=H, json={"model": "claude-opus-5", "previous_response_id": r1["id"], "tools": tools,
      "input": [{"type": "function_call_output", "call_id": calls[0]["call_id"], "output": json.dumps(["revenue", "churn", "activation", "support_load"])}]}, timeout=180).json()
print("TURN2 status:", r2.get("status"), "error:", r2.get("error"), "text:", next((c.get("text", "")[:120] for o in r2.get("output", []) if o.get("type") == "message" for c in o.get("content", [])), None))

LITELLM_MASTER_KEY holds the proxy master key for all three scripts.

Before (07c7229, the merge base on main)

Captured stdout, the first two lines are pwd and git rev-parse --short HEAD of the tree the proxy ran from:

/home/ubuntu/kstack50104/wt_main
07c7229895
$ python agent.py 4110
ERROR: ModelBehaviorError Tool get_reporting_categories not found in agent ia
$ STREAM=1 python agent.py 4110
ERROR: ModelBehaviorError Tool get_reporting_categories not found in agent ia
$ python raw_call.py 4110
status: 200
{"type": "tool_search_call", "name": null, "namespace": null, "call_id": "srvtoolu_bdrk_01YSRKuaKZUhfDFJ79QTXKpM", "status": "completed"}
{"type": "tool_search_call", "name": null, "namespace": null, "call_id": "srvtoolu_bdrk_01T4g1dFkokzNx1MVUvVCi8s", "status": "completed"}
{"type": "function_call", "name": "get_reporting_categories", "namespace": null, "call_id": "toolu_bdrk_01FoYy8UNzLsicWeVxDBz2jN", "status": "completed"}

Client-side tool search (before 07c7229, after 4dc55ed)

The tip 4dc55ed adds the client-side search route Greptile flagged: a deferred tool the client's own tool_search (execution: "client") loaded was bridged without its defer_loading, so the response path had no deferred name to mark and the call came back with namespace: null. The bridge now keeps the deferral on a loaded tool that the request listed as deferred (for the name map only; _deferral_the_route_honors strips it again before the provider sees the request, same as before). Same proxies as above (start_proxy.sh, two uvicorn workers each, config_main.yaml, Bedrock Invoke us.anthropic.claude-opus-5), the merge base on 4109 and 4dc55ed on 4110.

# client_search_call.py
"""Client-side tool search turn: the client already searched and loaded `deploy`; print the model's call shape."""
import json, os, sys, httpx
port = sys.argv[1]
key = os.environ["LITELLM_MASTER_KEY"]
deploy = {"type": "function", "name": "deploy", "description": "Deploy a named service to production.",
          "parameters": {"type": "object", "properties": {"service": {"type": "string"}}, "required": ["service"], "additionalProperties": False}}
body = {
    "model": "claude-opus-5",
    "instructions": "You are an ops assistant. Use tools when they help.",
    "input": [
        {"type": "message", "role": "user", "content": "Deploy the billing service to production now."},
        {"type": "tool_search_call", "call_id": "srch_1", "execution": "client", "arguments": {"query": "deploy"}},
        {"type": "tool_search_output", "call_id": "srch_1", "status": "completed", "execution": "client", "tools": [deploy]},
    ],
    "tools": [
        {"type": "tool_search", "execution": "client"},
        {**deploy, "defer_loading": True},
        {"type": "function", "name": "get_time", "description": "Current time in a timezone.", "defer_loading": True,
         "parameters": {"type": "object", "properties": {"tz": {"type": "string"}}, "required": ["tz"], "additionalProperties": False}},
    ],
}
r = httpx.post(f"http://localhost:{port}/v1/responses", headers={"Authorization": f"Bearer {key}"}, json=body, timeout=180)
print("status:", r.status_code)
for item in r.json().get("output", []):
    if item.get("type") in ("function_call", "tool_search_call"):
        print(json.dumps({k: item.get(k) for k in ("type", "name", "namespace", "call_id", "arguments")}))
    elif item.get("type") == "message":
        print("message:", json.dumps(item.get("content"))[:200])
$ python client_search_call.py 4109    # merge base 07c7229895
status: 200
message: [{"type": "output_text", "text": "The deploy tool is loaded. Deploying now.", "annotations": []}]
{"type": "function_call", "name": "deploy", "namespace": null, "call_id": "toolu_bdrk_01EfxHLJnnc9Y5JGb1fMwMQ5", "arguments": "{\"service\": \"billing\"}"}

$ python client_search_call.py 4110    # 4dc55ed959
status: 200
{"type": "function_call", "name": "deploy", "namespace": "deploy", "call_id": "toolu_bdrk_0133u2pNC57gGYic3pp5QNjq", "arguments": "{\"service\": \"billing\"}"}

Unit coverage for the same path: test_a_loaded_deferred_tool_keeps_its_deferral_so_its_calls_read_back_as_namespace_equals_name, test_a_loaded_tool_that_was_never_deferred_stays_undeferred, test_tools_loaded_by_a_client_side_search_go_out_undeferred (anthropic, bedrock, gemini) and test_transform_chat_completion_response_tool_loaded_by_client_side_search_has_namespace_equal_to_name.

After (53d1f64, carried to f8d0834)

The tip f8d0834 adds one commit on top of the tested 53d1f64 that only hands the request's tools to three more input conversions (the guardrail provenance pass, the prompt caching pre-call check, the Rust precall token count), none of which the Agents SDK flow below crosses, so these legs carry. Focused checks at f8d0834: the mapped unit tests of those three files (357 passed) and the Groq cells under /live-pr-risk below.

/home/ubuntu/kstack50104/wt_fix
53d1f64dbd
$ python agent.py 4109
FINAL: The reporting categories are: revenue, churn, activation, and support_load.
ITEM: MessageOutputItem message
ITEM: ToolSearchCallItem tool_search_call
ITEM: ToolCallItem function_call
ITEM: ToolCallOutputItem function_call_output
ITEM: ReasoningItem reasoning
ITEM: MessageOutputItem message
$ STREAM=1 python agent.py 4109
FINAL: The reporting categories are: revenue, churn, activation, and support_load.
ITEM: MessageOutputItem message
ITEM: ToolSearchCallItem tool_search_call
ITEM: ToolCallItem function_call
ITEM: ToolCallOutputItem function_call_output
ITEM: MessageOutputItem message
$ python raw_call.py 4109
status: 200
{"type": "tool_search_call", "name": null, "namespace": null, "call_id": "srvtoolu_bdrk_019cEm9mr5F3hkt2W7wEUAGw", "status": "completed"}
{"type": "tool_search_call", "name": null, "namespace": null, "call_id": "srvtoolu_bdrk_013enFmXHr27VjJaDx5xtVxL", "status": "completed"}
{"type": "function_call", "name": "get_reporting_categories", "namespace": "get_reporting_categories", "call_id": "toolu_bdrk_01KCgR8vHaguVbLezdRJWUCT", "status": "completed"}
$ python prev_id.py 4109
TURN1 id: resp_K63Q_tns5XV8QnScydh... function_call: [('get_reporting_categories', 'get_reporting_categories')]
TURN2 status: completed error: None text: The reporting categories are: revenue, churn, activation, and support_load.

Every tool_use the proxy sent to Bedrock in the after runs (proxy log, --detailed_debug, grep -ao "'type': 'tool_use', 'id': '[^']*', 'name': '[a-z_]*reporting[a-z_]*'") is named get_reporting_categories, never get_reporting_categories__get_reporting_categories.

The stored history replay (prev_id.py) has no before leg. The merge base never emits namespace == name, so a turn stored by it carries namespace: null and replays bare there too. The check guards the regression the first fix commit would have had on its own (an echoed namespace == name call joined to name__name when stored history is rebuilt), plus the unit tests test_function_call_echo_with_namespace_equal_to_name_keeps_bare_name_without_request_tools and test_message_history_keeps_the_joined_name_of_a_stored_self_named_namespace_member.

Seen on both sides while running this, not caused by the PR: with two workers and before store_prompts_in_spend_logs: true was set, turn 2 landing on the other worker found the spend log with empty messages / response and sent Bedrock a lone tool_result (400 unexpected tool_use_id). The merge base did the same, so the setting above was added to both sides.

/live-pr-risk at f8d0834

Base 07c7229 and head f8d0834, one proxy each with two uvicorn workers, same config, same Bedrock Invoke model, same cells in the same order (the cells first ran at d19b75f on one worker, the malformed tools cells were rerun at 29f1687 after the accessor changed, the Agents SDK, raw and stored replay legs were rerun at 53d1f64, the chat-only provider and token count cells ran at f8d0834). Every cell matched base to head in status, function_call name and namespace, and the tool_use names the proxy sent to Bedrock.

  • Changed surface: transform_responses_api_input_to_messages (new self_named_namespace_members threading, request tools read through request_tools, which keeps the object entries of the list and is now also what the streaming iterator hands to namespace_tool_name_map), namespace_tool_name_map (adds name -> (name, name) for deferred top-level tools), _transform_responses_api_function_call_to_chat_completion_message (a namespace == name call keeps its bare name unless a namespace holds a member of its own name), ResponsesSessionHandler stored replay (passes the stored turn's tools), /v1/responses/input_tokens, the guardrail provenance pass in guardrail_translation/handler.py, prompt_caching_deployment_check.py and router_rust/steps/precall.py (each now hands the request's tools to the input transformer, so a namespace member named after its namespace keeps name__name there as on the request path)
  • Dependents, verified live base vs head: plain function tool call, echo and stream (namespace stays null, bare name upstream), a namespace holding a member of its own name on call and echo, a namespace member sharing a top-level tool's name, tools as a string, a list holding a string, and a namespace whose tools is a string (all 200 on both sides, non-streamed and streamed), deferred tool through the Agents SDK plain and streamed, previous_response_id replay
  • Chat-only provider behind the bridge, where the namespace__member join reaches the wire (Groq openai/gpt-oss-120b), base vs head: a namespace rc_ns holding a member rc_ns comes back as function_call name rc_ns, namespace rc_ns on both sides, and its echo reaches Groq as rc_ns__rc_ns on both sides (11 of 11 outbound tool names in each proxy log)
  • POST /v1/responses/input_tokens on that model (local estimate, no provider call): same count on both sides for the rc_ns / rc_ns echo, and the counted messages carry rc_ns__rc_ns on both; a deferred rc_def echo with namespace == name is counted as rc_def__rc_def on the base and rc_def on the head, the deferred shape. On Bedrock the endpoint answered 403 on both sides (the QA role lacks bedrock-mantle:CountTokens)
  • Client-side tool search at 4dc55ed, base vs head on the same Bedrock Invoke model: a deferred deploy loaded by the client's own search comes back as function_call deploy with namespace: null on the base and namespace: "deploy" on the head; the loaded tool reaches the provider undeferred on both sides
  • Dependents covered by tests only: custom_guardrail, parallel_request_limiter_v3, context_compaction, the bridge streaming iterator, which call the input transformer with an unchanged signature and only see a different message when the input holds a namespace == name function call
  • Breaking or backward incompatible: none observed. The one intended observable change is namespace on a deferred top-level function_call going from null to the tool's name
  • Pre-existing, same on both sides: previous_response_id served by a worker other than turn 1's needs store_prompts_in_spend_logs: true, otherwise the rebuilt history is empty

Type

🐛 Bug Fix

Caveats (if any)

Medium

  • The tip commit's three tool-aware paths (guardrail provenance pass, prompt_caching_deployment_check.py, router_rust/steps/precall.py) are covered by unit tests only, no live leg runs a guardrail or the prompt caching check with a namespace == name echo of a self-named namespace member
  • A deferred top-level tool that shares its name with a namespace holding a member of that same name comes back without namespace, as on main, so the Agents SDK raises Tool <name> not found for that one tool. Carried from fix(responses): keep the namespace == name shape for deferred top-level tools #50106, the request shape is ambiguous and the namespace member wins the namespace == name wire shape

Low

  • A stored turn whose row has no tools (older rows, prompts not stored, or spend_logs_prompt_storage: latest_turn, which keeps only model) replays a namespace == name call bare, which is the deferred top-level shape and wrong only for a self-named namespace member

Final Attestation

  • The tests check the right things, including the edge cases, and regressions in the respective real-world customer use-cases are not possible after this PR

Link to Devin session: https://app.devin.ai/sessions/3f196a46401e4b66a718a53d82b9fb86
Open in Devin Desktop: https://app.devin.ai/desktop/session/3f196a46401e4b66a718a53d82b9fb86?variant=devin
Requested by: @kerry-berri

homenshum-cheiron and others added 3 commits November 8, 2026 01:42
…el tools

The OpenAI Agents SDK matches a call to a deferred top-level function
(defer_loading=True) only when the function_call carries namespace == name,
the shape it reserves for deferred top-level tools. The Responses bridge
returned no namespace, so after a native tool search the SDK failed with
"Tool <name> not found". A client that adds namespace == name then hit the
echo path, which joined it into "<name>__<name>" for the provider.

- namespace_tool_name_map maps deferred top-level functions to (name, name),
  so non-streaming and streaming replies carry namespace == name
- the function_call echo does not qualify a name whose namespace equals it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hares its namespace's name

A namespace "search" with a member "search" is advertised as the chat tool
"search__search" and comes back as name == namespace == "search". The echo
rule from the previous commit skipped the join for every namespace == name,
so that replay reached the provider as "search", a tool it was never given.

The bare-name echo now applies only to the request's deferred top-level
tools (deferred_top_level_names), and the reply map uses the same set. A
deferred top-level name that a self-named namespace member also uses is left
out of both directions, so the namespace member keeps its round trip.

The lookup reads defer_loading is True instead of validating it, so
callers that only read the input (token counting under drop_params) do not
raise on a malformed flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…yed without request tools

Stored history (previous_response_id) is rebuilt with no request tools, so the echo of a deferred
call carrying namespace == name used to join to name__name. Only a namespace that holds a member of
its own name still joins. The lookup also tolerates a tools value that is not a list, and the
comprehensions stay within one for and one if clause.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@kerry-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@kerry-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@greptile-apps

greptile-apps Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] Tool-name changes reach Responses calls and the paths that rebuild or inspect them.

Stored replay still needs attention before merging because self-named namespace calls lose their joined names when stored tool definitions are missing.

Findings

  1. P1 Saved calls lose their namespace ▶
  2. P2 Before proof uses older code ▶

Summary

The PR gives deferred top-level function calls namespace == name and keeps their names bare when callers replay them.

  • Deferred top-level calls return with matching name and namespace.
  • Echoed calls keep the right provider name, including self-named namespace tools.
  • Test fixtures keep the same behavior.

Reviews (3) · Last reviewed commit: "fix(responses): keep namespace == name f..." · Reviewed by Greptile

Comment on lines +2707 to +2708
deferred_top_level: Final = namespace == raw_name and raw_name not in self_named_namespace_members
qualify: Final = bool(namespace) and not deferred_top_level and function_call.get("type") != "custom_tool_call"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Saved calls lose their namespace

With previous_response_id, saved replies are rebuilt without request tools. This fallback turns a namespace member search/search into bare search, although the provider was given search__search. Preserve the joined name during replay. The repository requires resurfacing this caveat rather than accepting it from the PR description.

Rule Used: What: do not treat the caveats mentioned in the PR description as acceptable tradeoffs that some human has read and signed off on. Why: almost every time, the PR description is AI-generated, and in fact, many times, the PR description is very long. ... (source)

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in d19b75f. Stored turns now replay with their own tools, so search/search keeps search__search. Regression test added in test_session_handler.py.

Comment on lines +3171 to +3174
deferred_top_level_entries: Final = tuple(
(name, (name, name)) for name in LiteLLMCompletionResponsesConfig.deferred_top_level_names(tools)
)
return MappingProxyType(dict(qualified_entries + unambiguous_entries + deferred_top_level_entries))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Before proof uses older code

The before run uses 571cbca3b0, which predates this PR's merge base. Repository rules require the merge base or a later default-branch commit. Before merging, rerun against 07c72298956097565e1760fc89081aaf6122438b and compare with the latest product commit, e21c1a6437d93c7951bb9eedc1de7c22f9fa21a1.

Rule Used: Apply this rule only to PRs that fix LLM translation bugs or add LLM translation features. LLM translation means converting requests, responses, streaming events, tool calls, and errors between the API a caller uses on LiteLLM (any endpoint or SDK fu... (source)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reran the before leg at the merge base 07c7229 and the after leg at d19b75f. PR body updated with both runs.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

The deferred-name lookup and the response-side tool maps take the request's tools from one
TypeAdapter-backed accessor, so a tools value that is not a list of objects reads as no tools and
the type gate does not grow.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@codecov

codecov Bot commented Nov 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

transform_responses_api_input_to_messages takes dict[str, object] instead of a bare dict, so the
tools accessor's argument is known to the type gate and the instructions value is narrowed to str.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@codspeed

codspeed Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

1 warning

⚠️ 2 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 43 untouched benchmarks


Comparing litellm_responses_deferred_tool_namespace (4dc55ed) with main (2624f7c)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (59a3e75) during the generation of this report, so 2624f7c was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

kerry-berri and others added 2 commits November 8, 2026 02:17
…r names

namespace_tool_name_map reads each namespace's members through the same validated accessor as the
self-named check, which keeps the type gate's per-rule counts at their merge-base values.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Stored previous_response_id history is rebuilt with each turn's own tools, so a namespace member
that shares its namespace's name keeps the joined name__name form on replay, while a deferred
top-level call keeps the bare name. Adds the session handler regression.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

bugbot run

@devin-ai-integration

Copy link
Copy Markdown
Contributor

@greptileai

kerry-berri and others added 3 commits November 8, 2026 03:06
… on the streaming path too

One accessor hands the request's tools to the request path and the streaming iterator, dropping only
the entries that are not objects instead of the whole list, so both paths see the same custom, namespace
and deferred tools. Trims the explanatory comments.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
/v1/responses/input_tokens hands the request params, tools included, to the input transformer, so an
echoed call for a namespace member named after its namespace counts as name__name there too.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
… reads an echoed call

The guardrail provenance pass, the prompt caching pre-call check and the Rust precall token count convert
Responses input with the request's tools, so a namespace member named after its namespace keeps name__name
there as it does on the request path.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@veria-ai

veria-ai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Reviews

@kerry-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@kerry-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

… client-side tool search

A tool the client's own tool search loaded is still a deferred top-level tool to the Agents SDK, so the bridge keeps its deferral for the response-side name map and the route strips it again before the provider sees the request.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@kerry-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@kerry-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 4dc55ed. Configure here.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Live-proven on Bedrock base vs head, bots clean at 4dc55ed, CI green.

@kerry-berri
kerry-berri merged commit 8207a57 into main Nov 10, 2026
95 checks passed
@kerry-berri
kerry-berri deleted the litellm_responses_deferred_tool_namespace branch November 10, 2026 22:24
rogerrum pushed a commit to rogerrum/k8s-gitops that referenced this pull request Nov 26, 2026
…11.0 ) (#3856)

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 | `1.110.3` → `1.111.0` |

---

> ⚠️ **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.111.0`](https://github.com/BerriAI/litellm/releases/tag/v1.111.0)

[Compare Source](https://github.com/BerriAI/litellm/compare/v1.110.4...v1.111.0)

#### Verify Docker Image Signature

```bash
cosign verify \
  --certificate-identity https://github.com/BerriAI/project-releaser/.github/workflows/release.yml@refs/heads/main \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  ghcr.io/berriai/litellm:v1.111.0
```

#### What's Changed

- test(integration): follow cached prepared statements in the held statement relay by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50651](https://github.com/BerriAI/litellm/pull/50651)
- feat(proxy): add OpenSearch index pass-through with per-key read/write grants by [@&#8203;quietjules](https://github.com/quietjules) in [#&#8203;50573](https://github.com/BerriAI/litellm/pull/50573)
- test(e2e): repin the Together reasoning replay backend to MiniMax-M3.1-Flash by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50601](https://github.com/BerriAI/litellm/pull/50601)
- fix(proxy): build plugin session claims from FIPS provider services in fips_mode by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;50544](https://github.com/BerriAI/litellm/pull/50544)
- feat(anthropic): add claude-fable-5-2 and its Claude Platform on AWS mirror by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50715](https://github.com/BerriAI/litellm/pull/50715)
- feat(cost-map): rolling registry update (Anthropic and Bedrock Fable 5.2, Azure realtime cache, Vertex, Friendli) by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50707](https://github.com/BerriAI/litellm/pull/50707)
- fix(proxy): show committed spend in the remaining budget gauges by [@&#8203;zoveki](https://github.com/zoveki) in [#&#8203;49199](https://github.com/BerriAI/litellm/pull/49199)
- feat(azure): add azure_ai/claude-fable-5-2 and claude-fable-5-2-fast from the Foundry Claude page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50723](https://github.com/BerriAI/litellm/pull/50723)
- build(ui): fail lint on hardcoded English in dashboard JSX by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50593](https://github.com/BerriAI/litellm/pull/50593)
- fix(prompt_templates): keep moved private helpers importable from common_utils by [@&#8203;zoveki](https://github.com/zoveki) in [#&#8203;50721](https://github.com/BerriAI/litellm/pull/50721)
- perf(router): look up host step answers by id instead of scanning every candidate by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50704](https://github.com/BerriAI/litellm/pull/50704)
- feat(cost-map): add Claude Fable 5.2 on Vertex AI and repoint claude-fable-latest by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50713](https://github.com/BerriAI/litellm/pull/50713)
- test(integration): cover claude-fable-5-2 capability flags and prompt-cache pricing on the scripted Anthropic upstream by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50722](https://github.com/BerriAI/litellm/pull/50722)
- fix(cost)!: bill transcriptions by the seconds the provider reports by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;50727](https://github.com/BerriAI/litellm/pull/50727)
- fix(logging): bill a refused response the router falls back from by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;50735](https://github.com/BerriAI/litellm/pull/50735)
- fix(audio): measure duration for PathLike multipart tuple contents by [@&#8203;raunakpandey1](https://github.com/raunakpandey1) in [#&#8203;49806](https://github.com/BerriAI/litellm/pull/49806)
- feat(auth): grant access groups through principal attribute rules by [@&#8203;krrish-berri-2](https://github.com/krrish-berri-2) in [#&#8203;50455](https://github.com/BerriAI/litellm/pull/50455)
- fix(minimax): forward reasoning_effort instead of dropping it by [@&#8203;jeevan1098](https://github.com/jeevan1098) in [#&#8203;49583](https://github.com/BerriAI/litellm/pull/49583)
- fix(ollama_chat): give each streamed tool call its own index by [@&#8203;tedswinyar](https://github.com/tedswinyar) in [#&#8203;49183](https://github.com/BerriAI/litellm/pull/49183)
- fix(redis): accept a bare service account email for GCP Memorystore IAM by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;50676](https://github.com/BerriAI/litellm/pull/50676)
- fix(rust): install the rustls crypto provider at the Python host boundary by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;50502](https://github.com/BerriAI/litellm/pull/50502)
- feat(cost-map): add GovCloud regional rows for Bedrock Claude Fable 5.2 and Mythos 5.2 by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50746](https://github.com/BerriAI/litellm/pull/50746)
- fix(bedrock): answer 400, not 500, for malformed count-tokens requests by [@&#8203;paveln83](https://github.com/paveln83) in [#&#8203;50708](https://github.com/BerriAI/litellm/pull/50708)
- feat(router): let deployments declare a shared encrypted content boundary by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;50750](https://github.com/BerriAI/litellm/pull/50750)
- test(integration): cover claude-fable-5-2 capability flags and prompt-cache pricing on Vertex AI and Bedrock Converse by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50742](https://github.com/BerriAI/litellm/pull/50742)
- fix(proxy): fail-closed budget enforcement returns 403 naming /team/member_add for a team user with no membership row by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50603](https://github.com/BerriAI/litellm/pull/50603)
- fix(complexity_router): keep Claude Code subagent and side-request traffic off other agents' tier pins by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;50741](https://github.com/BerriAI/litellm/pull/50741)
- test(audio): bill reported transcription seconds for measurable uploads by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50767](https://github.com/BerriAI/litellm/pull/50767)
- chore(cost-map): add openai gpt-6-cyber long context prices from the pricing page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50770](https://github.com/BerriAI/litellm/pull/50770)
- feat(proxy): let a key's logging entry reference a proxy credential by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;50572](https://github.com/BerriAI/litellm/pull/50572)
- fix(messages): let proxy /v1/messages requests run on the rust path by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50335](https://github.com/BerriAI/litellm/pull/50335)
- fix(messages): log native messages success once, after the proxy releases it by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50420](https://github.com/BerriAI/litellm/pull/50420)
- fix(messages): log native messages request fields like python by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50421](https://github.com/BerriAI/litellm/pull/50421)
- fix(messages): pass non-message bodies through and refuse non-string headers as bad requests by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50422](https://github.com/BerriAI/litellm/pull/50422)
- fix(rust): run native async calls through python's async wrapper steps by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50423](https://github.com/BerriAI/litellm/pull/50423)
- fix(messages): raise native messages failures as python's errors by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50424](https://github.com/BerriAI/litellm/pull/50424)
- fix(messages): bill a native stream the client abandoned like python by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50425](https://github.com/BerriAI/litellm/pull/50425)
- fix(messages): write the native unary cache entry after the router stamps it like python by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50426](https://github.com/BerriAI/litellm/pull/50426)
- test(integration): assert response ids stay scoped to their minting key by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50703](https://github.com/BerriAI/litellm/pull/50703)
- chore(cost-map): add github_copilot/claude-fable-5.2 from the Copilot models-and-pricing table by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50775](https://github.com/BerriAI/litellm/pull/50775)
- test(integration): assert team model visibility follows caller scope by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50772](https://github.com/BerriAI/litellm/pull/50772)
- fix(cost-map): price wandb DeepSeek-V4.1-Flash-1017 from the CoreWeave Forge listing by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50776](https://github.com/BerriAI/litellm/pull/50776)
- fix(proxy): write SpendLogs failure rows for config-defined pass-through endpoints by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;41831](https://github.com/BerriAI/litellm/pull/41831)
- test(integration): repair tests that merged changes left stale by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50782](https://github.com/BerriAI/litellm/pull/50782)
- fix(router): merge default metadata under the request's instead of replacing it by [@&#8203;paveln83](https://github.com/paveln83) in [#&#8203;50700](https://github.com/BerriAI/litellm/pull/50700)
- fix(anthropic-messages): apply additional_drop_params before the unsupported param checks by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;50753](https://github.com/BerriAI/litellm/pull/50753)
- fix(router): honor request fallbacks in the mid-stream continuation check by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50260](https://github.com/BerriAI/litellm/pull/50260)
- fix(router): let a retry leave a pinned deployment after a retryable failure by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;50769](https://github.com/BerriAI/litellm/pull/50769)
- test(integration): drop the empty-string n case from the Gemini long decode test by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50796](https://github.com/BerriAI/litellm/pull/50796)
- feat(rust): add litellm-s3 crate, AwsCredentialsProvider and cost map fetch by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;50547](https://github.com/BerriAI/litellm/pull/50547)
- refactor(model-cost): move the cost map inputs, fetch and register_model overlay into Rust by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;50501](https://github.com/BerriAI/litellm/pull/50501)
- fix(prometheus): record litellm_overhead_latency_metric for streams, stamp plus the proxy's first-chunk work by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;49920](https://github.com/BerriAI/litellm/pull/49920)
- fix(accounting): keep delivering spend when another worker's maintenance lock is orphaned by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50774](https://github.com/BerriAI/litellm/pull/50774)
- fix(sso): read the SSO client secret before the refresh-token DB check by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50773](https://github.com/BerriAI/litellm/pull/50773)
- test(integration): expect the 400 for a content-less leading system on Mantle count_tokens after [#&#8203;50708](https://github.com/BerriAI/litellm/issues/50708) by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50820](https://github.com/BerriAI/litellm/pull/50820)
- fix(proxy): serve Codex its own Bedrock catalog entries for Bedrock deployments by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;50743](https://github.com/BerriAI/litellm/pull/50743)
- feat(usage): split customer spend by the key's current team by [@&#8203;kenneth-berri](https://github.com/kenneth-berri) in [#&#8203;50764](https://github.com/BerriAI/litellm/pull/50764)
- fix(proxy): list images in the Codex catalog only for models known to read them by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;50738](https://github.com/BerriAI/litellm/pull/50738)
- fix(hosted_vllm): omit empty tools list from chat requests by [@&#8203;krrish-berri-2](https://github.com/krrish-berri-2) in [#&#8203;50812](https://github.com/BerriAI/litellm/pull/50812)
- feat(proxy): log keys and teams still on the deprecated empty models defaults at boot by [@&#8203;paveln83](https://github.com/paveln83) in [#&#8203;50720](https://github.com/BerriAI/litellm/pull/50720)
- fix(router): count a Responses WebSocket turn's tokens before the next turn is admitted by [@&#8203;norkelbyte](https://github.com/norkelbyte) in [#&#8203;50730](https://github.com/BerriAI/litellm/pull/50730)
- chore(cost-map): add the openai gpt-image-2 shutdown date from the deprecations page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50829](https://github.com/BerriAI/litellm/pull/50829)
- chore(cost-map): add together_ai/elorian-labs/glimpse-1.0 from the Together models API by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50830](https://github.com/BerriAI/litellm/pull/50830)
- fix(proxy)!: return managed file ids from rag ingest and use team credentials on vector store file routes by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;50459](https://github.com/BerriAI/litellm/pull/50459)
- test(decisions): ignore Ollama model-info calls in the decoy check by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;50827](https://github.com/BerriAI/litellm/pull/50827)
- fix(complexity_router): hold the default model for a user_turn ask whose classifier failed by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;50793](https://github.com/BerriAI/litellm/pull/50793)
- test: update the spend tests that still expected the pre-ledger accounting queues by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50814](https://github.com/BerriAI/litellm/pull/50814)
- feat(budgets): add per-model tpm and rpm limit maps to budgets and customers by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50797](https://github.com/BerriAI/litellm/pull/50797)
- fix(ui): keep the credential action menu open when the models page re-renders by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50845](https://github.com/BerriAI/litellm/pull/50845)
- fix(transcription): stop billing a FLAC with no sample count as 576 trillion seconds by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50842](https://github.com/BerriAI/litellm/pull/50842)
- fix: make scheduled key, user, and team spend resets idempotent by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50298](https://github.com/BerriAI/litellm/pull/50298)
- feat(cost-map): add meta/muse-ember-1.0 with long-context rates from the Meta pricing page by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50847](https://github.com/BerriAI/litellm/pull/50847)
- test(accounting): assert spend is delivered under another leader's maintenance lock by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50843](https://github.com/BerriAI/litellm/pull/50843)
- fix(proxy): send the whole Codex model catalog to Codex 0.166.0-alpha.1 and newer by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;50736](https://github.com/BerriAI/litellm/pull/50736)
- fix(proxy): let the OS assign Prisma engine ports by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50850](https://github.com/BerriAI/litellm/pull/50850)
- fix(ui): keep the request log model cell to one model by [@&#8203;Bytechoreographer](https://github.com/Bytechoreographer) in [#&#8203;49619](https://github.com/BerriAI/litellm/pull/49619)
- test(integration): empty the shared client cache before the tier pin batch test by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50854](https://github.com/BerriAI/litellm/pull/50854)
- feat(cost-map): rolling registry update (claude-mythos-5-2, Azure Mythos 5.2, Friendli GLM-5.1 date, GovCloud Fable 5.2 token counting) by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50777](https://github.com/BerriAI/litellm/pull/50777)
- fix(proxy): bill an OpenAI pass-through background response once across repeated reads by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;50841](https://github.com/BerriAI/litellm/pull/50841)
- feat(cost-map): add gemini/gemini-4-carbon from the Gemini API pricing page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50931](https://github.com/BerriAI/litellm/pull/50931)
- fix(redis): free each request's Redis batch scope once the request ends by [@&#8203;emerzon](https://github.com/emerzon) in [#&#8203;50751](https://github.com/BerriAI/litellm/pull/50751)
- fix(openai): download PDF URLs off the event loop and transform async chat messages once by [@&#8203;norkelbyte](https://github.com/norkelbyte) in [#&#8203;49176](https://github.com/BerriAI/litellm/pull/49176)
- feat(cost-map): add vertex_ai/gemini-4-carbon and gemini-4-carbon-cyber-permissive from the Vertex pricing page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50942](https://github.com/BerriAI/litellm/pull/50942)
- refactor: clean up fresh tech debt in stream cost flag, masked httpx error and encrypted reasoning helpers by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50617](https://github.com/BerriAI/litellm/pull/50617)
- fix(proxy): open the Logs drawer by request_id without scanning for litellm_call_id by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;50789](https://github.com/BerriAI/litellm/pull/50789)
- fix(cost-map): give the Gemini 4 Carbon rows the shared Gemini 3 search free tier by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50951](https://github.com/BerriAI/litellm/pull/50951)
- perf(streaming): reuse the upstream choice for plain litellm HTTP-handler stream chunks by [@&#8203;quietjules](https://github.com/quietjules) in [#&#8203;50786](https://github.com/BerriAI/litellm/pull/50786)
- fix(responses): replay Claude tool search on follow-up turns by [@&#8203;zoveki](https://github.com/zoveki) in [#&#8203;50821](https://github.com/BerriAI/litellm/pull/50821)
- feat(rate-limit): enforce per-customer per-model tpm and rpm limits in the v3 limiter by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50857](https://github.com/BerriAI/litellm/pull/50857)
- test(cost): sync vertex 3.1 pro price fields and bedrock converse usage shapes by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50956](https://github.com/BerriAI/litellm/pull/50956)
- fix(decisions): keep box questions on a deployment when a same-model sibling turns them off by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;50724](https://github.com/BerriAI/litellm/pull/50724)
- feat: add claude mythos 5.2 to vertex ai cost map by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50940](https://github.com/BerriAI/litellm/pull/50940)
- fix(router): hold the registry lock across router-core writes and mirror reads by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50933](https://github.com/BerriAI/litellm/pull/50933)
- test(budgets): expect per-model tpm and rpm limits in budget info by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50967](https://github.com/BerriAI/litellm/pull/50967)
- feat(ui): customer portal (beta) surfacing the existing customer endpoints and customer usage by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50807](https://github.com/BerriAI/litellm/pull/50807)
- feat(customers): reject unknown fields on /customer/new and /customer/update instead of dropping them by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50965](https://github.com/BerriAI/litellm/pull/50965)
- fix(proxy): send a prompt-only call_endpoint token count to every provider count API by [@&#8203;paveln83](https://github.com/paveln83) in [#&#8203;50783](https://github.com/BerriAI/litellm/pull/50783)
- test(integration): cap the OAuth metadata lookup in the mixed capabilities subscription case by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50867](https://github.com/BerriAI/litellm/pull/50867)
- fix(mcp): accept comma-separated vendor scope grants on the connect check by [@&#8203;shrey-berri](https://github.com/shrey-berri) in [#&#8203;50717](https://github.com/BerriAI/litellm/pull/50717)
- fix(cost-map): give the Gemini 4 Argon rows the shared Gemini 3 search free tier by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50959](https://github.com/BerriAI/litellm/pull/50959)
- test(http2): drain client traffic after sending GOAWAY by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50972](https://github.com/BerriAI/litellm/pull/50972)
- fix(responses): keep unset-effort gpt-5.4/5.5 tool calls on chat completions by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50968](https://github.com/BerriAI/litellm/pull/50968)
- fix(cost-map): mark the azure_ai Claude rows that bill web search as supporting it by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50960](https://github.com/BerriAI/litellm/pull/50960)
- test(integration): recognize the model list's lock in the held write helper by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;50974](https://github.com/BerriAI/litellm/pull/50974)
- test(anthropic): scope structured output captures to inference routes by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50983](https://github.com/BerriAI/litellm/pull/50983)
- feat(proxy): let teams use their own allowed S3 buckets for batch files by [@&#8203;mrinal-berri](https://github.com/mrinal-berri) in [#&#8203;50571](https://github.com/BerriAI/litellm/pull/50571)
- fix(router): let an explicit routing tag outrank the encrypted content pin by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;50975](https://github.com/BerriAI/litellm/pull/50975)
- feat(cost): bill batch cached image input tokens for OpenAI image models by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;50997](https://github.com/BerriAI/litellm/pull/50997)
- fix: audit registry metadata for Together, Mistral, Fireworks, Azure AI and Copilot by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51003](https://github.com/BerriAI/litellm/pull/51003)
- fix(cost-map): sync together_ai together/Tev1-4B-experimental input price with /v1/models by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51013](https://github.com/BerriAI/litellm/pull/51013)
- chore(cost-map): add github_copilot/gemini-4-carbon from the Copilot changelog launch post by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51012](https://github.com/BerriAI/litellm/pull/51012)
- fix(proxy)!: reject client-supplied Vertex location and project unless the admin opts in by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;47028](https://github.com/BerriAI/litellm/pull/47028)
- fix(router): sync responses() applies the Router's num_retries and fallbacks by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51011](https://github.com/BerriAI/litellm/pull/51011)
- feat(spend): report guardrail spend separately in daily activity by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51010](https://github.com/BerriAI/litellm/pull/51010)
- fix(tool_choice): accept the Responses API's flat allowed_tools layout on chat completions by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;50467](https://github.com/BerriAI/litellm/pull/50467)
- test(integration): keep owned test peers off ephemeral ports by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51019](https://github.com/BerriAI/litellm/pull/51019)
- fix(bedrock): forward x-pass- headers on the /bedrock/model pass-through routes by [@&#8203;norkelbyte](https://github.com/norkelbyte) in [#&#8203;50728](https://github.com/BerriAI/litellm/pull/50728)
- fix(proxy): send the streamed Responses fallback metadata as a typed Responses event by [@&#8203;paveln83](https://github.com/paveln83) in [#&#8203;50804](https://github.com/BerriAI/litellm/pull/50804)
- fix(proxy): recheck missing users when resolving session grants by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51030](https://github.com/BerriAI/litellm/pull/51030)
- feat(cli): connect a per-user GitHub Copilot credential from the command line by [@&#8203;ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#&#8203;50863](https://github.com/BerriAI/litellm/pull/50863)
- fix(responses): keep the namespace == name shape for deferred top-level tools by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50602](https://github.com/BerriAI/litellm/pull/50602)
- chore(cost-map): add fal_ai image and video rows priced from the fal.ai model pages (first fal-ai sync) by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51035](https://github.com/BerriAI/litellm/pull/51035)
- fix(vertex_ai): bill gemini image edits by token usage by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51038](https://github.com/BerriAI/litellm/pull/51038)
- feat(search): add Microsoft Web IQ provider by [@&#8203;giladk1221](https://github.com/giladk1221) in [#&#8203;50883](https://github.com/BerriAI/litellm/pull/50883)
- fix(otel): serialize pydantic Message objects in langfuse_otel, weave_otel and langtrace by [@&#8203;taxfree-python](https://github.com/taxfree-python) in [#&#8203;46845](https://github.com/BerriAI/litellm/pull/46845)
- perf(spend): narrow user and team spend log reads to the owner's api_keys so the (api_key, startTime) index is used by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51026](https://github.com/BerriAI/litellm/pull/51026)
- fix(mcp): challenge a single-server listing whose credential the upstream rejected by [@&#8203;shrey-berri](https://github.com/shrey-berri) in [#&#8203;50389](https://github.com/BerriAI/litellm/pull/50389)
- fix(ci): install tzdata so zoneinfo tests pass on runners without legacy tz aliases by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;51057](https://github.com/BerriAI/litellm/pull/51057)
- fix(guardrails/rubrik): moderate text-completion prompts and forward rac_agent_id by [@&#8203;seph-barker](https://github.com/seph-barker) in [#&#8203;49912](https://github.com/BerriAI/litellm/pull/49912)
- fix(model-prices): use current Hy4 promotional rates by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;51072](https://github.com/BerriAI/litellm/pull/51072)
- fix(proxy): allow management_routes keys to call PATCH /model/{model_id}/update by [@&#8203;nurlanmnn](https://github.com/nurlanmnn) in [#&#8203;50979](https://github.com/BerriAI/litellm/pull/50979)
- fix(proxy): drop the beta label from the /v1/messages swagger tags by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;51046](https://github.com/BerriAI/litellm/pull/51046)
- fix(router): re-check and reserve per-model rate limits on fallback targets by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;50994](https://github.com/BerriAI/litellm/pull/50994)
- chore(cost-map): add 61 fal_ai image and video rows priced from the fal.ai model pages (second fal-ai sync) by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51077](https://github.com/BerriAI/litellm/pull/51077)
- feat(auto_router): report a session's whole spend and name why savings stay unestimated by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51066](https://github.com/BerriAI/litellm/pull/51066)
- chore(pricing): sync replicate model prices from replicate.com model pages by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51067](https://github.com/BerriAI/litellm/pull/51067)
- chore(databricks): add claude-fable-5-2, date glm-5-2 retirement and fix llama-3-1-8b context from the supported-models page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51076](https://github.com/BerriAI/litellm/pull/51076)
- refactor(rust_bridge): route every Rust-to-Python call through host modules by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;50822](https://github.com/BerriAI/litellm/pull/50822)
- fix(spend): write a background response's settling read in-process when the spend collector is on by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;50957](https://github.com/BerriAI/litellm/pull/50957)
- fix(proxy): judge the zero-cost budget waiver by the model a key or team alias serves by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51058](https://github.com/BerriAI/litellm/pull/51058)
- feat(docker)!: one shipped image, one entrypoint beside the Dockerfile, one compose file by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;43332](https://github.com/BerriAI/litellm/pull/43332)
- feat(anthropic): forward message threads on native /v1/messages by [@&#8203;paveln83](https://github.com/paveln83) in [#&#8203;50976](https://github.com/BerriAI/litellm/pull/50976)
- fix(router): send managed batch uploads to batch deployments when a chat deployment has a lower order by [@&#8203;mika-lt](https://github.com/mika-lt) in [#&#8203;50971](https://github.com/BerriAI/litellm/pull/50971)
- fix(rate-limit): settle a fallback's tokens on the model group that served it by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51082](https://github.com/BerriAI/litellm/pull/51082)
- fix(proxy): keep the upgrade notice off the request path and count area-labelled release notes by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51027](https://github.com/BerriAI/litellm/pull/51027)
- fix(vertex_ai): bill gemini image text, thinking and priority tokens at their own rates by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51017](https://github.com/BerriAI/litellm/pull/51017)
- test(spend): expect token billing for Vertex image edits with usage by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51109](https://github.com/BerriAI/litellm/pull/51109)
- fix(reasoning): log the GPT-5 reasoning_effort drop warning only when the provider gets no effort by [@&#8203;paveln83](https://github.com/paveln83) in [#&#8203;50995](https://github.com/BerriAI/litellm/pull/50995)
- test(mcp): read the comma grant through real credential storage by [@&#8203;shrey-berri](https://github.com/shrey-berri) in [#&#8203;51065](https://github.com/BerriAI/litellm/pull/51065)
- fix(proxy): keep a request's cache opt-in when its key has cache metadata by [@&#8203;quietjules](https://github.com/quietjules) in [#&#8203;50999](https://github.com/BerriAI/litellm/pull/50999)
- feat(replicate): add google/gemini-4-carbon from the Replicate model page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51125](https://github.com/BerriAI/litellm/pull/51125)
- fix(mcp)!: forward the LiteLLM key when the admin configures it by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;50604](https://github.com/BerriAI/litellm/pull/50604)
- feat(azure): add azure_ai/mistral-large-4-latest from the Azure Models API, priced from Mistral's model page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51047](https://github.com/BerriAI/litellm/pull/51047)
- ci(image-scan): build Rust with a fast ci cargo profile instead of fat-LTO release by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;51075](https://github.com/BerriAI/litellm/pull/51075)
- test(unit): deflake db metrics spans and drain timeout tests, split proxy-infra shard by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;51078](https://github.com/BerriAI/litellm/pull/51078)
- chore(cost-map): add 3 fal_ai rows priced from the fal pricing API and model page (third fal-ai sync) by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51126](https://github.com/BerriAI/litellm/pull/51126)
- fix(bedrock): govcloud eol dates from the lifecycle table, gpt-5.6 cyber govcloud mantle row and daybreak blue input limit by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51095](https://github.com/BerriAI/litellm/pull/51095)
- feat(helm): single chart with monolith mode and shared image, remove litellm-helm by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;43330](https://github.com/BerriAI/litellm/pull/43330)
- feat(terraform): run every AWS and GCP workload from the one litellm image by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;43358](https://github.com/BerriAI/litellm/pull/43358)
- fix(spend): keep empty-key rows in owner-scoped spend log reads by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;51127](https://github.com/BerriAI/litellm/pull/51127)
- fix(proxy): list callable ids for partial aliases over a catch-all deployment by [@&#8203;quietjules](https://github.com/quietjules) in [#&#8203;50963](https://github.com/BerriAI/litellm/pull/50963)
- test(providers): preserve unspecified Gemini image output modality by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51149](https://github.com/BerriAI/litellm/pull/51149)
- test(spend): expect token billing for Vertex image edits by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51148](https://github.com/BerriAI/litellm/pull/51148)
- fix(gemini): batch and flex tier fields the -latest alias rows were missing by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51150](https://github.com/BerriAI/litellm/pull/51150)
- fix(spend): keep free response reads and cancels off the creation spend row by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51110](https://github.com/BerriAI/litellm/pull/51110)
- fix(proxy): add tzdata to the proxy extra so a legacy TZ doesn't stop startup by [@&#8203;satwik-bankapur](https://github.com/satwik-bankapur) in [#&#8203;49914](https://github.com/BerriAI/litellm/pull/49914)
- fix(tls)!: exclude RSA key exchange and ChaCha20 from the outbound cipher list in FIPS mode by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;50671](https://github.com/BerriAI/litellm/pull/50671)
- fix(vertex): drop floor-only retirement dates, veo 3.1 successor and gemini token limits from the Vertex model pages by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51180](https://github.com/BerriAI/litellm/pull/51180)
- docs(security): updated mailinglist and vdp in security.md by [@&#8203;ojensen-berri](https://github.com/ojensen-berri) in [#&#8203;51199](https://github.com/BerriAI/litellm/pull/51199)
- chore(cost-map): rolling registry PR, fal_ai rows, databricks gemini-4-carbon, deepinfra and bedrock tier prices by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51193](https://github.com/BerriAI/litellm/pull/51193)
- fix(router): preserve held tiers for OpenCode subagent results by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51176](https://github.com/BerriAI/litellm/pull/51176)
- refactor: clean up fresh tech debt in rubrik, passthrough headers and plugin mode comments by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;51163](https://github.com/BerriAI/litellm/pull/51163)
- test(security): expect the async release check on offline mode by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51213](https://github.com/BerriAI/litellm/pull/51213)
- fix(management): keep classifier deployments serving during reloads by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51111](https://github.com/BerriAI/litellm/pull/51111)
- chore(cost-map): add 24 runwayml models and correct seedance2 and eleven_multilingual_v2 rates by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51216](https://github.com/BerriAI/litellm/pull/51216)
- fix(azure): use supported API versions for Responses requests by [@&#8203;kenneth-berri](https://github.com/kenneth-berri) in [#&#8203;51116](https://github.com/BerriAI/litellm/pull/51116)
- feat(proxy): count a rate-limit fallback in x-litellm-attempted-fallbacks and name it in x-litellm-fallback-reason by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51138](https://github.com/BerriAI/litellm/pull/51138)
- refactor(proxy): let the gunicorn server take a private listener by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;50871](https://github.com/BerriAI/litellm/pull/50871)
- feat(proxy): supervise the opt-in Rust forwarding server by [@&#8203;yujonglee-berri](https://github.com/yujonglee-berri) in [#&#8203;49606](https://github.com/BerriAI/litellm/pull/49606)
- fix(streaming): report zero cost for explicitly free calls by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51093](https://github.com/BerriAI/litellm/pull/51093)
- feat(gemini): file-backed batch jobs on /v1/batches with output download and spend tracking by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51032](https://github.com/BerriAI/litellm/pull/51032)
- fix(router): map Gemini stream-opening errors by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51218](https://github.com/BerriAI/litellm/pull/51218)
- fix(auth): enforce model access on Google and image URL routes by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51226](https://github.com/BerriAI/litellm/pull/51226)
- test(integration): fix the baseline accounting and series cap flakes by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;51096](https://github.com/BerriAI/litellm/pull/51096)
- fix(proxy): let /team/delete transactions wait for a pooled connection by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;51099](https://github.com/BerriAI/litellm/pull/51099)
- fix(completion)!: answer 400 for a chat message without a role by [@&#8203;zoveki](https://github.com/zoveki) in [#&#8203;51124](https://github.com/BerriAI/litellm/pull/51124)
- fix(proxy): stream the guardrail block response when the block comes after an SSE keepalive ping by [@&#8203;paveln83](https://github.com/paveln83) in [#&#8203;51114](https://github.com/BerriAI/litellm/pull/51114)
- feat(otel): let a team or key OTel v2 destination add its own request metadata keys by [@&#8203;mrinal-berri](https://github.com/mrinal-berri) in [#&#8203;50813](https://github.com/BerriAI/litellm/pull/50813)
- refactor(typing): clear 1141 basedpyright Any errors across 182 files by [@&#8203;quietjules](https://github.com/quietjules) in [#&#8203;50711](https://github.com/BerriAI/litellm/pull/50711)
- fix(proxy): reset a deleted customer's admission spend counter so a re-created one is not refused by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51224](https://github.com/BerriAI/litellm/pull/51224)
- fix(proxy): answer x-litellm-call-id on every token count response by [@&#8203;tavren27](https://github.com/tavren27) in [#&#8203;51037](https://github.com/BerriAI/litellm/pull/51037)
- feat(rate-limit): name the limit that rejected a request in a rate_limited_by header on the 429 by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51228](https://github.com/BerriAI/litellm/pull/51228)
- refactor(ui): remove the deprecated Learning Resources sidebar link by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;51251](https://github.com/BerriAI/litellm/pull/51251)
- feat(helm): add scheme and tlsConfig to the gateway ServiceMonitor by [@&#8203;mrinal-berri](https://github.com/mrinal-berri) in [#&#8203;50759](https://github.com/BerriAI/litellm/pull/50759)
- fix(proxy): name the deployment in stream error alerts on chat, completions, responses and messages by [@&#8203;quietjules](https://github.com/quietjules) in [#&#8203;51034](https://github.com/BerriAI/litellm/pull/51034)
- refactor(ui): remove the deprecated API Reference page by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;51246](https://github.com/BerriAI/litellm/pull/51246)
- test(e2e): remove the secret manager suite by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;51241](https://github.com/BerriAI/litellm/pull/51241)
- fix(bedrock): forward the compact-2026-09-04 compaction param on Invoke /v1/messages by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51223](https://github.com/BerriAI/litellm/pull/51223)
- fix(fallback): preserve concurrent writes and serve saved configuration by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51245](https://github.com/BerriAI/litellm/pull/51245)
- chore: remove dead files from the repo root by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;50936](https://github.com/BerriAI/litellm/pull/50936)
- chore: remove cookbook and preserve live assets by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;50944](https://github.com/BerriAI/litellm/pull/50944)
- ci: remove CircleCI by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;50950](https://github.com/BerriAI/litellm/pull/50950)
- security(proxy): stop request body fields from conflicting with admin-set deployment fields by [@&#8203;shrey-berri](https://github.com/shrey-berri) in [#&#8203;51254](https://github.com/BerriAI/litellm/pull/51254)
- test(proxy): make the cancelled supervisor test deterministic by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;51258](https://github.com/BerriAI/litellm/pull/51258)
- fix(responses): keep reasoning item IDs consistent across streaming events by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51243](https://github.com/BerriAI/litellm/pull/51243)
- feat(guardrails): write guardrail changes to the audit log by [@&#8203;mrinal-berri](https://github.com/mrinal-berri) in [#&#8203;51118](https://github.com/BerriAI/litellm/pull/51118)
- fix(llms-types): let the compact-2026-09-04 beta through on bedrock to match the headers config by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51272](https://github.com/BerriAI/litellm/pull/51272)
- feat(messages): serve anthropic messages on rust only by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;51119](https://github.com/BerriAI/litellm/pull/51119)
- fix(health): log Test Connection spend with the mode's call type and model id by [@&#8203;kenneth-berri](https://github.com/kenneth-berri) in [#&#8203;50987](https://github.com/BerriAI/litellm/pull/50987)
- feat(bedrock): search knowledge bases by image and return image hits by [@&#8203;zoveki](https://github.com/zoveki) in [#&#8203;51063](https://github.com/BerriAI/litellm/pull/51063)
- fix(fips): hash MCP advisory-lock keys with SHA-256 in fips_mode and compute the OCI body digest as a security hash by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;51165](https://github.com/BerriAI/litellm/pull/51165)
- test(proxy): await background spend counters before asserting by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51249](https://github.com/BerriAI/litellm/pull/51249)
- chore(databricks): price claude-fable-5-2 from the proprietary pricing page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51232](https://github.com/BerriAI/litellm/pull/51232)
- feat(azure_ai): support gpt-image edits on Azure AI Foundry by [@&#8203;Bytechoreographer](https://github.com/Bytechoreographer) in [#&#8203;49650](https://github.com/BerriAI/litellm/pull/49650)
- fix(proxy): keep a cost settings update from being undone by an in-flight config reload by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51273](https://github.com/BerriAI/litellm/pull/51273)
- chore(cost-map): source the fireworks deepseek v4 flash deprecation and name its replacement by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51285](https://github.com/BerriAI/litellm/pull/51285)
- test(guardrails): expect the content_filter finish on a blocked chat stream by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51281](https://github.com/BerriAI/litellm/pull/51281)
- fix(llms-types): drop the duplicate compact-2026-09-04 arm that fails rust-lint on main by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51280](https://github.com/BerriAI/litellm/pull/51280)
- perf(router): list a group's deployments once per registry change on the acompletion path by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;50749](https://github.com/BerriAI/litellm/pull/50749)
- feat(guardrails): add the CollieAi guardrail integration by [@&#8203;collieai-dev](https://github.com/collieai-dev) in [#&#8203;49224](https://github.com/BerriAI/litellm/pull/49224)
- fix(anthropic_messages): bound the detached pump so it cannot outlive its stream by [@&#8203;nuernber](https://github.com/nuernber) in [#&#8203;51268](https://github.com/BerriAI/litellm/pull/51268)
- fix(auth): allow video retrieval after budget exhaustion by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51227](https://github.com/BerriAI/litellm/pull/51227)
- fix(proxy): bill anthropic pass-through calls at the deployment's custom price by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51267](https://github.com/BerriAI/litellm/pull/51267)
- ci(unit): split proxy-infra-root in two, isolate the child-python tests, make its file exclusions take effect by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51316](https://github.com/BerriAI/litellm/pull/51316)
- fix(gemini): attribute /gemini batchGenerateContent batches to the calling key by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51279](https://github.com/BerriAI/litellm/pull/51279)
- ci(unit): deselect test_unit_test_proxy_hooks from the q-z shard it matches, pin the dead proxy-infra-root codecov flag by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51324](https://github.com/BerriAI/litellm/pull/51324)
- test(integration): remove the openapi docs gate detached worktree test that cannot run offline by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;51300](https://github.com/BerriAI/litellm/pull/51300)
- feat(gemini): add gemini-decision-1, the Decisions API model priced at $0.10 per 1M input tokens by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51215](https://github.com/BerriAI/litellm/pull/51215)
- feat(proxy): run spend log cleanup from a DB-backed scheduled job table by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;50131](https://github.com/BerriAI/litellm/pull/50131)
- feat(ui): add Activity tabs to resource details by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;50630](https://github.com/BerriAI/litellm/pull/50630)
- feat(alerts): add persisted alerts and status APIs by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;50658](https://github.com/BerriAI/litellm/pull/50658)
- feat(alerts): detect daily changes in recorded usage by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;50666](https://github.com/BerriAI/litellm/pull/50666)
- feat(ui): show performance alerts in the Alerts page by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;51104](https://github.com/BerriAI/litellm/pull/51104)
- feat(alerts): enable monitoring by default with a five-alert free allowance by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;51123](https://github.com/BerriAI/litellm/pull/51123)
- feat(skills): add admin-only version restore by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;51309](https://github.com/BerriAI/litellm/pull/51309)
- chore: move config and docs off the repo root by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;50966](https://github.com/BerriAI/litellm/pull/50966)
- feat(gemini): support gemini-decision-1 on /v1/decisions and /v1/systemone by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;51220](https://github.com/BerriAI/litellm/pull/51220)
- fix(proxy): reject unknown guardrail names on key, user, team and project writes by [@&#8203;mrinal-berri](https://github.com/mrinal-berri) in [#&#8203;51080](https://github.com/BerriAI/litellm/pull/51080)
- fix(cost-map): drop the duplicate gemini/gemini-decision-1 entry that fails the root unit job on main by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;51341](https://github.com/BerriAI/litellm/pull/51341)
- test(providers): expect Rust routing for quiet Messages streams by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51346](https://github.com/BerriAI/litellm/pull/51346)
- test(observability): include CollieAi in guardrail scope settings by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51345](https://github.com/BerriAI/litellm/pull/51345)
- ci(integration): install the Rust gateway and fail forwarded_proxy when Rust is not in front by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;51307](https://github.com/BerriAI/litellm/pull/51307)
- chore: move deployment sources under litellm/deploy by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;50981](https://github.com/BerriAI/litellm/pull/50981)
- chore: move ui and vscode-extension under litellm and delete docs by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;50992](https://github.com/BerriAI/litellm/pull/50992)
- chore: move workspace packages under litellm by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;51000](https://github.com/BerriAI/litellm/pull/51000)
- chore: move scripts and runtime sources under litellm by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;51006](https://github.com/BerriAI/litellm/pull/51006)
- ci: fail when the repo root grows past 15 entries by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;51007](https://github.com/BerriAI/litellm/pull/51007)
- fix(alerts): stop detecting traffic drops by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;51338](https://github.com/BerriAI/litellm/pull/51338)
- feat(rate-limit): team_model_limit_borrows_idle_capacity_from_other_teams lets a team's model TPM and RPM limits borrow idle capacity in the dynamic rate limiter by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51328](https://github.com/BerriAI/litellm/pull/51328)
- fix(fal_ai): give MiniMax H3 Max video endpoints their own resolution profile by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51348](https://github.com/BerriAI/litellm/pull/51348)
- fix(anthropic): close strict JSON schemas on the Messages to Responses bridge by [@&#8203;kenneth-berri](https://github.com/kenneth-berri) in [#&#8203;51337](https://github.com/BerriAI/litellm/pull/51337)
- test(providers): expect Rust routing for idle Messages streams by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51364](https://github.com/BerriAI/litellm/pull/51364)
- feat(rate-limit): team_model_limit_max_borrow_multiple caps how far a team borrows idle model capacity by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51359](https://github.com/BerriAI/litellm/pull/51359)
- fix(gemini): add batch and priority image output token prices to gemini/gemini-2.5-flash-image by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51368](https://github.com/BerriAI/litellm/pull/51368)
- ci: stop PR runs from thrashing the Actions cache and stop smoke compiling from source by [@&#8203;yuneng-berri](https://github.com/yuneng-berri) in [#&#8203;51343](https://github.com/BerriAI/litellm/pull/51343)
- feat(dynamic_rate_limiter_v3): steer flexible teams to a permitted alternate when their preferred model is saturated by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51350](https://github.com/BerriAI/litellm/pull/51350)
- feat(dynamic_rate_limiter_v3): priority_class_share_splits_equally_among_active_teams splits a priority class share among the teams active on a model by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51366](https://github.com/BerriAI/litellm/pull/51366)
- fix(rate-limit): hold router fallbacks, nested calls, WebSocket turns and oversized prompts to a borrowing team's model share by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51367](https://github.com/BerriAI/litellm/pull/51367)
- feat(model-catalog): read output_cost_per_billable_unit in the rust registry check by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51365](https://github.com/BerriAI/litellm/pull/51365)
- chore(cost-map): rolling registry audit 2026-11-12, xAI retired image rates, Kling 4, GMI rows and -latest aliases by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51395](https://github.com/BerriAI/litellm/pull/51395)
- feat(skills): let authors edit and withdraw pending submissions by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;51312](https://github.com/BerriAI/litellm/pull/51312)
- chore(cost-map): add 7 fal_ai rows for seedream 5.5, flux virtual try-on, patina material and vidu templates (fifth fal-ai sync) by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51407](https://github.com/BerriAI/litellm/pull/51407)
- feat(replicate): add video generation, image generation and text to speech through the predictions API by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51360](https://github.com/BerriAI/litellm/pull/51360)
- feat(mcp): cache upstream tool lists with an admin-set lifetime by [@&#8203;shrey-berri](https://github.com/shrey-berri) in [#&#8203;51160](https://github.com/BerriAI/litellm/pull/51160)
- fix(auth): enforce customer budget rpm/tpm limits under JWT auth by [@&#8203;mateo-berri](https://github.com/mateo-berri) in [#&#8203;51405](https://github.com/BerriAI/litellm/pull/51405)
- feat(fal_ai): add Nano Banana 2.1, bill it from fal billable units, fix google/ routing by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51410](https://github.com/BerriAI/litellm/pull/51410)
- fix(messages): name the deployment on a rust stream's transport error by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;51358](https://github.com/BerriAI/litellm/pull/51358)
- fix(token-counter): count Anthropic server tool history by [@&#8203;kenneth-berri](https://github.com/kenneth-berri) in [#&#8203;51334](https://github.com/BerriAI/litellm/pull/51334)
- feat(ui): add daily model usage to customer pages by [@&#8203;ishaan-j-berri](https://github.com/ishaan-j-berri) in [#&#8203;51419](https://github.com/BerriAI/litellm/pull/51419)
- feat(proxy): publish opted-in pass-through endpoints on the Model Hub by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;43905](https://github.com/BerriAI/litellm/pull/43905)
- feat(gemini): add gemini/gemini-4-hydrogen from the Gemini API pricing page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51423](https://github.com/BerriAI/litellm/pull/51423)
- refactor(ui): remove standalone Model Leaderboard by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;51426](https://github.com/BerriAI/litellm/pull/51426)
- feat(alerts): add management controls and opt-in daily summaries by [@&#8203;moe-berri](https://github.com/moe-berri) in [#&#8203;51418](https://github.com/BerriAI/litellm/pull/51418)
- fix(skills): honor dashboard user and team grants by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;51416](https://github.com/BerriAI/litellm/pull/51416)
- fix(proxy): fetch blog posts without blocking the event loop by [@&#8203;yassin-berriai](https://github.com/yassin-berriai) in [#&#8203;51369](https://github.com/BerriAI/litellm/pull/51369)
- feat(vertex_ai): add vertex_ai/gemini-4-hydrogen from the Vertex pricing page by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51432](https://github.com/BerriAI/litellm/pull/51432)
- test(providers): expect rust for anthropic messages after rust-only cutover by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;51351](https://github.com/BerriAI/litellm/pull/51351)
- fix(spend-logs): mask token-shaped secrets in stored request and resp… by [@&#8203;krrish-berri-2](https://github.com/krrish-berri-2) in [#&#8203;48968](https://github.com/BerriAI/litellm/pull/48968)
- fix(otel): report the provider model in experimental GenAI traces by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51430](https://github.com/BerriAI/litellm/pull/51430)
- fix(azure): strip GPT-5 routing marker from Responses deployments by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51438](https://github.com/BerriAI/litellm/pull/51438)
- fix(messages): keep signed empty thinking blocks on rust by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;51349](https://github.com/BerriAI/litellm/pull/51349)
- fix(messages): hand rust only the anthropic metadata user_id by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;51355](https://github.com/BerriAI/litellm/pull/51355)
- fix(anthropic_messages): preserve first-round web search spend logs by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51441](https://github.com/BerriAI/litellm/pull/51441)
- fix(token-counting): count mid-conversation tool changes by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51447](https://github.com/BerriAI/litellm/pull/51447)
- test(integration): point database tests at the moved litellm/proxy-extras package by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51453](https://github.com/BerriAI/litellm/pull/51453)
- fix(otel): distinguish missing usage from prompt estimates on chat failures by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51443](https://github.com/BerriAI/litellm/pull/51443)
- fix(model_prices): add Azure DeepSeek V4.1 Flash 1017 and two Perplexity Agent API rows by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51444](https://github.com/BerriAI/litellm/pull/51444)
- test(messages): expect rust to drop a null thinking signature on retry by [@&#8203;narmstrong-berri](https://github.com/narmstrong-berri) in [#&#8203;51461](https://github.com/BerriAI/litellm/pull/51461)
- fix(proxy): refuse blocked and over-limit keys before reading the request body by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51428](https://github.com/BerriAI/litellm/pull/51428)
- fix(ui): serve navigation payloads under the ui prefix by [@&#8203;mrinal-berri](https://github.com/mrinal-berri) in [#&#8203;50758](https://github.com/BerriAI/litellm/pull/50758)
- feat(model-catalog): read output_cost_per_video in the rust registry check by [@&#8203;kenneth-berri](https://github.com/kenneth-berri) in [#&#8203;51433](https://github.com/BerriAI/litellm/pull/51433)
- feat(access-groups): grant vector stores through access groups by [@&#8203;shrey-berri](https://github.com/shrey-berri) in [#&#8203;50290](https://github.com/BerriAI/litellm/pull/50290)
- fix(openai): point gpt-image-1-mini, gpt-image-1.5 and chatgpt-image-latest at gpt-image-2.6-sunburst as successor by [@&#8203;devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#&#8203;51475](https://github.com/BerriAI/litellm/pull/51475)
- fix(ui): remove the Chargebacks page from Customer Portal by [@&#8203;tin-berri](https://github.com/tin-berri) in [#&#8203;51474](https://github.com/BerriAI/litellm/pull/51474)
- feat(proxy): customer org, team and member hierarchy with budget templates by [@&#8203;ishaan-j-berri](https://github.com/ishaan-j-berri) in [#&#8203;51459](https://github.com/BerriAI/litellm/pull/51459)
- feat(fal_ai): bill flat per-video fal.ai models with output_cost_per_video by [@&#8203;kenneth-berri](https://github.com/kenneth-berri) in [#&#8203;51225](https://github.com/BerriAI/litellm/pull/51225)
- feat(cost-map): load LITELLM_MODEL_COST_MAP_URL from gs\:// with Google application default credentials by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;51108](https://github.com/BerriAI/litellm/pull/51108)
- feat(dynamic_rate_limiter_v3): prometheus share, borrowed and throttle metrics per team and model by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51417](https://github.com/BerriAI/litellm/pull/51417)
- fix(dynamic_rate_limiter_v3): a borrower gets its full share back once the model saturates by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51415](https://github.com/BerriAI/litellm/pull/51415)
- fix(fal_ai): bill Luma Ray v3.2 videos at fal's 540p default resolution by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51477](https://github.com/BerriAI/litellm/pull/51477)
- feat(ui): set per-threshold budget alert recipients on virtual keys by [@&#8203;jesus-berri](https://github.com/jesus-berri) in [#&#8203;51061](https://github.com/BerriAI/litellm/pull/51061)
- fix(embeddings): unwrap extra_body for providers with their own embedding handlers by [@&#8203;kenneth-berri](https://github.com/kenneth-berri) in [#&#8203;51335](https://github.com/BerriAI/litellm/pull/51335)
- fix(bedrock): send max_tokens and priority in Cohere embedding requests by [@&#8203;kenneth-berri](https://github.com/kenneth-berri) in [#&#8203;51435](https://github.com/BerriAI/litellm/pull/51435)
- chore: bump litellm-enterprise 0.1.83 -> 0.1.84, litellm-proxy-extras 0.4.114 -> 0.4.115, litellm 1.110.0 -> 1.111.0 by [@&#8203;yucheng-berri](https://github.com/yucheng-berri) in [#&#8203;51486](https://github.com/BerriAI/litellm/pull/51486)
- chore(cost-map): point the fireworks deepseek v4 flash successor at deepseek-v4p1-flash by [@&#8203;kerry-berri](https://github.com/kerry-berri) in [#&#8203;51478](https://github.com/BerriAI/litellm/pull/51478)
- fix(cost): preserve Bedrock cross-region pricing for Messages by [@&#8203;joshua-berri](https://github.com/joshua-berri) in [#&#8203;51479](https:/…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants