litellm/tests/test_litellm/proxy/_experimental
Tin Chi Lo 8ca809d426 fix(mcp): scope semantic filter matching and indexing errors to the requesting call
Match candidates are restricted to the request's own tool names via
route_filter, so routes learned from other principals' listings cannot
displace the caller's tools from top_k. Lazy indexing now uses the
async aadd flow exclusively; an embedding failure, including a
context-window overflow on an oversized description, raises for the
requesting call only and never writes the shared context_window_error,
so one request cannot poison the filter for every user on the worker.
The router is also sized to the configured top_k, which the
semantic-router index layer otherwise silently caps at its default
of 5.
2026-07-14 19:34:17 -07:00
..
mcp_server fix(mcp): scope semantic filter matching and indexing errors to the requesting call 2026-07-14 19:34:17 -07:00