litellm/tests/test_litellm/proxy
devin-ai-integration[bot] 985ac6b6a5
fix(rate_limiter): skip non-Latin-1 x-litellm-priority header on /v1/messages (#40636)
A team or key priority that is not Latin-1 encodable (for example CJK text) was
attached as a response header by the dynamic rate limiter v3 post-call hook, and
Starlette then raised UnicodeEncodeError while writing headers, turning a
successful /v1/messages call into HTTP 500. The header is now omitted for such
values while x-litellm-rate-limiter-version and the v3 rate limit headers are
still attached.

Co-authored-by: yucheng <yucheng@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-10 17:48:46 -07:00
..
_experimental/mcp_server Merge pull request #38724 from BerriAI/litellm_mcp_oauth_identity_binding 2026-09-10 14:44:11 -07:00
a2a
agent_endpoints fix(a2a): forward caller identity headers on message/send and message/stream (#40305) 2026-09-08 15:56:52 -07:00
analytics_endpoints
anthropic_endpoints test(proxy): pass the request to get_marketplace in the archive marketplace test 2026-09-10 14:54:46 -07:00
auth fix(proxy): let internal users read request/response for their own spend logs 2026-09-10 15:04:15 -07:00
batches_endpoints
client feat(proxy): expose reversible Claude Code model listing aliases (#40515) 2026-09-09 22:04:37 -07:00
common_utils fix(reset_budget_job): reset end users by budget link, not by user id 2026-09-10 16:57:53 -07:00
config_resolvers
container_endpoints
credential_endpoints
db feat(proxy): let the in-container pgbouncer follow rotating RDS IAM and Azure Entra tokens (#40623) 2026-09-10 16:18:00 -07:00
discovery_endpoints
enterprise_billing
experimental/mcp_server
fine_tuning_endpoints
google_endpoints
guardrails Merge pull request #40270 from BerriAI/litellm_bedrock_sign_request_off_loop 2026-09-09 19:31:58 -07:00
health_endpoints feat(pointfive): answer the ui health check with a liveness ping 2026-09-10 14:02:35 +03:00
hooks fix(rate_limiter): skip non-Latin-1 x-litellm-priority header on /v1/messages (#40636) 2026-09-10 17:48:46 -07:00
image_endpoints fix(proxy): keep a ProxyException's status and label 408s in the OpenAI error payload 2026-09-08 12:16:08 -07:00
list_api
logging_endpoints
management_endpoints Merge pull request #40613 from BerriAI/litellm_gate_organizations_on_enterprise_license 2026-09-10 16:54:49 -07:00
management_helpers feat(proxy): granular key/team access control for Claude Code marketplace plugins (#40518) 2026-09-10 14:26:09 -07:00
memory
middleware feat(proxy): resolve root_path per request from a configured prefix list (SERVER_ROOT_PATHS) (#35935) 2026-09-07 11:54:59 -07:00
ocr_endpoints
openai_files_endpoint fix(proxy): label a 408 invalid_request_error again and pin the in-route status on the files and realtime tails 2026-09-08 13:11:24 -07:00
pass_through_endpoints Merge branch 'litellm_internal_staging' into litellm_lit_7022_azure_ai_passthrough_config 2026-09-09 19:42:28 -07:00
policy_engine Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_legacy_hook_streaming_pipeline_step 2026-09-09 15:52:48 -07:00
prompts
proxy_server feat(proxy): offload spend tracking to a pod-local collector sidecar (#40545) 2026-09-10 17:14:13 -07:00
public_endpoints test(proxy): drop docstrings from the Add Model provider tests 2026-09-07 15:12:41 -07:00
rag_endpoints
realtime_endpoints test(proxy): type the realtime WebRTC fixtures with Protocols instead of a bare Callable 2026-09-08 15:01:17 -07:00
rerank_endpoints fix(proxy): keep a ProxyException's status and label 408s in the OpenAI error payload 2026-09-08 12:16:08 -07:00
response_api_endpoints
shutdown
spend_tracking feat(proxy): offload spend tracking to a pod-local collector sidecar (#40545) 2026-09-10 17:14:13 -07:00
test_configs
types_utils
ui_crud_endpoints
utils Merge pull request #39539 from BerriAI/litellm_fix_health_check_db_storm 2026-09-10 14:45:59 -07:00
vector_store_endpoints fix(proxy): let authorized internal users open vector store details (#40150) 2026-09-07 13:10:09 -07:00
vector_store_files_endpoints
video_endpoints
__init__.py
conftest.py
test__types.py
test_aiohttp_cleanup_closed.py
test_aiohttp_session_recovery.py
test_api_key_masking_in_errors.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_budget_reservation.py perf(proxy): pipeline spend counter increments into one Redis call per request (#40371) 2026-09-09 10:35:50 -07:00
test_caching_routes.py
test_chat_completion_metadata.py
test_claude_code_marketplace.py
test_collector.py feat(proxy): offload spend tracking to a pod-local collector sidecar (#40545) 2026-09-10 17:14:13 -07:00
test_common_request_processing.py fix(router): resolve team-scoped auto-routers by their public name (#40432) 2026-09-09 15:53:05 -07:00
test_component_allowlists.py
test_conftest.py
test_cors_config.py
test_custom_proxy.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_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 fix(proxy): accept non-string callback vars in default_team_settings (#40458) 2026-09-09 15:40:15 -07:00
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_healthy_only.py
test_modify_response_streaming_passthrough.py
test_openai_ws_passthrough_routes.py
test_openapi_schema_validation.py
test_plugin_routes.py
test_pointfive_dashboard_config.py feat(pointfive): add pointfive to the dashboard logging integrations 2026-09-10 14:02:35 +03:00
test_pointfive_ui_callback.py feat(pointfive): list pointfive in the proxy callback registry 2026-09-10 14:02:35 +03:00
test_pricing_field_strip.py
test_prisma_engine_watchdog.py fix(proxy): recreate the Prisma client when the writer session turns read-only (#40610) 2026-09-10 13:53:42 -07:00
test_prisma_migration.py
test_prometheus_cleanup.py feat(deploy): metrics sidecar and separate metrics port in Helm and Terraform (#40163) 2026-09-08 13:31:07 -07:00
test_prometheus_metrics_server.py feat(deploy): metrics sidecar and separate metrics port in Helm and Terraform (#40163) 2026-09-08 13:31:07 -07:00
test_provider_url_destination_guard.py
test_proxy_cli.py test(proxy): isolate reaper state and reap Prisma fixture children 2026-09-08 17:35:43 -07:00
test_proxy_logging_hook_detection.py test(proxy): give the pipeline-managed native hook audit test its chat completions route 2026-09-09 14:15:01 -07:00
test_proxy_server.py Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_lit_5546_count_tokens_offload 2026-09-09 18:18:17 -07:00
test_proxy_types.py
test_proxy_utils.py feat(proxy): let the in-container pgbouncer follow rotating RDS IAM and Azure Entra tokens (#40623) 2026-09-10 16:18:00 -07:00
test_pyroscope.py
test_read_model_list.py
test_redis_auth_cache_flag.py
test_response_model_sanitization.py
test_route_a2a_models.py
test_route_llm_request.py
test_sensitive_route_auth.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_update_llm_router_resilience.py