-
Notifications
You must be signed in to change notification settings - Fork 795
feat(iorails)!: Support non-streaming GenerationResponse #2178
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
+1,983
−364
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
49ae76f
Initial checkin of GenerationResponse code (non-streaming only, no to…
tgasser-nv 054dca7
Promote options to a named argument rather than smuggled in through k…
tgasser-nv b72afc0
Add functionality for LLMRails non-Colang GenerationResponse parity
tgasser-nv 07c4b29
Change test_log_request_flag_raises to test colang-only log fields raise
tgasser-nv 604deab
Add tests for missing coverage
tgasser-nv 95c0a74
Add missing GenerationResponse fields
tgasser-nv 3001e83
Match LLMRails underscore-separated task names rather than space-sepa…
tgasser-nv a04d242
Add prompt and response to GenerationResponse activated_rails.execute…
tgasser-nv 559ace5
Add missing test coverage
tgasser-nv 7912d6c
Compact and clean up tests
tgasser-nv cdee6c3
Revert change to nemoguards config main model to meta/llama-3.3-70b-i…
tgasser-nv 4521e06
Fix generate_async() overloads and normalize Guardrails and IORails w…
tgasser-nv 9ec3bd4
Return GenerationResponse status of all rails when one fails in paral…
tgasser-nv 2ebb17b
Record failed calls in RailLLMCall for GenerationResponse
tgasser-nv c2762a6
Serialize all message types
tgasser-nv c913b0f
Time speculative main model call too
tgasser-nv e3ac3d2
Record speculative generation tokens which are then discarded due to …
tgasser-nv 4c37335
Add missing line coverage
tgasser-nv 92f284f
Clean up and parameterize tests
tgasser-nv 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.
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.