Skip to content

Fix message attribute access after replacing dict with dataclass #1534

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 1 commit into from
Jul 8, 2025

Conversation

albertvillanova
Copy link
Member

Fix message attribute access after replacing dict with dataclass.

Fix bug introduced after the replacement of Message (TypedDict) with ChatMessage (dataclass), done in:

Related to:

Copy link
Collaborator

@aymeric-roucher aymeric-roucher left a comment

Choose a reason for hiding this comment

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

Thank you @albertvillanova !

@albertvillanova albertvillanova merged commit 824ce4a into huggingface:main Jul 8, 2025
3 checks passed
@albertvillanova albertvillanova deleted the fix-1449-fu-1533 branch July 8, 2025 15:33
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.

2 participants