Skip to content

execute guardrails sequentially#1475

Merged
VisargD merged 2 commits into
mainfrom
feat/execute-guardrails-sequentially
Dec 23, 2025
Merged

execute guardrails sequentially#1475
VisargD merged 2 commits into
mainfrom
feat/execute-guardrails-sequentially

Conversation

@narengogi

Copy link
Copy Markdown
Member

This allows users to execute guardrail checks sequentially,
useful for example when you have two regex replace checks in the same guardrails.

Previously, only the second replace guardrail would take effect, by passing this flag, the mutated response from one check is passed to the next one in the order they are passed in the config

@narengogi narengogi requested a review from VisargD December 17, 2025 12:41
@VisargD

VisargD commented Dec 23, 2025

Copy link
Copy Markdown
Collaborator

TODO: We should add sequential flag on hooks level as well just like we did for checks

@VisargD VisargD merged commit 7b04671 into main Dec 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants