mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
* 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> |
||
|---|---|---|
| .. | ||
| core | ||
| __init__.py | ||
| test_enforce_model_rate_limits.py | ||
| test_io_token_rate_limits.py | ||
| test_router.py | ||
| test_router_callback_hook_sequence.py | ||
| test_router_endpoints.py | ||
| test_router_entry_points.py | ||
| test_router_facade.py | ||
| test_router_fallbacks.py | ||
| test_router_fuzz_regressions_rust_only.py | ||
| test_router_get_deployments.py | ||
| test_router_helper_utils.py | ||
| test_router_host.py | ||
| test_router_max_parallel_requests.py | ||
| test_router_provider_endpoints.py | ||
| test_router_retries.py | ||
| test_router_surface_check.py | ||
| test_router_timeout.py | ||
| test_router_vector_store_endpoints.py | ||