Repository navigation
feat(guardrails): per-mode stream_scope with bedrock stream and pass-through fixes #43801
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
63 commits
Select commit
Hold shift + click to select a range
2f964b7
feat(guardrails): run each mode only on streaming, non-streaming, or …
shivijain2323 5aa0909
fix(guardrails): honor stream_scope in pipelines and dashboard types
shivijain2323 d1394bc
fix(guardrails): skip unmatched stream_scope steps instead of allowing
shivijain2323 7f4ac4a
fix(ui): keep stored stream_scope keys for modes not on screen
shivijain2323 32a1323
fix(ci): format stream_scope helpers and update fork MCP unit tests
shivijain2323 07edefa
merge(main): sync feature branch with upstream main
shivijain2323 b4a2657
fix(mcp): keep hang cancellation tests from timing out during setup
shivijain2323 77fba3c
fix(guardrails): honor path-defined streaming for stream_scope
shivijain2323 6626615
merge(main): sync feature branch with upstream main
shivijain2323 323c714
fix(rust): copy AnthropicModelCapabilities instead of cloning
shivijain2323 ebb093e
fix(guardrails): trust only server stream classification
shivijain2323 82784ac
fix(guardrails): keep streaming marker through deepcopy
shivijain2323 71f7509
merge(main): sync feature branch with upstream main
shivijain2323 b92052d
fix(cost-map): drop duplicate perceptron-mk1.5 row
shivijain2323 a6db33e
merge(main): sync feature branch with upstream main
shivijain2323 4d680cd
fix(rust): expect native transcription 429 as RustUpstreamError
shivijain2323 2574d94
fix(tests): follow Google Interactions OpenAPI without hardcoded names
shivijain2323 1a2cdd8
merge(main): sync feature branch with upstream main
shivijain2323 a038127
merge(main): sync with main
yucheng-berri a44ceea
test(guardrails): reproduce stream_scope bedrock and passthrough fiel…
yucheng-berri a7d0e91
test(guardrails): cover invalid stored stream_scope reads
yucheng-berri 8b1933c
fix(guardrails): classify bedrock stream actions and keep caller is_s…
yucheng-berri 37bb10a
refactor(guardrails): make stream_scope_allows public and drop mutabl…
yucheng-berri 78cac40
fix(guardrails): classify pass-through and Bedrock stream scopes
yucheng-berri 186b356
fix(guardrails): harden stream classification and validation
yucheng-berri ebd24f6
test(guardrails): add stream scope integration audit
yucheng-berri c6085a1
fix(proxy): avoid mutating passthrough custom body
yucheng-berri 71c1296
test(guardrails): run stream scope audit without enterprise license
yucheng-berri 3d8c08c
test(guardrails): keep stored scope restart cell on one worker
yucheng-berri 5cd60d9
test(guardrails): scope stream scope audit sink assertions to the rai…
yucheng-berri 9bb88b1
test(guardrails): assert logging_only scope absence behind an ordered…
yucheng-berri c9ee273
test(guardrails): assert one logging_only scan per phase after the ba…
yucheng-berri 6289073
Merge remote-tracking branch 'origin/main' into litellm_guardrail_str…
yucheng-berri 0463ef3
test(guardrails): set request scope on pass-through stream fixtures
yucheng-berri df8bff6
fix(guardrails): tolerate invalid YAML stream_scope in v1 guardrails …
yucheng-berri f38aa05
chore: merge main into litellm_guardrail_stream_scope_fixes
yucheng-berri 5d39725
chore: merge main into litellm_guardrail_stream_scope_fixes
yucheng-berri 97c8ba4
Merge remote-tracking branch 'origin/main' into litellm_guardrail_str…
yucheng-berri 7752143
chore: merge main into litellm_guardrail_stream_scope_fixes
yucheng-berri e576b7e
Merge remote-tracking branch 'origin/main' into litellm_guardrail_str…
yucheng-berri 72c59f4
Merge remote-tracking branch 'origin/main' into litellm_guardrail_str…
yucheng-berri 50e7bee
Merge remote-tracking branch 'origin/main' into litellm_guardrail_str…
yucheng-berri f903047
test(guardrails): add request paths to pass-through fixtures
yucheng-berri e4176ee
test(guardrails): cover websocket pass-through stream scope and LIT-9…
yucheng-berri 3d5fe0c
chore(lint): remove unused type discipline suppressions
yucheng-berri e9495a8
Merge remote-tracking branch 'origin/main' into litellm_guardrail_str…
yucheng-berri 4d0da16
test(guardrails): script the vertex live upstream in the websocket st…
gabriele-berri c21e53b
Merge remote-tracking branch 'origin/main' into litellm_guardrail_str…
yucheng-berri b6fb585
fix(guardrails): keep stream marker json-serializable and restore pas…
yucheng-berri 34923fb
fix(lint): allow required Bedrock action re-export
yucheng-berri 8beb30e
Merge remote-tracking branch 'origin/main' into litellm_guardrail_str…
yucheng-berri de47ffe
fix(guardrails): strip the stream marker from pass-through payloads
yucheng-berri 3d6015d
Merge remote-tracking branch 'origin/main' into litellm_guardrail_str…
yucheng-berri 2ef0bc0
fix(guardrails): drop stream marker by value in scans and snapshots, …
yucheng-berri 6da52e2
fix(ui): render tag-scoped guardrail modes read-only in the custom co…
yucheng-berri 930b568
Merge origin/main into litellm_guardrail_stream_scope_fixes
yucheng-berri 7c1c1b1
fix(ui): resolve merge fallout in guardrails components
yucheng-berri 6d15060
fix(ui): drop duplicate toModeArray import reintroduced by merge
yucheng-berri ab01cf0
chore(pass-through): document the deliberate in-place marker strip as…
yucheng-berri 5640dc9
fix(guardrails): move stream_scope after timeout in CustomGuardrail init
yucheng-berri ee7b659
fix(guardrails): typing pass for the lint gates
yucheng-berri ff4d50f
style: sort cast imports for the ruff gate
yucheng-berri 2dbea2d
chore(pass-through): drop unused BEDROCK_STREAMING_ACTIONS re-export
yucheng-berri 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
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.