Skip to content

Do not generate Chat Completion types anymore #3231

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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.

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