Repository navigation
fix(grayswan): send request conversation and tool calls to post-call monitor #43770
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 13 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
e77024f
fix(grayswan): send request conversation and tool calls to post-call …
yucheng-berri cd0e9ce
refactor(grayswan): tighten post-call context typing and wire test he…
yucheng-berri e5fac49
fix(grayswan): resolve post-call surface from request route before ca…
yucheng-berri 5b74a03
fix(grayswan): omit tools from post-call monitor when request context…
yucheng-berri 8e93f09
style(grayswan): apply ruff format to post-call context changes
yucheng-berri 8265510
fix(grayswan): merge response text and tool calls into one assistant …
yucheng-berri 11b61ea
fix(grayswan): only merge tool calls into the response text for singl…
yucheng-berri 437a9f2
test(grayswan): audit post-call context across endpoints, modes and o…
yucheng-berri ce933b3
test(grayswan): share the upstream model probe reply across audit res…
yucheng-berri 1cfac8e
test(grayswan): assert the full generic guardrail body and kill a rea…
yucheng-berri 428cb58
test(grayswan): normalize the client user agent in the generic body a…
yucheng-berri c681622
test(grayswan): normalize accept-encoding in generic body assertion
yucheng-berri 9888871
test(grayswan): keep volatile header placeholders only when the heade…
yucheng-berri b53a862
test(grayswan): capture monitor calls immutably in the unit test client
yucheng-berri ad27fc4
test(grayswan): type the test helper parameters
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
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.