mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-12 03:48:56 +00:00
* fix(proxy): accept team-scoped models by their public name on POST /fallback create_fallback validated the primary and fallback models against the router's stored model names only, so a model created through POST /model/new with model_info.team_id was rejected with a 404 unless the caller used the generated model_name_<team_id>_<uuid> name. The endpoint now also accepts the team public model names, which request time fallback matching already keys on, and lists both kinds of names in the 404's available_models. * fix(proxy): read fallback rules fresh and clear the config cache after a fallback write A second POST or DELETE /fallback within the 60 s config cache TTL started from a cached copy of router_settings and dropped every rule stored since that copy was taken, by any instance. Both endpoints now evict the cached row before the read and invalidate it after the upsert * test(proxy): type the fallback endpoint tests and prove a team request fails over by public name * fix(proxy): keep fallback writes working when the Redis config cache is down and type the stored settings read * fix(proxy): keep the non-standard fallback shapes the router accepts on writes and resolve the config cache at call time * test(proxy): mark the config cache outage test's result as Final * fix(proxy): replace a same-key fallback rule in place and read a null rule list as empty * test(proxy): let the stored router settings fixture carry a null rule list * test(proxy): audit cells for fallback rules by team public name * test(proxy): delete the fallback rules the audit cells save --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| _batch_file_caps.py | ||
| test_batch_file_usage_caps.py | ||
| test_batch_file_usage_caps_chaos.py | ||
| test_batch_limit_metadata_admin_only.py | ||
| test_budget_updates.py | ||
| test_credential_federation_values.py | ||
| test_fallback_management_public_names.py | ||
| test_guardrail_usage_config_guardrail.py | ||
| test_key_route_contracts.py | ||
| test_key_updates.py | ||
| test_listing_and_health_contracts.py | ||
| test_model_credential_name_updates.py | ||
| test_model_health_check.py | ||
| test_organization_budget_clear.py | ||
| test_organization_lifecycle.py | ||
| test_partial_update_sequences.py | ||
| test_project_lifecycle.py | ||
| test_scim_group_member_not_yet_provisioned.py | ||
| test_scim_group_pathless_patch.py | ||
| test_team_budget_duration_defaults.py | ||
| test_team_delete_chaos.py | ||
| test_team_delete_inputs.py | ||
| test_team_delete_large_membership.py | ||
| test_team_delete_member_cache_eviction.py | ||
| test_team_delete_prometheus.py | ||
| test_team_member_budget_cache.py | ||
| test_team_member_routes.py | ||
| test_tool_policy_user.py | ||
| test_user_rate_limit_updates.py | ||
| test_user_routes.py | ||
| test_user_updates_wedged_coordination_redis.py | ||
| test_vector_store_config_ownership.py | ||
| test_vector_store_file_list_managed_ids.py | ||