Skip to content
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
mainfrom
dan/roo-238-fix-requesty-native-tools
Closed

fix(requesty): set supportsNativeTools for all models#10217
daniel-lxs wants to merge 1 commit into
mainfrom
dan/roo-238-fix-requesty-native-tools

Conversation

@daniel-lxs

@daniel-lxs daniel-lxs commented Dec 19, 2025

Copy link
Copy Markdown
Member

Summary

Requesty supports native tools for all models, but the getRequestyModels fetcher was not setting supportsNativeTools when building model info from the API response.

This caused tools to not be included in subsequent API requests when models were loaded from cache (supportsNativeTools was undefined instead of true).

Changes

Added supportsNativeTools: true and defaultToolProtocol: "native" to the model info returned by getRequestyModels.

Testing

  • Manual testing confirmed that supportsNativeTools is now true for all requests (not just the first one)
  • All existing tests pass

Fixes ROO-238


Important

Sets supportsNativeTools and defaultToolProtocol in getRequestyModels to fix tool inclusion for cached models.

  • Behavior:
    • Sets supportsNativeTools: true and defaultToolProtocol: "native" in getRequestyModels in requesty.ts.
    • Fixes issue where supportsNativeTools was undefined for cached models, causing tools to be excluded in API requests.
  • Testing:
    • Manual testing confirms supportsNativeTools is true for all requests.
    • All existing tests pass.

This description was created by Ellipsis for 676e4d3. You can customize this summary. It will automatically update as commits are pushed.

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
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Dec 19, 2025
@ghost

ghost commented Dec 19, 2025

Copy link
Copy Markdown

Rooviewer Clock   See task on Roo Cloud

Review complete. No issues found. The change correctly adds supportsNativeTools: true and defaultToolProtocol: "native" to model info returned by getRequestyModels, consistent with the existing requestyDefaultModelInfo.

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

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Dec 19, 2025
@daniel-lxs daniel-lxs closed this Dec 19, 2025
@github-project-automation github-project-automation Bot moved this from New to Done in Roo Code Roadmap Dec 19, 2025
@github-project-automation github-project-automation Bot moved this from Triage to Done in Roo Code Roadmap Dec 19, 2025
@daniel-lxs
daniel-lxs deleted the dan/roo-238-fix-requesty-native-tools branch December 19, 2025 20:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants