-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Add pipeline flow builder UI for guardrail policies #21188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
5f3d21c
Add pipeline type definitions for guardrail pipelines
ishaan-jaff 396064a
Export pipeline types from policy_engine types package
ishaan-jaff 968b4cf
Add optional pipeline field to Policy model
ishaan-jaff df263aa
Add pipeline executor for sequential guardrail execution
ishaan-jaff 03b0c3f
Parse pipeline config in policy registry
ishaan-jaff 9c073ce
Add pipeline validation in policy validator
ishaan-jaff 0a19fbc
Add pipeline resolution and managed guardrail tracking
ishaan-jaff ba39275
Resolve pipelines and exclude managed guardrails in pre-call
ishaan-jaff c940745
Integrate pipeline execution into proxy pre_call_hook
ishaan-jaff a8d3c05
Add test guardrails for pipeline E2E testing
ishaan-jaff 36763b8
Add example pipeline config YAML
ishaan-jaff cad2003
Add unit tests for pipeline type definitions
ishaan-jaff 31e3e61
Add unit tests for pipeline executor
ishaan-jaff bba891e
Add pipeline column to LiteLLM_PolicyTable schema
ishaan-jaff 1cbd795
Add pipeline field to policy CRUD request/response types
ishaan-jaff d51b3de
Add pipeline support to policy DB CRUD operations
ishaan-jaff 17a5cb4
Add PipelineStep and GuardrailPipeline TypeScript types
ishaan-jaff d4b8c01
Add Zapier-style pipeline flow builder UI component
ishaan-jaff 7f9e857
Integrate pipeline flow builder with mode toggle in policy form
ishaan-jaff 3b5e074
Add pipeline display section to policy info view
ishaan-jaff 53c6236
Add unit tests for pipeline in policy CRUD types
ishaan-jaff 51bf7da
Refactor policy form to show mode picker first with icon cards
ishaan-jaff d3b479e
Add full-screen FlowBuilderPage component for pipeline editing
ishaan-jaff 4341aed
Wire up full-screen flow builder in PoliciesPanel with edit routing
ishaan-jaff aac69c8
Restyle flow builder to match dev-tool UI aesthetic
ishaan-jaff e6ef15e
Restyle flow builder cards to match reference design
ishaan-jaff fb52b5c
Update step card to expanded layout with stacked ON PASS / ON FAIL se…
ishaan-jaff ba2d697
Add end card to flow builder showing return to normal control flow
ishaan-jaff d960fec
Add PipelineTestRequest type for test-pipeline endpoint
ishaan-jaff 9593b56
Export PipelineTestRequest from policy_engine types
ishaan-jaff 1faa473
Add POST /policies/test-pipeline endpoint
ishaan-jaff 0bbf4fa
Add testPipelineCall networking function
ishaan-jaff 7a7a54e
Add PipelineStepResult and PipelineTestResult types
ishaan-jaff d74542a
Add test pipeline panel to flow builder with run button and results d…
ishaan-jaff 7269d9a
Fix pipeline executor: inject guardrail name into metadata so should_…
ishaan-jaff fceabee
Update litellm/proxy/policy_engine/pipeline_executor.py
ishaan-jaff 96f480a
Update litellm/proxy/utils.py
ishaan-jaff 252d7bf
Update litellm/proxy/policy_engine/policy_endpoints.py
ishaan-jaff 9ec29a8
Update litellm/proxy/policy_engine/pipeline_executor.py
ishaan-jaff 7686564
Merge branch 'main' into litellm_guardrail_pipelines_ui
ishaan-jaff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.