Skip to content

Add new Copilot model aliases and catalog entries#35

Merged
zortos293 merged 1 commit intomainfrom
codex/add-copilot-gemini-raptor-models
Mar 17, 2026
Merged

Add new Copilot model aliases and catalog entries#35
zortos293 merged 1 commit intomainfrom
codex/add-copilot-gemini-raptor-models

Conversation

@zortos293
Copy link
Owner

@zortos293 zortos293 commented Mar 17, 2026

This pull request adds support for new copilot model options and their aliases, ensuring they are properly normalized and resolved. The main updates are to the MODEL_OPTIONS_BY_PROVIDER and MODEL_SLUG_ALIASES_BY_PROVIDER mappings, as well as corresponding tests for normalization and resolution.

New model options and aliases:

  • Added gpt-5.4-mini, gemini-3.1-pro, and raptor-mini to the copilot provider in MODEL_OPTIONS_BY_PROVIDER, expanding available model choices. [1] [2] [3]
  • Introduced new aliases (5.4-mini, gemini-3.1, raptor) for these models in MODEL_SLUG_ALIASES_BY_PROVIDER to improve user input flexibility. [1] [2]

Testing enhancements:

  • Added tests to verify that copilot aliases are correctly mapped to their canonical slugs and that all copilot model options resolve as expected. [1] [2]

Summary by CodeRabbit

  • New Features
    • Added three new AI model options: GPT-5.4 mini, Gemini 3.1 Pro, and Raptor mini.
    • Introduced convenient shorthand aliases (5.4-mini, gemini-3.1, raptor) for streamlined model selection.

@zortos293 zortos293 merged commit 7f41a9c into main Mar 17, 2026
3 checks passed
@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 08f4d927-29de-4dd6-97e6-dd17c04df411

📥 Commits

Reviewing files that changed from the base of the PR and between cbd6ea4 and 12315f6.

📒 Files selected for processing (2)
  • packages/contracts/src/model.ts
  • packages/shared/src/model.test.ts

📝 Walkthrough

Walkthrough

This pull request adds three new COPILOT model options to the model registry: gpt-5.4-mini, gemini-3.1-pro, and raptor-mini. Each model is accompanied by a slug alias in MODEL_SLUG_ALIASES_BY_PROVIDER to enable shorthand references (5.4-mini, gemini-3.1, and raptor respectively). Test coverage is added for slug normalization and resolution to verify the new aliases map correctly to their canonical slugs and that all model options are properly resolvable by provider.

📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use oxc to improve the quality of JavaScript and TypeScript code reviews.

Add a configuration file to your project to customize how CodeRabbit runs oxc.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant