-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat: Add async streaming support in HuggingFaceLocalChatGenerator
#9405
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
mpangrazzi
merged 17 commits into
deepset-ai:main
from
mdrazak2001:feat/hf-async-stream-handling
Jun 11, 2025
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c45df5c
feat: Add async streaming support in hugging face generator
mdrazak2001 77f1478
enforce streamingcallback to be async
mdrazak2001 5cdb483
refactor
mdrazak2001 9faa706
fix: schedule and await async task in Event Loop
mdrazak2001 9e2fbcd
unenforce typecheck
mdrazak2001 60c907d
add integration test
mdrazak2001 c966c81
Merge branch 'main' into feat/hf-async-stream-handling
mdrazak2001 84a911a
After merge fixes:
mdrazak2001 1648694
fix integration test
mdrazak2001 d1e4209
refactor: improve async handling in HuggingFaceLocalChatGenerator and…
mdrazak2001 33f11a0
fix typo
mdrazak2001 cbd5682
address review comments
mdrazak2001 f1c2f7c
Merge branch 'main' into feat/hf-async-stream-handling
mdrazak2001 98f74f8
refactors
mdrazak2001 e581cad
typo
mdrazak2001 6458845
refactor
mdrazak2001 c42038b
Merge branch 'main' into feat/hf-async-stream-handling
mpangrazzi 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
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.