langchain-huggingface 1.3.0: Streaming Token Fixes and Testing Updates
langchain-huggingface 1.3.0 corrects forced tool choices and streaming token counts, updates test coverage, and removes support for Python 3.10 in partner packages. Developers relying on tooling integration or streaming output in Hugging Face pipelines should update.
What changed?
The langchain-huggingface package version 1.3.0 introduces a fix for forced tool choice and corrects streaming token counts. Testing improvements include accumulating pipeline streaming output, expanding chat model test coverage to use Together's GPT-OSS and live Novita routing, and dropping support for Python 3.10 in partnered packages.
Why does it matter to an everyday developer?
Developers integrating Hugging Face models with LangChain may have experienced issues with forced tool choices in chain execution or inaccurate streaming token counts. These fixes ensure more reliable behavior of tool selection and accurate reporting in token streaming. The removal of Python 3.10 support means older environments will no longer receive new updates or fixes. Expanded and improved test coverage, especially for chat models, increases confidence in cross-provider integrations.
What can the developer do now?
Developers should upgrade to langchain-huggingface 1.3.0 to benefit from fixes to tool choice logic and streaming outputs. Verify your environment uses Python 3.11 or later if relying on partner packages. For projects using chat model integrations or streaming pipelines, retest workflows to confirm correct token handling and model routing.

