From 2974cf655b58855ad0085ddc49c12e6e92ae6804 Mon Sep 17 00:00:00 2001 From: "MuppetLabs muppetLabs@warkstee.com" Date: Thu, 26 Jun 2025 10:58:10 +0200 Subject: [PATCH] fix: update LangChain packages for HuggingFace Hub 0.33.1+ compatibility - Update langchain from 0.3.12 to 0.3.26 - Update langchain-community from 0.3.12 to 0.3.26 - Update langchain-core from 0.3.27 to 0.3.66 - Update langchain_text_splitters from 0.3.3 to 0.3.8 - Update langchain-huggingface from 0.1.0 to 0.3.0 Fixes 'InferenceClient' object has no attribute 'post' error --- requirements.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index 0d6bed2f..93e7d117 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,10 @@ -langchain==0.3.12 -langchain-community==0.3.12 +langchain==0.3.26 +langchain-community==0.3.26 langchain-openai==0.2.11 -langchain-core==0.3.27 +langchain-core==0.3.66 langchain-aws==0.2.1 langchain-google-vertexai==2.0.0 -langchain_text_splitters==0.3.3 +langchain_text_splitters==0.3.8 boto3==1.34.144 sqlalchemy==2.0.28 python-dotenv==1.0.1 @@ -30,7 +30,7 @@ opencv-python-headless==4.9.0.80 pymongo==4.6.3 langchain-mongodb==0.2.0 langchain-ollama==0.2.0 -langchain-huggingface==0.1.0 +langchain-huggingface==0.3.0 cryptography==44.0.1 python-magic==0.4.27 python-pptx==0.6.23