litellm/tests/unit/proxy
mateo-berri a6b9f4d894
Some checks failed
Cost map pins recheck / rerun-cost-map-guard (push) Has been cancelled
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Modules / fmt, validate, test (gcp) (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled
fix(batches): set the created endpoint on the batch object the hook saves and the logger reads
Retrieve, cancel and the cost poller now write the endpoint saved at create time onto the
provider's batch object itself instead of a copy. The managed files hook persists that object
and swaps its raw provider id for the unified id in place, and the spend logger reads the same
object, so a copy either let the hook save the provider's endpoint back or kept the raw id on
the inline cost row.
2026-11-04 20:49:17 -08:00
..
_experimental
a2a
agent_endpoints
analytics_endpoints
anthropic_endpoints
auth
batches_endpoints
client
common_utils
config_resolvers
container_endpoints
credential_endpoints
db
decisions_endpoints
deps
discovery_endpoints
enterprise_billing
example_config_yaml
fine_tuning_endpoints
google_endpoints
guardrails
health_endpoints
hooks
image_endpoints
lens
list_api
logging_endpoints
management
management_endpoints
management_helpers
mcp_server
memory
middleware
ocr_endpoints
openai_files_endpoint
pass_through_endpoints
policy_engine
prompts
proxy_server
public_endpoints
rag_endpoints
realtime_endpoints
rerank_endpoints
response_api_endpoints
response_polling
roi_calculator
search_endpoints
shutdown
spend_tracking
telemetry
test_configs
types_utils
ui_crud_endpoints
utils
vector_store_endpoints
vector_store_files_endpoints
video_endpoints
__init__.py
conftest.py
router_entry_point_stubs.py
test__lazy_features.py
test__types.py
test_admin_mcp.py
test_aiohttp_cleanup_closed.py
test_aiohttp_session_recovery.py
test_api_key_masking_in_errors.py
test_aproxy_startup.py
test_audio_speech_prometheus_hooks.py
test_batch_expiry.py
test_batch_metadata_none_fix.py
test_batch_retrieve_bedrock.py
test_batch_x_litellm_model_encoding.py
test_blocked_response_usage.py
test_body_snapshot_callback_params.py
test_budget_reservation.py
test_bug_report_config.py
test_caching_routes.py
test_chat_completion_metadata.py
test_claude_code_marketplace.py
test_collector.py
test_common_request_processing.py
test_component_allowlists.py
test_conftest.py
test_cors_config.py
test_credential_slot_registry.py
test_custom_callback_input.py
test_custom_logger_s3_gcs.py
test_custom_proxy.py
test_custom_tokenizer_bug.py
test_db_schema_changes.py
test_deprecated_key_grace_period.py
test_dev_reload.py
test_dynamic_mcp_route.py
test_empty_model_list.py
test_enforce_user_param.py
test_fallback_management_endpoints.py
test_fastapi_offline_routes.py
test_filter_models_by_team_access_group.py
test_get_favicon.py
test_get_image.py
test_health_check_functions.py
test_health_check_max_tokens.py
test_init_litellm_callbacks.py
test_langfuse_passthrough_security.py
test_lazy_openapi_snapshot.py
test_litellm_pre_call_utils.py
test_max_budget_env_var.py
test_mcp_asgi_response.py
test_model_based_routing_files_batches.py
test_model_deprecations_endpoint.py
test_model_dump_with_preserved_fields.py
test_model_id_header_propagation.py
test_model_info_default_limits.py
test_model_level_guardrails.py
test_model_list_aliases.py
test_model_list_callback_filter.py
test_model_list_discoverable.py
test_model_list_healthy_only.py
test_modify_response_streaming_passthrough.py
test_moyai_endpoints.py
test_native_compaction.py
test_openai_ws_passthrough_routes.py
test_openapi_schema_validation.py
test_plugin_routes.py
test_pointfive_dashboard_config.py
test_pointfive_ui_callback.py
test_pricing_field_strip.py
test_prisma_client_backoff_retry.py
test_prisma_engine_watchdog.py
test_prisma_migration.py
test_prometheus_cleanup.py
test_prometheus_metrics_server.py
test_prompt_test_endpoint.py
test_provider_url_destination_guard.py
test_proxy_cli.py
test_proxy_config_unit_test.py
test_proxy_custom_auth.py
test_proxy_logging_hook_detection.py
test_proxy_reject_logging.py
test_proxy_server.py
test_proxy_server_custom_logger.py
test_proxy_server_endpoints_and_startup.py
test_proxy_server_exception_mapping.py
test_proxy_setting_guardrails.py
test_proxy_token_counter.py
test_proxy_types.py
test_proxy_utils.py
test_proxy_utils_model_creation_and_error_logging.py
test_pyroscope.py
test_read_model_list.py
test_redis_auth_cache_flag.py
test_reducto_ocr_route.py
test_response_model_sanitization.py
test_response_polling_pre_call_checks.py
test_route_a2a_models.py
test_route_llm_request.py
test_route_priority.py
test_sensitive_route_auth.py
test_server_root_path.py
test_shared_health_check.py
test_spend_log_cleanup.py
test_swagger_chat_completions.py
test_team_member_update.py
test_team_org_move.py
test_tools_allowlist_enforcement.py
test_tracing_endpoints.py
test_ui_path_detection.py
test_unit_test_proxy_hooks.py
test_update_llm_router_resilience.py
test_update_spend.py
test_zero_cost_model_budget_bypass.py
test_zerobus_dashboard_config.py
vertex_key.json