Skip to content

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

Open
Pierrci wants to merge 5 commits into
mainfrom
auto-docs/moon-landing-pr-17748
Open

docs: update from huggingface-internal/moon-landing#17748#2388
Pierrci wants to merge 5 commits into
mainfrom
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
Documentation-only changes; the main risk is outdated or incorrect example endpoints/payloads in the webhook bot guide causing user confusion.

Overview
Updates Hub docs to reflect current Inference Providers usage.

In webhooks-guide-discussion-bot.md, the discussion bot example is generalized from a BLOOM-specific endpoint to the chat completions API, showing a system prompt + user message request, auth headers, and extracting replies from choices[0].message.content (with guidance to swap models).

In timm.md, removes the dedicated “Inference Widget and API” section and does minor text/whitespace cleanup.

Reviewed by Cursor Bugbot for commit c5c21dd. 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 Outdated
@@ -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

Copy link
Copy Markdown
Member

@coyotte508 coyotte508 left a comment

Choose a reason for hiding this comment

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

Used moon-ide + deepseek from deepinfra

Comment thread docs/hub/webhooks-guide-discussion-bot.md Outdated
Comment thread docs/hub/webhooks-guide-discussion-bot.md Outdated
Comment thread docs/hub/webhooks-guide-discussion-bot.md Outdated
Co-authored-by: célina <hanouticelina@gmail.com>
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.

5 participants