litellm/tests/unit/proxy
2026-11-14 18:35:58 +00:00
..
_experimental fix(mcp): load deprecated package aliases on demand (#48615) 2026-10-27 19:46:19 +00:00
a2a revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
agent_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
alerting_endpoints feat(alerts): add management controls and opt-in daily summaries (#51418) 2026-11-12 10:06:07 -08:00
analytics_endpoints fix(proxy): cancel the Admin UI's raw spend-log reads in Postgres after 30s (#49965) 2026-11-03 16:07:00 -08:00
anthropic_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
auth test(budgets): expect the end user refusal only from the native admission 2026-11-14 08:48:19 +00:00
batches_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
client revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
common_utils revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
config_resolvers revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
container_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
credential_endpoints fix(proxy): hold DB_RECONCILE_LOCK around credential create, update and delete (#50551) 2026-11-07 16:02:44 -08:00
db revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
decisions_endpoints feat(decisions): support Ollama decision models (#48871) 2026-10-28 12:35:26 -07:00
deps refactor(proxy): inject gateway activity through a typed repository (#49116) 2026-10-30 16:25:11 -07:00
discovery_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
enterprise_billing revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
example_config_yaml
fine_tuning_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
google_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
guardrails revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
health_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
hooks revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
image_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
lens fix(proxy): validate JSON object bodies before request handling (#48438) 2026-10-26 16:11:38 -07:00
list_api revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
logging_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
management fix(ui): take the dashboard's user role and identity from the server (#47025) 2026-10-17 14:39:33 -07:00
management_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
management_helpers revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
mcp_server revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
memory revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
middleware test(budgets): reserve the release middleware reservations through the native owner 2026-11-14 08:13:40 +00:00
ocr_endpoints fix(proxy)!: return provider-matching 4xx for the LIT-8062 status code follow-ups (#45537) 2026-10-13 11:42:39 -07:00
openai_files_endpoint revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
pass_through_endpoints test(budgets): reserve the pass-through reconcile reservation through the native owner 2026-11-14 08:18:29 +00:00
policy_engine revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
prompts revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
proxy_server test(budgets): settle the committed twin reservation through the native owner 2026-11-14 08:19:12 +00:00
public_endpoints fix(proxy): fetch blog posts without blocking the event loop (#51369) 2026-11-12 10:32:44 -08:00
rag_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
realtime_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
rerank_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
response_api_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
response_polling revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
roi_calculator revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
rust_forward test(proxy): make the cancelled supervisor test deterministic (#51258) 2026-11-11 15:48:02 -08:00
search_endpoints feat(proxy): total_timeout bounds a whole non-streaming request (#50496) 2026-11-08 00:43:50 -08:00
shutdown revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
spend_tracking feat(budgets): serve the counter spend python observes at pre_call as a contract field instead of a host call 2026-11-14 18:35:58 +00:00
telemetry feat(chat): add Moyai UI, model hub, images, and usage metrics (#40557) (#48108) 2026-10-23 23:39:23 +00:00
test_configs revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
types_utils revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
ui_crud_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
utils revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
vector_store_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
vector_store_files_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
video_endpoints revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
__init__.py
conftest.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
proxy_server_config.yaml chore: move config and docs off the repo root (#50966) 2026-11-11 18:29:35 -08:00
router_entry_point_stubs.py fix(proxy): send a prompt-only call_endpoint token count to every provider count API (#50783) 2026-11-10 18:09:19 +00:00
skill_submission_rows.py feat(skills): add optional manual security scans (#50194) 2026-11-05 01:57:39 -08:00
test__lazy_features.py feat(realtime)!: support latest OpenAI audio models (#35600) 2026-11-03 07:27:52 +00:00
test__types.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_admin_mcp.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_aiohttp_cleanup_closed.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_aiohttp_session_recovery.py refactor(proxy): expose public names for private proxy helpers (#45170) 2026-10-07 18:59:27 -07:00
test_api_key_masking_in_errors.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_aproxy_startup.py
test_audio_speech_prometheus_hooks.py test(proxy): move middleware, spend_tracking, pass_through, common_utils and root proxy tests into tests/unit/proxy (#44015) 2026-10-01 18:23:31 +00:00
test_batch_expiry.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_batch_metadata_none_fix.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_batch_retrieve_bedrock.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_batch_x_litellm_model_encoding.py fix(rag)!: use team provider credentials and allow viewer and JWT team access (#45497) 2026-10-17 23:51:48 +00:00
test_blocked_response_usage.py test(proxy): move middleware, spend_tracking, pass_through, common_utils and root proxy tests into tests/unit/proxy (#44015) 2026-10-01 18:23:31 +00:00
test_body_snapshot_callback_params.py test(proxy): move middleware, spend_tracking, pass_through, common_utils and root proxy tests into tests/unit/proxy (#44015) 2026-10-01 18:23:31 +00:00
test_budget_reservation.py test(budgets): decide the per-pixel image reservation skip through the installed native owner and drop the helpers the engine removal left unused 2026-11-14 11:25:27 +00:00
test_budget_reservation_rust.py test(budgets): replicate the lease, expired counter reseed and partial cleanup reservation tests over the native store on a resp redis 2026-11-14 09:25:04 +00:00
test_bug_report_config.py test(proxy): move middleware, spend_tracking, pass_through, common_utils and root proxy tests into tests/unit/proxy (#44015) 2026-10-01 18:23:31 +00:00
test_caching_routes.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_chat_completion_metadata.py feat(accounting): capture request usage through the durable meter (#49133) 2026-10-31 07:32:25 -07:00
test_claude_code_marketplace.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_collector.py test(unit): keep unix socket paths in unit tests under the macOS AF_UNIX limit (#45040) 2026-10-28 20:23:22 -07:00
test_common_request_processing.py feat(proxy): router_settings.fallback_on_saturation walks key and team fallbacks before a model saturates, replacing team model_preferences (#51439) 2026-11-13 05:57:18 +00:00
test_component_allowlists.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_conftest.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_cors_config.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_credential_slot_registry.py fix(proxy): stop request body fields from conflicting with admin-set deployment fields (#51254) 2026-11-11 23:39:17 +00:00
test_custom_callback_input.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_custom_logger_s3_gcs.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_custom_proxy.py test(ci): fix six CircleCI test regressions on main (#44429) 2026-10-03 20:55:01 -07:00
test_custom_tokenizer_bug.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_db_schema_changes.py refactor(proxy): name customer member budget columns budget_id and budget_override_id (#51490) 2026-11-12 17:33:22 -08:00
test_deprecated_key_grace_period.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_dev_reload.py refactor(proxy): let the gunicorn server take a private listener (#50871) 2026-11-11 19:40:00 +00:00
test_dynamic_mcp_route.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_empty_model_list.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_enforce_user_param.py test(proxy): move middleware, spend_tracking, pass_through, common_utils and root proxy tests into tests/unit/proxy (#44015) 2026-10-01 18:23:31 +00:00
test_fallback_management_endpoints.py fix(fallback): preserve concurrent writes and serve saved configuration (#51245) 2026-11-11 15:26:23 -08:00
test_fastapi_offline_routes.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_filter_models_by_team_access_group.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_get_favicon.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_get_image.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_health_check_functions.py fix(health): log Test Connection spend with the mode's call type and model id (#50987) 2026-11-11 16:07:33 -08:00
test_health_check_max_tokens.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_init_litellm_callbacks.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_langfuse_passthrough_security.py test(proxy): move middleware, spend_tracking, pass_through, common_utils and root proxy tests into tests/unit/proxy (#44015) 2026-10-01 18:23:31 +00:00
test_lazy_openapi_snapshot.py test(proxy): move middleware, spend_tracking, pass_through, common_utils and root proxy tests into tests/unit/proxy (#44015) 2026-10-01 18:23:31 +00:00
test_litellm_pre_call_utils.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_max_budget_env_var.py feat(proxy)!: add suppress_startup_output to turn off startup prints (#47708) 2026-10-29 03:47:04 -07:00
test_mcp_asgi_response.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_model_based_routing_files_batches.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_model_deprecations_endpoint.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_model_dump_with_preserved_fields.py feat(hosted_vllm)!: keep vLLM's stop_reason and token_ids on chat choices and stream chunks (#48393) 2026-11-02 13:26:29 -08:00
test_model_id_header_propagation.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_model_info_default_limits.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_model_level_guardrails.py refactor(router): move router callers onto the entry points and invert the proxy imports (#48847) 2026-10-29 17:26:33 +00:00
test_model_list_aliases.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_model_list_callback_filter.py refactor(proxy): expose public names for private proxy helpers (#45170) 2026-10-07 18:59:27 -07:00
test_model_list_discoverable.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_model_list_healthy_only.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_modify_response_streaming_passthrough.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_moyai_endpoints.py test: fix flaky team delete, refusal sink, loop-blocking, Moyai tamper and model-cost leak tests (#47135) 2026-10-20 18:01:36 +00:00
test_native_compaction.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_openai_ws_passthrough_routes.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_openapi_schema_validation.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_plugin_routes.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_pointfive_dashboard_config.py chore: move ui and vscode-extension under litellm and delete docs (#50992) 2026-11-12 04:19:57 +00:00
test_pointfive_ui_callback.py test(proxy): move middleware, spend_tracking, pass_through, common_utils and root proxy tests into tests/unit/proxy (#44015) 2026-10-01 18:23:31 +00:00
test_pricing_field_strip.py fix(security)!: build proxy-only failure logs from an allowlist and drop caller guardrail info (#48599) 2026-10-27 12:40:59 -07:00
test_prisma_client_backoff_retry.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_prisma_engine_watchdog.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_prisma_migration.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_prometheus_cleanup.py feat(prometheus): cap series per metric for every labeled metric (#44420) 2026-10-06 01:28:44 +00:00
test_prometheus_metrics_server.py feat(gemini): support gemini-decision-1 on /v1/decisions and /v1/systemone (#51220) 2026-11-11 18:33:22 -08:00
test_prompt_test_endpoint.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_provider_url_destination_guard.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_proxy_cli.py feat(proxy): supervise the opt-in Rust forwarding server (#49606) 2026-11-11 19:40:00 +00:00
test_proxy_config_unit_test.py feat(mcp): add mcp_disabled_capabilities to stop advertising prompts and resources (#46563) 2026-10-15 15:15:40 -07:00
test_proxy_custom_auth.py
test_proxy_logging_hook_detection.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_proxy_reject_logging.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_proxy_server.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_proxy_server_custom_logger.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_proxy_server_endpoints_and_startup.py test(budgets): settle the spend counter increment reservations through the native owner 2026-11-14 08:19:56 +00:00
test_proxy_server_exception_mapping.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_proxy_setting_guardrails.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_proxy_token_counter.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_proxy_types.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_proxy_utils.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_proxy_utils_model_creation_and_error_logging.py fix(proxy): keep call id, model and key logging on keys refused before the body is read (#51525) 2026-11-12 19:39:51 -08:00
test_pyroscope.py test(proxy): move middleware, spend_tracking, pass_through, common_utils and root proxy tests into tests/unit/proxy (#44015) 2026-10-01 18:23:31 +00:00
test_read_model_list.py test(proxy): move middleware, spend_tracking, pass_through, common_utils and root proxy tests into tests/unit/proxy (#44015) 2026-10-01 18:23:31 +00:00
test_redis_auth_cache_flag.py fix(redis): share one native circuit breaker between RedisCache and the Rust stores (#50473) 2026-11-07 17:50:06 +09:00
test_reducto_ocr_route.py
test_response_model_sanitization.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_response_polling_pre_call_checks.py feat(proxy): router_settings.fallback_on_saturation walks key and team fallbacks before a model saturates, replacing team model_preferences (#51439) 2026-11-13 05:57:18 +00:00
test_route_a2a_models.py refactor(router): move router callers onto the entry points and invert the proxy imports (#48847) 2026-10-29 17:26:33 +00:00
test_route_llm_request.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_route_priority.py fix(proxy): let configured pass-through endpoints outrank built-in provider prefix routes (#44133) 2026-10-10 12:26:17 -07:00
test_sensitive_route_auth.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_server_listener.py refactor(proxy): let the gunicorn server take a private listener (#50871) 2026-11-11 19:40:00 +00:00
test_server_root_path.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_shared_health_check.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_spend_log_cleanup.py feat(proxy): run spend log cleanup from a DB-backed scheduled job table (#50131) 2026-11-11 18:22:02 -08:00
test_swagger_chat_completions.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_team_member_update.py refactor(proxy): expose public names for private proxy helpers (#45170) 2026-10-07 18:59:27 -07:00
test_team_org_move.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_tools_allowlist_enforcement.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_tracing_endpoints.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_ui_path_detection.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_unit_test_proxy_hooks.py feat(accounting)!: make the SpendLogs ledger the default accounting path (#49872) 2026-11-05 09:14:10 -08:00
test_update_llm_router_resilience.py refactor(router): move router callers onto the entry points and invert the proxy imports (#48847) 2026-10-29 17:26:33 +00:00
test_update_spend.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_v2_hook_routing.py feat(custom-logger-v2): add the contract for rust callbacks and bind the proxy request scope (#51526) 2026-11-14 02:33:27 +00:00
test_v2_proxy_fields.py feat(custom-logger-v2): add the contract for rust callbacks and bind the proxy request scope (#51526) 2026-11-14 02:33:27 +00:00
test_zero_cost_model_budget_bypass.py revert: undo the unrelated mass reformat that landed on the budgets branch 2026-11-14 05:39:48 +00:00
test_zerobus_dashboard_config.py chore: move ui and vscode-extension under litellm and delete docs (#50992) 2026-11-12 04:19:57 +00:00
vector_store_access_group_state.py feat(access-groups): grant vector stores through access groups (#50290) 2026-11-12 14:59:17 -08:00
vertex_key.json