• Will Chen's avatar
    Add GLM 4.7, remove obsolete free models, add devstral 2 (free) (#2019) · 22712b42
    Will Chen 提交于
    <!-- CURSOR_SUMMARY -->
    > [!NOTE]
    > Updates OpenRouter model catalog and defaults.
    > 
    > - Add `mistralai/devstral-2512:free` (Devstral 2) with `contextWindow`
    200k
    > - Upgrade `z-ai/glm-4.6` to `z-ai/glm-4.7` and set `temperature` to
    0.7
    > - Remove deprecated DeepSeek free entries; retain paid
    `deepseek/deepseek-chat-v3.1`
    > - No other providers or TURBO models changed;
    `FREE_OPENROUTER_MODEL_NAMES` updates automatically from the list
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    fb8546eab6dd595e5a27c5024499c3c042b63f36. This will update automatically
    on new commits. Configure
    [here](https://cursor.com/dashboard?tab=bugbot).</sup>
    <!-- /CURSOR_SUMMARY -->
    
    <!-- This is an auto-generated description by cubic. -->
    ## Summary by cubic
    Updated model catalog: added GLM 4.7 and Devstral 2 (free), and removed
    obsolete DeepSeek free models to keep options current and improve coding
    performance.
    
    - **New Features**
      - Added z-ai/glm-4.7 with temperature 0.7 and 200k context.
      - Added mistralai/devstral-2512:free (“Devstral 2”) with 200k context.
    
    - **Migration**
    - Removed deepseek/deepseek-chat-v3.1:free and
    deepseek/deepseek-chat-v3-0324:free. Update any references to
    mistralai/devstral-2512:free or another supported model.
    
    <sup>Written for commit fb8546eab6dd595e5a27c5024499c3c042b63f36.
    Summary will update automatically on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    22712b42
language_model_constants.ts 16.2 KB