litellm/litellm/proxy/example_config_yaml
Ishaan Jaff 08b61f49a4
[Guardrails] Add guardrail pipeline support for conditional sequential execution (#21177)
* Add pipeline type definitions for guardrail pipelines

PipelineStep, GuardrailPipeline, PipelineStepResult, PipelineExecutionResult
with validation for actions (allow/block/next/modify_response) and modes.

* Export pipeline types from policy_engine types package

* Add optional pipeline field to Policy model

* Add pipeline executor for sequential guardrail execution

* Parse pipeline config in policy registry

* Add pipeline validation in policy validator

* Add pipeline resolution and managed guardrail tracking

* Resolve pipelines and exclude managed guardrails in pre-call

* Integrate pipeline execution into proxy pre_call_hook

* Add test guardrails for pipeline E2E testing

* Add example pipeline config YAML

* Add unit tests for pipeline type definitions

* Add unit tests for pipeline executor

* Update litellm/proxy/policy_engine/pipeline_executor.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update litellm/proxy/utils.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-13 19:49:12 -08:00
..
_health_check_test_config.yaml
aliases_config.yaml
azure_config.yaml
bad_schema.prisma
custom_auth_basic.py
custom_auth.py
custom_callbacks1.py feat(audio_transcriptions/): calculate duration of audio file for cost calculation + feat (image_generations): cost tracking accuracy improved with output_format, quality, size values fixed per openai model 2025-11-08 16:24:31 -08:00
custom_callbacks.py
custom_guardrail.py [Feat] Guardrails Load Balancing - Allow Platform admins to load balance between guardrails (#18181) 2025-12-19 00:08:03 +05:30
custom_handler.py
disable_schema_update.yaml
enterprise_config.yaml
langfuse_config.yaml
load_balancer.yaml
multi_instance_simple_config.yaml
oai_misc_config.yaml
opentelemetry_config.yaml
otel_test_config.yaml test_chat_completion_low_budget 2026-01-31 16:18:54 -08:00
pass_through_config.yaml pt tests fix 2025-10-25 11:08:33 -07:00
pipeline_test_guardrails.py [Guardrails] Add guardrail pipeline support for conditional sequential execution (#21177) 2026-02-13 19:49:12 -08:00
reject_clientside_metadata_tags_config.yaml Add enforce user param functionality (#17088) 2025-11-25 09:36:24 -08:00
simple_config.yaml
spend_tracking_config.yaml fix fake-openai-endpoint 2026-01-31 15:26:16 -08:00
store_model_db_config.yaml
test_pipeline_config.yaml [Guardrails] Add guardrail pipeline support for conditional sequential execution (#21177) 2026-02-13 19:49:12 -08:00
tool_permission_example.yaml feat: allow custom violation message for tool-permission guardrail (#16916) 2025-11-21 08:52:01 -08:00
websearch_interception_config.yaml [Feat] Claude Code - Add Websearch support using LiteLLM /search (using web search interception hook) (#19263) 2026-01-16 21:10:05 -08:00