litellm/litellm/router_rust
mika-lt 530a5094be
fix(router)!: stop a client's metadata flag from turning off silent_model mirroring (#52083)
* fix(router)!: stop a client's metadata flag from turning off silent_model mirroring

A request that sent metadata.is_silent_experiment true skipped every mirror the
deployment's silent_model configured. The check was a recursion guard from when
mirroring first shipped. The router now stops a mirror from mirroring again on
its own, so the metadata check only ever acted on client input

BREAKING CHANGE: clients can no longer opt out of an admin's traffic mirroring by
sending is_silent_experiment in request metadata

* test(router): assert a caller-sent silent experiment flag still mirrors in the router core tests

The two core tests pinned the old opt-out, where a request that sent
metadata.is_silent_experiment skipped the deployment's silent_model

* test(router): check a mirrored call is never mirrored again on the sync path

* test(router): name why the sync mirror test suppresses the endpoint attribute check

* ci: start the zizmor check GitHub skipped at the last push

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-11-16 15:45:56 -08:00
..
invoke fix(router)!: stop a client's metadata flag from turning off silent_model mirroring (#52083) 2026-11-16 15:45:56 -08:00
steps fix(router): preserve routing tags after guardrail metadata enrichment (#50488) 2026-11-16 11:34:48 -08:00
surface fix(cost): keep a deployment's per-second video price over the catalog row's flat price (#51688) 2026-11-15 12:04:41 -08:00
__init__.py chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
core.py fix(router): preserve routing tags after guardrail metadata enrichment (#50488) 2026-11-16 11:34:48 -08:00
routing_stores.py refactor(router): count the whole router_usage family on the native store (#50862) 2026-11-13 03:22:28 +00:00