Skip to content

Conversation

@hanouticelina
Copy link
Contributor

This PR modifies how the list of inference providers is determined in the generate script.
Previously, INFERENCE_PROVIDERS was imported directly from @huggingface/inference. This list could potentially include staging providers, which can cause the generation script to fail.

To ensure the script only processes "live" inference providers, INFERENCE_PROVIDERS is now derived from the keys of the PROVIDERS_HUB_ORGS object.

Most of the files in this PR are auto-generated by running the generate script. I also added more details in the instructions for adding provider documentation.

@hanouticelina hanouticelina requested a review from Wauplin May 13, 2025 12:40
@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

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

@hanouticelina hanouticelina merged commit bf3dfa4 into main May 13, 2025
2 checks passed
@hanouticelina hanouticelina deleted the more-documentation-instructions branch May 13, 2025 13:09
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.

4 participants