Flowise/packages/components/nodes/chatmodels/ChatHuggingFace
Siddharth Chauhan 0cc7b3036e
fix: Upgrade Hugging Face Inference API to support Inference Providers (#5454)
- Upgrade @huggingface/inference from v2.6.1 to v4.13.2
- Update ChatHuggingFace to use InferenceClient with chatCompletion API
- Update HuggingFaceInference (LLM) to use v4 HfInference with Inference Providers
- Update HuggingFaceInferenceEmbedding to use v4 HfInference
- Add endpoint handling logic to ignore custom endpoints for provider-based models
- Add improved error handling and validation for API keys
- Update UI descriptions to guide users on proper configuration

Fixes #5161

Co-authored-by: Henry <hzj94@hotmail.com>
2025-11-25 11:43:36 +00:00
..
ChatHuggingFace.ts fix: Upgrade Hugging Face Inference API to support Inference Providers (#5454) 2025-11-25 11:43:36 +00:00
HuggingFace.svg Update icons 2023-12-21 12:00:14 -05:00
core.ts fix: Upgrade Hugging Face Inference API to support Inference Providers (#5454) 2025-11-25 11:43:36 +00:00