Skip to content

Support dict messages as direct input to models #1570

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 3 commits into from
Jul 17, 2025

Conversation

albertvillanova
Copy link
Member

Support dict messages as direct input to models generate/generate_stream.

Fix #1565.
Supersede and close #1552.

@albertvillanova albertvillanova changed the title Support dict messages as direct input to models generate/generate_stream Support dict messages as direct input to models Jul 17, 2025
@aymeric-roucher
Copy link
Collaborator

Nice fix!

@albertvillanova albertvillanova merged commit 8e32e66 into huggingface:main Jul 17, 2025
3 checks passed
@albertvillanova albertvillanova deleted the fix-1565 branch July 17, 2025 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Unable to get example code working
2 participants