fix(policy): update HuggingFace preset to use router.huggingface.co#1473
fix(policy): update HuggingFace preset to use router.huggingface.co#1473ac12644 wants to merge 1 commit intoNVIDIA:mainfrom
Conversation
The api-inference.huggingface.co endpoint now returns HTTP 410 Gone. HuggingFace migrated their Inference Providers API to router.huggingface.co. Fixes NVIDIA#1453 Signed-off-by: Abhishek Chauhan <ac12644@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis change updates the Hugging Face network policy preset to replace the deprecated Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Great find! We have an open PR at #1454 addressing the same deprecated endpoint. Linking here for maintainers so we know to close any related duplicate PRs once one merges. |
|
✨ Thanks for submitting this fix, which proposes a way to update the HuggingFace policy preset to use the current |
Summary
Update the HuggingFace policy preset to replace the deprecated
api-inference.huggingface.coendpoint withrouter.huggingface.co.The old endpoint now returns HTTP 410 Gone:
Changes
nemoclaw-blueprint/policies/presets/huggingface.yaml:api-inference.huggingface.co→router.huggingface.coFixes #1453
Summary by CodeRabbit