Huggingface Embedding API not working due to deprecated endpoints
Describe the bug Hugginface embedding Inference API is not working and outputting Error in Agent node: An error occurred while fetching the blob This is caused by the huggingface update which langchainjs is working on https://github.com/langchain-ai/langchainjs/pull/8237
To Reproduce Steps to reproduce the behavior:
Add a Hugging face API creds and try to retrieve on any flow.
Expected behavior Error in Agent node: An error occurred while fetching the blob
Setup
- Installation [e.g. docker,
npx flowise start,pnpm start] - Flowise Version lAte
- OS: Linux
- Browser Any
Additional context Add any other context about the problem here. This can be fixed I think just by updating langchainjs but considering this will break almost all RAGs chains out there that use HF for embedding. Id say this is a pretty urgent issue.
@HenryHengZJ I did some upgrades related to to Hugging Face support -> https://github.com/FlowiseAI/Flowise/pull/5454 This looks similar.