Skip to content

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Jul 18, 2025

Same as huggingface/huggingface.js#1635 from @hanouticelina

Since we have made some manual changes to the chat completion types in Python, we do not want to auto-generate them anymore. Means potentially more manual updates to make but hopefully it'll stay quite stable over time. The main problem of generating the types is that it does not handle well unions. More details in huggingface/huggingface.js#1537 PR description.

@Wauplin Wauplin requested a review from hanouticelina July 18, 2025 10:02
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Contributor

@hanouticelina hanouticelina left a comment

Choose a reason for hiding this comment

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

makes sense! 👍

@hanouticelina hanouticelina merged commit d57872e into main Jul 23, 2025
25 checks passed
@hanouticelina hanouticelina deleted the do-not-generate-chat-completion-types branch July 23, 2025 16:36
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.

3 participants