Commit Graph

7 Commits

Author SHA1 Message Date
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
Henry Heng 54ff43e8f1
Bugfix/HF custom endpoint (#2811)
include fix for hf custom endpoint
2024-07-16 21:42:24 +01:00
Ilango e3b5309855 Fix merge conflicts 2024-03-06 16:03:12 +05:30
Henry 0606d2c6dd upgrade langchain version 0.1.0 2024-01-26 23:41:55 +00:00
Henry 4e3f219e2d update readme and vite port 2023-11-27 12:24:11 +00:00
Henry 3cda348e95 add fix to HF endpoint 2023-07-08 21:31:43 +01:00
Henry 0923a35683 add endpoint to HF 2023-07-07 17:36:23 +01:00