Skip to content

fix(huggingface): pass llm params to chathuggingface #32368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

azibek
Copy link

@azibek azibek commented Aug 2, 2025

This PR fixes issue #32234 and improves HuggingFace chat model integration by:

Ensuring ChatHuggingFace inherits key parameters (temperature, max_tokens, top_p, streaming, etc.) from the underlying LLM when not explicitly set.
Adding and updating unit tests to verify property inheritance.
No breaking changes; these updates enhance reliability and maintainability.

Copy link

vercel bot commented Aug 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 2, 2025 4:13pm

Copy link

codspeed-hq bot commented Aug 2, 2025

CodSpeed WallTime Performance Report

Merging #32368 will not alter performance

Comparing azibek:issue-32234-fix-chathf-params-passthrough (58910a6) with master (9a2f49d)

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Summary

✅ 13 untouched benchmarks

Copy link

codspeed-hq bot commented Aug 2, 2025

CodSpeed Instrumentation Performance Report

Merging #32368 will not alter performance

Comparing azibek:issue-32234-fix-chathf-params-passthrough (58910a6) with master (9a2f49d)

Summary

✅ 14 untouched benchmarks

@azibek azibek changed the title fix(huggingface): pass llm params to chathuggingface #32234 fix(huggingface): pass llm params to chathuggingface Aug 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant