litellm/tests/test_litellm/proxy/pass_through_endpoints
Ishaan Jaff d612d71ef4
[Feat] Add guardrails for pass through endpoints (#17221)
* add PassThroughGuardrailsConfig

* init JsonPathExtractor

* feat PassthroughGuardrailHandler

* feat pt guardrails

* pt guardrails

* add Pass-Through Endpoint Guardrail Translation

* add PassThroughEndpointHandler

* execute simple guardrail config and dict settings

* TestPassthroughGuardrailHandlerNormalizeConfig

* add passthrough_guardrails_config on litellm logging obj

* add LiteLLMLoggingObj to base trasaltino

* cleaner _get_guardrail_settings

* update guardrails settings

* docs pt guardrail

* docs Guardrails on Pass-Through Endpoints

* fix typing

* fix typing

* test_no_fields_set_sends_full_body

* fix typing

* Potential fix for code scanning alert no. 3834: Clear-text logging of sensitive information

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-11-27 12:06:53 -08:00
..
llm_provider_handlers Add cost tracking for cohere embed passthrough endpoint (#17029) 2025-11-24 17:39:26 -08:00
test_llm_pass_through_endpoints.py fix bedrock passthrough auth issue (#16879) 2025-11-24 18:44:59 -08:00
test_pass_through_endpoints.py (feat) Milvus - search vector store support + (fix) Passthrough Endpoints - support multi-part form data on passthrough (#16035) 2025-11-01 12:00:29 -07:00
test_passthrough_endpoints_common_utils.py test fix location of encode bedrock runtime modelid arn 2025-08-22 17:34:09 -07:00
test_passthrough_guardrails.py [Feat] Add guardrails for pass through endpoints (#17221) 2025-11-27 12:06:53 -08:00
test_vertex_ai_batch_passthrough.py Litellm sameer oct staging (#15806) 2025-10-24 12:17:22 -07:00