Skip to content

Conversation

@roomote
Copy link
Contributor

@roomote roomote bot commented Nov 8, 2025

Related GitHub Issue

Closes: #9128

Roo Code Task Context (Optional)

This PR was created with the assistance of Roo Code.

Description

This PR attempts to address Issue #9128 by adding the devstral-small-latest model to the Mistral provider configuration. The model has been added with appropriate specifications based on the pattern of other models in the configuration:

  • Model ID: devstral-small-latest
  • Max Tokens: 65,000 (smaller than medium variant)
  • Context Window: 65,000
  • Supports Images: true (like other devstral models)
  • Input Price: $0.2 (more economical than medium at $0.4)
  • Output Price: $1.0 (more economical than medium at $2.0)

This provides users with a more economical option for the devstral family of models, as requested in the issue.

Test Procedure

  1. All existing tests continue to pass (npm test in packages/types)
  2. Type checking passes (npm run check-types)
  3. Linting passes (npm run lint)
  4. The model should appear in the Mistral provider selection after integration

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved GitHub Issue (see "Related GitHub Issue" above).
  • Scope: My changes are focused on the linked issue (one major feature/fix per PR).
  • Self-Review: I have performed a thorough self-review of my code.
  • Testing: Existing tests cover the type definitions and all pass.
  • Documentation Impact: I have considered if my changes require documentation updates (see "Documentation Updates" section below).
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Screenshots / Videos

N/A - This is a configuration change that adds a new model option.

Documentation Updates

  • No documentation updates are required.
  • Yes, documentation updates are required. The new model should be added to any user-facing documentation that lists available Mistral models.

Additional Notes

The pricing and specifications for devstral-small-latest are estimates based on it being described as "more economic" than the medium variant. These may need adjustment based on official Mistral documentation.

Get in Touch

Feedback and guidance are welcome on this implementation!


Important

Adds devstral-small-latest model to Mistral provider with specific attributes for a more economical option.

  • Model Addition:
    • Adds devstral-small-latest model to mistralModels in mistral.ts.
    • Specifications: 65,000 max tokens, 65,000 context window, supports images, input price $0.2, output price $1.0.
  • Purpose:
    • Provides a more economical option for users compared to the medium variant.

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

Adds the more economical devstral-small-latest model configuration to the Mistral provider, complementing the existing devstral-medium-latest model.

Fixes #9128
@roomote roomote bot requested review from cte, jr and mrubens as code owners November 8, 2025 12:42
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. documentation Improvements or additions to documentation Enhancement New feature or request labels Nov 8, 2025
@roomote
Copy link
Contributor Author

roomote bot commented Nov 8, 2025

Rooviewer Clock   See task on Roo Cloud

Review complete. No issues found - the implementation correctly follows established patterns for model configuration.

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 Nov 8, 2025
@machinekoder
Copy link

machinekoder commented Nov 8, 2025

@roomote correct model parameters are in #9130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation Enhancement New feature or request Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Mistral Provider is missing devstral-small model

4 participants