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 feat(utils.py): support google kms for secret management 2023-12-26 15:39:40 +05:30
aliases_config.yaml (chore) fix config yaml 2023-11-15 17:12:28 -08:00
azure_config.yaml (docs) add example config.yaml 2023-12-04 18:08:57 -08:00
bad_schema.prisma Litellm expose disable schema update flag (#6085) 2024-10-05 21:26:51 -04:00
custom_auth.py fix user_api_key_auth example config 2025-03-26 08:36:11 -07:00
custom_auth_basic.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
custom_callbacks.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
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_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 Litellm remove circular imports (#7232) 2024-12-14 16:28:34 -08:00
disable_schema_update.yaml (Infra/DB) - Allow running older litellm version when out of sync with current state of DB (#8695) 2025-02-20 18:30:23 -08:00
enterprise_config.yaml (fix) don't block proxy startup if license check fails & using prometheus (#6839) 2024-11-20 17:55:39 -08:00
langfuse_config.yaml (docs) add example configs to proxy 2023-11-15 16:41:26 -08:00
load_balancer.yaml (docs) load balancer 2023-11-17 17:25:46 -08:00
multi_instance_simple_config.yaml (e2e testing) - add tests for using litellm /team/ updates in multi-instance deployments with Redis (#8440) 2025-02-10 19:33:27 -08:00
oai_misc_config.yaml [QA] E2E - Testing for bedrock batches api (#14525) 2025-09-12 19:31:19 -07:00
opentelemetry_config.yaml (docs) proxy: add example OTEL config yaml 2023-12-02 11:22:40 -08:00
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 (test) proxy: reading config.yaml 2023-12-04 13:16:19 -08:00
spend_tracking_config.yaml fix fake-openai-endpoint 2026-01-31 15:26:16 -08:00
store_model_db_config.yaml (Bug fix) - Langfuse / Callback settings stored in DB (#8251) 2025-02-04 21:09:37 -08:00
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