Add new Copilot model aliases and upgrade SDK#36
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThis pull request updates GitHub Copilot integration by bumping dependency versions, adding three new model options (gpt-5.4-mini, gemini-3.1-pro, raptor-mini) with corresponding slug aliases, and introducing an 📝 Coding Plan
Comment Tip You can enable review details to help with troubleshooting, context usage and more.Enable the |
This pull request introduces improvements to Copilot model handling, including updating the list of available models, refining model ordering logic, and enhancing alias mapping and normalization. The changes ensure that model pickers display Copilot models in a preferred order, new models and aliases are supported, and tests are added to verify these behaviors.
Copilot Model Options and Aliases
Added new Copilot models (
gpt-5.4-mini,gemini-3.1-pro,raptor-mini) toMODEL_OPTIONS_BY_PROVIDER, and updatedMODEL_SLUG_ALIASES_BY_PROVIDERto support aliases like"5.4-mini","gemini-3.1", and"raptor"for these models. [1] [2] [3] [4] [5]Updated tests in
model.test.tsto verify normalization and resolution of new Copilot model aliases and options. [1] [2]Model Picker Ordering Logic
Implemented
orderCopilotBuiltInModelOptionsinChatView.logic.tsto reorder runtime Copilot models to match the preferred built-in picker order, and integrated it into theChatView.tsxmodel picker logic. [1] [2] [3]Added unit tests for
orderCopilotBuiltInModelOptionsto ensure correct ordering and handling of unknown models. [1] [2]Dependency Updates
package.jsonto newer versions for improved compatibility and features.Summary by CodeRabbit
Release Notes
New Features
Chores
Tests