This repository was archived by the owner on May 15, 2026. It is now read-only.
fix(requesty): set supportsNativeTools for all models - #10217
Closed
daniel-lxs wants to merge 1 commit into
Closed
Conversation
Requesty supports native tools for all models, but the getRequestyModels fetcher was not setting supportsNativeTools when building model info. This caused tools to not be included in subsequent API requests when models were loaded from cache (supportsNativeTools was undefined instead of true). Fixes ROO-238
Review complete. No issues found. The change correctly adds Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
mrubens
approved these changes
Dec 19, 2025
ghost
approved these changes
Dec 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Requesty supports native tools for all models, but the
getRequestyModelsfetcher was not settingsupportsNativeToolswhen building model info from the API response.This caused tools to not be included in subsequent API requests when models were loaded from cache (
supportsNativeToolswasundefinedinstead oftrue).Changes
Added
supportsNativeTools: trueanddefaultToolProtocol: "native"to the model info returned bygetRequestyModels.Testing
supportsNativeToolsis nowtruefor all requests (not just the first one)Fixes ROO-238
Important
Sets
supportsNativeToolsanddefaultToolProtocolingetRequestyModelsto fix tool inclusion for cached models.supportsNativeTools: trueanddefaultToolProtocol: "native"ingetRequestyModelsinrequesty.ts.supportsNativeToolswasundefinedfor cached models, causing tools to be excluded in API requests.supportsNativeToolsistruefor all requests.This description was created by
for 676e4d3. You can customize this summary. It will automatically update as commits are pushed.