Skip to content
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

Fix streaming in HuggingFaceHub provider #894

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

krassowski
Copy link
Member

Fixes #883

The overridden method is no longer overriding allowed task list since #784 but is only breaking streaming - it can be removed.

Tested that both chat, streaming of inline completion and image generation works:

image
Screenshot from 2024-07-12 18-20-46
Screenshot from 2024-07-12 18-08-19

@krassowski krassowski added the bug Something isn't working label Jul 12, 2024
Copy link
Member

@dlqqq dlqqq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for identifying & implementing the fix here! I agree this method is no longer necessary.

the overridden method is no longer overriding
allowed task list since jupyterlab#784 but is only breaking
streaming -  it can be removed
@dlqqq dlqqq merged commit 837789e into jupyterlab:main Jul 12, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some providers (e.g. HuggingFace) not working in chat nor in streaming completer
2 participants