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 |
|