Document hf models ls --inference-provider / --warm on the Inference Providers Hub API page#2632
Merged
davanstrien merged 5 commits intoJul 9, 2026
Conversation
…page Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
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. |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Wauplin
approved these changes
Jul 9, 2026
Wauplin
left a comment
Contributor
There was a problem hiding this comment.
Thanks again for taking care of updating the docs 🫶
Feature should be released later today so you'll be good to merge
…--json Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Member
Author
|
cc @gary149 for viz since you have refreshed the agent onboarding recently. |
… links Swap the first-api-call TIP's --filter for --pipeline-tag (same filter as the models?pipeline_tag= links, not a tags superset) and add a fal-ai task example to the hub-api CLI block mirroring the curl example above it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
davanstrien
marked this pull request as ready for review
July 9, 2026 13:40
Member
Author
|
will merge now since the release is imminent. Can iterate if needed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Documents the new
hf models lsinference-provider discovery flags (huggingface/huggingface_hub#4497, motivated by huggingface/huggingface_hub#4441: humans and coding agents need a one-command way to find "models I can actually call") in three places:hub-api.md(List models): CLI examples alongside the existingcurlfilters —--warm,--warm --search GLM-5.2,--inference-provider fireworks-ai --sort downloads— plus--expand inferenceProviderMapping/--jsonpointers.guides/first-api-call.md(Step 1): a TIP showing the terminal/agent equivalent of the browser model-search step, so the guide is followable end-to-end without a browser.index.md(Inference Playground): a one-sentence terminal pointer next to the Playground option.All documented commands and variants verified against a git-main install of
huggingface_hub.Why draft
The flags are merged but not yet in a
huggingface_hubrelease (latest is v1.22.0, 2026-07-03). Marking ready once the next release ships so the docs don't point at commands users can't run yet.🤖 Generated with Claude Code
Note
Low Risk
Documentation-only changes with no runtime or API behavior; the only caveat is users may not have the CLI flags until the next
huggingface_hubrelease.Overview
Documents
hf models lsdiscovery flags (--warm,--inference-provider,--pipeline-tag,--search,--sort,--json,--expand inferenceProviderMapping) as the terminal equivalent of existing Hub APIcurlfilters.On
hub-api.md, a new CLI section sits after the List modelscurlexamples with sample commands and notes on repeating--inference-providerand machine-readable output.guides/first-api-call.mdadds a TIP under Step 1 so model search can be done from the terminal or by agents without the browser.index.mdadds a one-line terminal pointer next to the Inference Playground section, linking to the Hub API page for full filters.Note: These CLI flags depend on a
huggingface_hubrelease newer than what users may have installed today; the PR description flags that timing.Reviewed by Cursor Bugbot for commit 71df584. Bugbot is set up for automated code reviews on this repo. Configure here.