litellm/tests/integration/routing
moe-berri 67954b5c3a
fix(proxy): apply key and team router_settings to /v1/images/generations (#49286)
* fix(proxy): apply key and team router_settings to /v1/images/generations

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

* style(proxy): format router settings helper

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

* fix(proxy): resolve key model_group_alias once on image generations

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>
2026-10-30 12:38:21 -07:00
..
_prompt_cache_pin_support.py
_reasoning_effort_levels_support.py test(routing): audit #46601 (#48910) 2026-10-28 15:42:51 -07:00
either_role.json
test_advisor_failure_cooldown.py
test_audit_any_sweep_chaos.py
test_auto_router_management.py fix!: retain unattributed daily activity across reports and exports (#48925) 2026-10-29 09:39:49 -07:00
test_azure_passthrough_spend_row.py
test_base_model_context_window_owned_proxy.py
test_batch_mode_deployments_wire.py test(router): audit #47376 (#48792) 2026-10-28 04:48:30 -07:00
test_complexity_router_codex_compaction.py
test_complexity_router_databricks_classifier.py
test_complexity_router_llm_classifier.py
test_declared_provider_bare_model_routes.py
test_deployment_mode_routing_wire.py
test_deployment_num_retries_generic_routes_wire.py
test_encrypted_content_affinity_no_peer.py
test_end_user_region_routing.py fix(router): drop the deployment rpm filter from enable_pre_call_checks (#48873) 2026-10-28 12:13:56 -07:00
test_enforce_model_rate_limits_daily_limits.py feat(router): add deployment rpd and tpd daily limits to enforce_model_rate_limits (#48875) 2026-10-28 15:52:44 -07:00
test_fallback_hop_foreign_encrypted_reasoning.py
test_fallback_retry_header_contracts.py
test_include_fallback_errors_wire.py
test_key_max_parallel_requests.py
test_key_router_settings_image_generation.py fix(proxy): apply key and team router_settings to /v1/images/generations (#49286) 2026-10-30 12:38:21 -07:00
test_key_tpm_reservation.py
test_messages_stream_retry_budget_sources_owned_proxy.py
test_model_capability_flags.py
test_non_chat_model_endpoint_gate.py feat(router): opt in to non-chat deployment filtering (#46257) 2026-10-29 08:33:36 -07:00
test_observed_routing.py
test_otpm_default_reservation_fraction.py fix(router): cap the default OTPM reservation and reconcile token counters after each call (#49054) 2026-10-29 20:32:04 -07:00
test_payment_required_cooldown.py fix(router): keep a lone deployment warm under router allowed_fails unless the policy names the exception (#48644) 2026-10-27 15:12:53 -07:00
test_payment_required_mapping.py
test_pdf_document_pre_call_checks_owned_proxy.py
test_per_model_rate_limit_fallbacks.py
test_per_model_rate_limit_fallbacks_lifecycle.py
test_pre_call_response_format_filter.py
test_priority_model_tpm_enforcement.py
test_priority_rate_limit_headers.py
test_priority_scheduler_queue_cleanup.py test(router): audit #47498 (#48799) 2026-10-28 04:36:50 -07:00
test_prompt_cache_pin_memory_routes.py
test_prompt_cache_pin_ttl.py
test_prompt_cache_pin_ttl_chaos.py
test_prompt_caching_affinity_tool_call_marks.py
test_ptu_shares.py
test_ptu_shares_regex_timing.py
test_reasoning_effort_levels_chaos.py
test_reasoning_effort_levels_wire.py test(routing): audit #46601 (#48910) 2026-10-28 15:42:51 -07:00
test_redis_increment_with_floor.py
test_redis_recovery.py
test_responses_websocket_turn_admission.py fix(router)!: check and count deployment itpm and otpm on every Responses WebSocket turn (#49069) 2026-10-30 07:48:32 -07:00
test_router_strategies_count_async_requests_once.py
test_silent_model_shadow_wire.py test(router): audit #41368 (#48794) 2026-10-28 05:14:59 -07:00
test_stale_cost_map_boot.py
test_tag_routing_prefix.py
test_team_tag_routing.py
test_team_wildcard_precedence.py
test_usage_based_routing_redis_reads.py
test_user_config_routing.py
test_video_poll_routing_wire.py
test_vllm_passthrough_spend_row.py
test_vllm_passthrough_stream_relay.py
test_vllm_passthrough_stream_usage_settings.py
test_wildcard_model_listing.py