Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Dec 6, 2025

Important

Enable native tools by default for all models in anthropic.ts, gemini.ts, and openai.ts, and update a mock function in Task.spec.ts.

  • Behavior:
    • Sets defaultToolProtocol to "native" for all models in anthropic.ts, gemini.ts, and openai.ts.
  • Tests:
    • Adds getMcpHub mock function in Task.spec.ts to return undefined.

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

@mrubens mrubens requested review from cte and jr as code owners December 6, 2025 03:35
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request labels Dec 6, 2025
@roomote
Copy link
Contributor

roomote bot commented Dec 6, 2025

Rooviewer Clock   See task on Roo Cloud

Review completed. The new commit adds the required getMcpHub mock function to the test suite, correctly returning undefined for tests that don't require MCP functionality. The change follows the existing test patterns and introduces no issues.

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 6, 2025
@mrubens
Copy link
Collaborator Author

mrubens commented Dec 6, 2025

@roomote can you fix the failing tests?

@roomote
Copy link
Contributor

roomote bot commented Dec 6, 2025

Fixaroo Clock   See task on Roo Cloud

Fixed the reported issues. All local checks passed.

View commit | Revert commit

The addition of defaultToolProtocol: "native" to model definitions now
triggers the buildNativeToolsArray code path which requires
provider.getMcpHub() to be defined. Added the missing mock method.
@mrubens mrubens closed this Dec 7, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Dec 7, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants