Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Nov 30, 2025

Important

Add new Grok 4 Fast models and enhance xAI native tool calling with tests.

  • Models:
    • Add grok-4-fast-reasoning, grok-4-fast-non-reasoning, grok-4-1-fast-reasoning, and grok-4-1-fast-non-reasoning to xaiModels in xai.ts.
    • All new models support native tools, images, and have a 2M context window.
  • Tool Calling:
    • Add supportsNativeTools to existing models in xai.ts.
    • Update createMessage in xai.ts to handle native tool calling with tool_choice and parallel_tool_calls.
    • Add tests for native tool calling in xai.spec.ts.
  • Tests:
    • Add tests for tool inclusion, tool_choice, and parallel_tool_calls in xai.spec.ts.
    • Test tool_call_partial chunk streaming in xai.spec.ts.

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

@mrubens mrubens requested review from cte and jr as code owners November 30, 2025 00:35
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Enhancement New feature or request labels Nov 30, 2025
@roomote
Copy link
Contributor

roomote bot commented Nov 30, 2025

Rooviewer Clock   See task on Roo Cloud

Review complete - no issues found.

The PR successfully adds four new Grok 4 Fast models and implements native tool calling support for xAI. All changes follow established patterns, include comprehensive test coverage, and don't introduce any bugs or breaking changes.

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 Nov 30, 2025
@mrubens mrubens merged commit ae29777 into main Nov 30, 2025
21 checks passed
@mrubens mrubens deleted the grok_4_improvements branch November 30, 2025 00:41
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Nov 30, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Nov 30, 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 lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants