Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

feat: add native tool calling support to HuggingFace provider - #10232

Closed
ghost wants to merge 3 commits into
mainfrom
feature/huggingface-native-tools
Closed

feat: add native tool calling support to HuggingFace provider#10232
ghost wants to merge 3 commits into
mainfrom
feature/huggingface-native-tools

Conversation

@ghost

@ghost ghost commented Dec 20, 2025

Copy link
Copy Markdown

Add native tool calling support to HuggingFace provider with dropdown for XML/native/default protocol selection. Default protocol is set to native.


View task on Roo Code Cloud

@ghost

ghost commented Dec 20, 2025

Copy link
Copy Markdown
Author

Rooviewer Clock   See task on Roo Cloud

Review complete. No issues found.

The latest change simplifies the HuggingFace fetcher by enabling native tool calling for all models by default, rather than conditionally based on the API's supports_tools field. This is a reasonable approach since the HuggingFace router uses an OpenAI-compatible API with standardized tool calling support.

Previous reviews

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Dec 20, 2025
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Dec 21, 2025
@github-project-automation github-project-automation Bot moved this from New to Done in Roo Code Roadmap Jan 7, 2026
@github-project-automation github-project-automation Bot moved this from Triage to Done in Roo Code Roadmap Jan 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. lgtm This PR has been approved by a maintainer

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants