litellm/tests/test_litellm/proxy
mateo-berri d4465e9d5c fix(proxy): merge only dict client metadata into pass-through logging
Backport adaptation for stable/1.103.x. main merges a pass-through caller's metadata and litellm_metadata into the logging metadata only when they are dicts. This line merged any value, so a list of pairs could carry standard_logging_guardrail_information past the guardrail strip from #59.
2026-10-27 10:31:57 -07:00
..
_experimental/mcp_server Merge remote-tracking branch 'origin/main' into litellm_org_alias_from_team 2026-09-19 12:55:15 -07:00
a2a
agent_endpoints Merge pull request #41511 from BerriAI/litellm_foundry_a2a_entra_agents 2026-09-18 11:44:14 -07:00
analytics_endpoints fix(proxy): attribute gate-rejected requests to their endpoint in cache analytics (#40824) 2026-09-12 16:03:38 -07:00
anthropic_endpoints fix(claude_code_gateway): mint the bearer before consuming the device code so a signing failure never spends the login 2026-09-18 18:25:55 -07:00
auth refactor(auth): bind UI/CLI session tokens to their own AES-GCM context 2026-09-29 15:17:24 -07:00
batches_endpoints fix(spend): attribute CLI session spend to the per-user cli-session alias instead of the hashed session token (#40541) 2026-09-30 11:43:02 -07:00
client fix(proxy): estimate auto-router baseline costs from durable cache history 2026-09-19 12:44:47 -07:00
common_utils fix(proxy): strip caller base_model from spend pricing and reject lone surrogates in multipart metadata (#47639) 2026-10-21 03:37:25 +00:00
config_resolvers fix(proxy): restore pre-config-wins handling of pass-through endpoints (#43962) 2026-09-30 22:23:33 -07:00
container_endpoints
credential_endpoints fix(credentials): answer 409 on a name collision, let PATCH resolve values from model_id 2026-09-15 10:41:43 -07:00
db fix(proxy): flush the spend-log queue only for Responses turns the bridge reads back (#47614) 2026-10-21 03:37:25 +00:00
discovery_endpoints chore(proxy): drop explanatory docstrings from credentials hint helper and tests 2026-09-14 19:29:30 +00:00
enterprise_billing
experimental/mcp_server
fine_tuning_endpoints
google_endpoints fix(bedrock): count tokens on bedrock-mantle when bedrock-runtime cannot count a Claude model (#45317) 2026-10-21 01:50:30 +00:00
guardrails Merge pull request #41986 from BerriAI/litellm_revert_post_call_guardrail_context 2026-09-19 12:06:30 -07:00
health_endpoints Merge pull request #40814 from BerriAI/litellm_gate_health_services_alert_tests 2026-09-12 21:13:30 -07:00
hooks Merge stable/1.103.x (#47743, #47763) into litellm_backport_p0_batch_translation_cost_stable_1_103_x 2026-10-21 00:55:49 -07:00
image_endpoints Merge remote-tracking branch 'origin/main' into litellm_fix_image_edits_bracketed_alias 2026-09-17 14:49:54 -07:00
list_api
logging_endpoints
management_endpoints fix(proxy): recover session key owners from daily spend for usage attribution (#43642) 2026-09-30 11:56:46 -07:00
management_helpers Merge remote-tracking branch 'origin/main' into litellm_team_member_budget_link_default 2026-09-18 23:05:03 +00:00
memory
middleware Merge pull request #34267 from BerriAI/litellm_claude_code_gateway_protocol 2026-09-18 20:49:48 -07:00
ocr_endpoints
openai_files_endpoint fix(files): keep an explicit target_storage on its old path and refuse litellm_db as a caller choice 2026-09-19 13:20:02 -07:00
pass_through_endpoints fix(proxy): merge only dict client metadata into pass-through logging 2026-10-27 10:31:57 -07:00
policy_engine fix(policy_engine): deliver guardrail text rewrites on multi-choice, unfinished, and envelope-less streams 2026-09-18 22:59:52 -07:00
prompts
proxy_server fix(proxy): stamp the client alias on a copy of each streamed chunk so pricing sees the deployment model (#44341) 2026-10-03 11:20:16 -07:00
public_endpoints Merge pull request #41617 from BerriAI/litellm_fuse_model_profile_presets 2026-09-19 16:17:19 -07:00
rag_endpoints test(rag): drop the docstrings from the registered-store ingest tests 2026-09-19 04:10:49 -07:00
realtime_endpoints refactor(proxy): replace configurable model access denied message with a fixed clean client message 2026-09-16 01:44:36 +00:00
rerank_endpoints fix(proxy): carry litellm_call_id through endpoint specific error logs and failure responses 2026-09-16 02:29:26 +00:00
response_api_endpoints fix(proxy): validate responses input after prompt template expansion 2026-09-19 16:34:53 +00:00
shutdown
spend_tracking fix(proxy-extras): keep the post-migration sanity check from building the hand-built SpendLogs indexes 2026-10-02 16:58:30 -07:00
test_configs
types_utils feat(proxy): unified custom_key_policy hook for key generate, update and regenerate 2026-09-12 16:09:24 -07:00
ui_crud_endpoints Merge remote-tracking branch 'origin/main' into litellm_websearch_activation_status 2026-09-19 16:16:25 -07:00
utils fix(proxy): keep allowlisted metadata in proxy-only failure logs 2026-10-27 10:31:57 -07:00
vector_store_endpoints fix(vector_stores): run the full model grant check on caller-supplied model hints 2026-09-19 00:54:41 -07:00
vector_store_files_endpoints
video_endpoints
__init__.py
conftest.py
test__types.py feat(jwt): allow virtual_key_claim_field per issuer 2026-09-13 00:41:08 +00:00
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 fix(proxy): apply model grants to unified file and batch ids on batch routes 2026-09-10 18:10:18 -04:00
test_blocked_response_usage.py
test_budget_reservation.py fix(proxy): carry project_id through key metadata enrichment and drop docstrings 2026-09-16 02:28:38 +00: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(proxy): bill partial Responses API streams when the client disconnects (#47611) 2026-10-21 03:37:25 +00:00
test_component_allowlists.py fix(gateway): serve /debug/memory/summary on the data plane so the memory regression test can read each gateway's RSS 2026-09-10 18:12:40 -07:00
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 fix(health): skip background health check DB writes when the latest-row read fails 2026-09-14 23:03:30 +00:00
test_health_check_max_tokens.py fix(health): keep team public names to the owning team and let model_id win over model 2026-09-11 19:49:37 -07:00
test_init_litellm_callbacks.py
test_langfuse_passthrough_security.py
test_lazy_openapi_snapshot.py
test_litellm_pre_call_utils.py feat(proxy): lift every earlier billed timed-out retry attempt onto the failed request (#47490) 2026-10-21 00:45:27 +00: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 perf(proxy): serialize /model/info listing once with orjson 2026-09-14 19:47:51 +00:00
test_model_level_guardrails.py
test_model_list_healthy_only.py perf(proxy): serialize /model/info listing once with orjson 2026-09-14 19:47:51 +00:00
test_modify_response_streaming_passthrough.py
test_openai_ws_passthrough_routes.py fix(proxy): keep the token's team model list in the websocket passthrough gate without a database 2026-09-04 19:05:35 -07:00
test_openapi_schema_validation.py
test_plugin_routes.py refactor(proxy): resolve config and DB settings precedence in one SettingsStore 2026-09-17 23:36:27 -07:00
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 fix(proxy): always strip client guardrail info and mirror failure attribution into litellm_metadata 2026-10-27 10:31:57 -07:00
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 fix(proxy): enforce the migration check by default and stop building SpendLogs indexes in migrations 2026-10-02 17:20:02 +00:00
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 fix(proxy): enforce the migration check by default and stop building SpendLogs indexes in migrations 2026-10-02 17:20:02 +00:00
test_proxy_logging_hook_detection.py fix(proxy): keep queued moderation running past a V1 pre_call guardrail 2026-09-18 23:33:29 +00:00
test_proxy_server.py fix(proxy): restore pre-config-wins handling of pass-through endpoints (#43962) 2026-09-30 22:23:33 -07:00
test_proxy_types.py fix(router): honor team and key provider weights 2026-09-14 23:31:52 -07:00
test_proxy_utils.py fix(proxy): always strip client guardrail info and mirror failure attribution into litellm_metadata 2026-10-27 10:31:57 -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 fix(proxy): return 400 instead of 500 for /v1/responses without input 2026-09-19 08:01:33 +00:00
test_route_priority.py perf(proxy): register liveness and core inference routes first (#40687) 2026-09-11 17:10:38 +00:00
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 fix(team): schedule membership audit writes after commit and lock the roster on role updates 2026-09-19 22:33:22 +00:00
test_team_org_move.py
test_tools_allowlist_enforcement.py
test_update_llm_router_resilience.py