Skip to content

docs: update from huggingface-internal/moon-landing#17748#2388

Open
Pierrci wants to merge 1 commit intomainfrom
auto-docs/moon-landing-pr-17748
Open

docs: update from huggingface-internal/moon-landing#17748#2388
Pierrci wants to merge 1 commit intomainfrom
auto-docs/moon-landing-pr-17748

Conversation

@Pierrci
Copy link
Copy Markdown
Member

@Pierrci Pierrci commented Apr 15, 2026

Automatically generated documentation update based on huggingface-internal/moon-landing#17748.


Note

Low Risk
Low risk: documentation-only change that updates example Inference Providers URLs; no runtime code is affected.

Overview
Updates Hub documentation examples to use the new Inference Providers router endpoint (https://router.huggingface.co/hf-inference/...) instead of the legacy api-inference.huggingface.co URL in both the timm inference cURL snippet and the webhook discussion-bot guide.

Reviewed by Cursor Bugbot for commit b5603e9. Bugbot is set up for automated code reviews on this repo. Configure here.

@coyotte508
Copy link
Copy Markdown
Member

we can probably update to more current models

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

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.

Comment thread docs/hub/timm.md

```sh
curl https://api-inference.huggingface.co/models/nateraw/timm-resnet50-beans \
curl https://router.huggingface.co/hf-inference/models/nateraw/timm-resnet50-beans \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Section about inference should probably be removed:
https://huggingface.co/models?library=timm&inference_provider=all&sort=trending

@@ -68,7 +68,7 @@ In that case, we will continue to the next step:

```ts
const INFERENCE_URL =
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The whole guide could use some rehaul

@Pierrci
Copy link
Copy Markdown
Member Author

Pierrci commented Apr 15, 2026

(I hope you're not expecting me to follow up on those lol^)

@coyotte508
Copy link
Copy Markdown
Member

(I hope you're not expecting me to follow up on those lol^)

well you opened the PR so...

image

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