Skip to content

Conversation

@waleedlatif1
Copy link
Collaborator

Summary

  • added latest mistral models

Type of Change

  • New feature

Testing

Tested manually

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel
Copy link

vercel bot commented Dec 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
docs Skipped Skipped Dec 2, 2025 9:41pm

@waleedlatif1 waleedlatif1 marked this pull request as ready for review December 2, 2025 21:43
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Dec 2, 2025

Greptile Overview

Greptile Summary

Updated Mistral model definitions with latest releases and pricing changes.

Key Changes:

  • Added new model family pattern /^devstral/ to modelPatterns array
  • Added new models: mistral-large-2512, magistral-small-latest, magistral-small-2509, mistral-medium-2505, devstral-small-latest, devstral-small-2507, devstral-medium-2507, ministral-14b-latest, ministral-14b-2512, ministral-8b-2512, ministral-3b-2512
  • Updated pricing for existing models: mistral-large-latest (reduced from $2/$6 to $0.5/$1.5), mistral-small-latest (reduced from $0.2/$0.6 to $0.1/$0.3), ministral-8b-latest (increased from $0.1/$0.1 to $0.15/$0.15)
  • Updated context windows: mistral-large-latest increased to 256k, ministral-*-latest models increased to 256k
  • Refreshed updatedAt timestamps to 2025-12-02 for current models

All changes follow the established pattern for model definitions with consistent structure for pricing, capabilities, and context windows.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The changes are purely additive configuration updates for model definitions. All new entries follow the established pattern with proper typing, consistent structure, and valid data. Pricing and context window updates align with Mistral's latest offerings. No logic changes or breaking modifications.
  • No files require special attention

Important Files Changed

File Analysis

Filename Score Overview
apps/sim/providers/models.ts 5/5 Added new Mistral model definitions (magistral-small, devstral, ministral-14b, mistral-large-2512, mistral-medium-2505) with updated pricing and context windows, added devstral pattern matcher, updated timestamps

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant PR as Pull Request #2159
    participant Config as models.ts
    participant App as Application

    Dev->>PR: Add latest Mistral models
    PR->>Config: Update PROVIDER_DEFINITIONS
    
    Note over Config: Add devstral pattern matcher
    Config->>Config: Add /^devstral/ to modelPatterns
    
    Note over Config: Add new model definitions
    Config->>Config: Add mistral-large-2512
    Config->>Config: Add magistral-small-latest/2509
    Config->>Config: Add devstral-small/medium variants
    Config->>Config: Add ministral-14b-latest/2512
    Config->>Config: Add ministral-8b-2512
    Config->>Config: Add ministral-3b-2512
    Config->>Config: Add mistral-medium-2505
    
    Note over Config: Update existing model configs
    Config->>Config: Update mistral-large-latest pricing & context
    Config->>Config: Update mistral-small-latest pricing
    Config->>Config: Update ministral-8b-latest pricing & context
    Config->>Config: Update ministral-3b-latest context
    Config->>Config: Refresh updatedAt timestamps
    
    Config->>App: Models available for selection
    App->>App: Users can select new Mistral models
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, no comments

Edit Code Review Agent Settings | Greptile

@waleedlatif1 waleedlatif1 merged commit 6fda9bd into staging Dec 2, 2025
5 checks passed
@waleedlatif1 waleedlatif1 deleted the feat/models branch December 2, 2025 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants