Skip to content

Conversation

@HuggingFaceInfra
Copy link
Contributor

This PR updates the inference types. It has been generated by running:

# Generate Python code
pnpm run inference-codegen  # from @huggingface/tasks-gen

# Copy to this repository
cp -r ./huggingface.js/packages/tasks/.python_generated/* ./huggingface_hub/src/huggingface_hub/inference/_generated/types

# Clean things
make inference_update
make style

This PR was automatically created by the Update Inference Types workflow.

Make sure the changes are correct before merging.

@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.

# See:
# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts
# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.

Copy link
Contributor

Choose a reason for hiding this comment

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

coming from

return "\n".join(lines)
?

Copy link
Contributor

Choose a reason for hiding this comment

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

probably... I'll look into it 😕

@HuggingFaceInfra HuggingFaceInfra force-pushed the update-inference-types-automated-pr branch from 4b718f0 to a603c92 Compare October 30, 2025 15:46
@Wauplin
Copy link
Contributor

Wauplin commented Oct 30, 2025

hmm, still not the case 😕

@hanouticelina
Copy link
Contributor

#3516 should fix the linting issue here

@HuggingFaceInfra HuggingFaceInfra force-pushed the update-inference-types-automated-pr branch from e07f922 to a15c253 Compare November 3, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants