-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[DOCS] update hugging face inference #8910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Keep this PR in a mergeable state → Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
|
This PR contains only documentation changes (moving and updating Hugging Face inference docs). No additional test coverage is needed as there are no code modifications to test. |
Documentation UpdatesI've added a commit with the following fixes: Critical Fixes
Minor Fixes
All changes maintain the same level of detail and scope as the original documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 issue found across 3 files
Prompt for AI agents (all 1 issues)
Check if these issues are valid — if so, understand the root cause of each and fix them.
<file name="docs/customize/model-providers/top-level/huggingfaceinference.mdx">
<violation number="1" location="docs/customize/model-providers/top-level/huggingfaceinference.mdx:34">
The JSON config example still references the deprecated `huggingface-inference-api` provider even though this page is meant to describe Hugging Face Inference Providers, so JSON users would be guided to an invalid backend.</violation>
</file>
Since this is your first cubic review, here's how it works:
- cubic automatically reviews your code and comments on bugs and improvements
- Teach cubic by replying to its comments. cubic learns from your replies and gets better over time
- Ask questions if you need clarification on any suggestion
Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR
docs/customize/model-providers/top-level/huggingfaceinference.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Description
This PR updated the model provider section for the latest offering from Hugging Face. This includes:
AI Code Review
@continue-reviewChecklist
Screen recording or screenshot
[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]
Tests
[ What tests were added or updated to ensure the changes work as expected? ]
Summary by cubic
Updated Hugging Face model provider docs to use Inference Providers and Inference Endpoints, replacing the deprecated Inference API. Also moved the Hugging Face page to the top-level menu.
New Features
Migration
Written for commit 6d3f8a2. Summary will update automatically on new commits.