-
Notifications
You must be signed in to change notification settings - Fork 727
feat(iorails): IORails support for streaming output rails #1765
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
10 commits
Select commit
Hold shift + click to select a range
75fb98d
Initial commit of streaming code (IOrails and below)
tgasser-nv bb4fd46
Revert accidental changes to streaming content-safety config
tgasser-nv 3fa799c
Fix TOCTOU race and improve line coverage
tgasser-nv b6475d5
Address code rabbit feedback
tgasser-nv d85fd91
Add single-line docstrings to all unit-tests
tgasser-nv 30f483d
Start IORails on first inference-call to stream_async or generate_asy…
tgasser-nv cbbb97f
Convert dict to GenerationOptions, add helper to check if a config ha…
tgasser-nv 008dd1d
Add tests for mid-stream errors, rail exceptions dict GenerationOptions
tgasser-nv d3b7b16
Adding extra tests to get line coverage and refactor slightly
tgasser-nv c18fefd
Address Greptile feedback on SSE parsing and error chunks bypassing o…
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
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.