Refresh AIML default model presets#954
Conversation
Replace the AIML preset list with the current defaults and remove the outdated AIML model definitions tied to the old preset entries.
Review Summary by QodoUpdate AIML default model presets to latest versions
WalkthroughsDescription• Updated AIML model presets to current defaults • Replaced outdated Claude 3.7 with Claude Sonnet 4.6 • Added GPT-5.2 and Google Gemini 3 models • Updated Moonshot Kimi from K2 to K2.5 Diagramflowchart LR
oldModels["Old AIML Models<br/>Claude 3.7, GPT-o3,<br/>GPT-4.1, Kimi K2"]
newModels["New AIML Models<br/>Claude Sonnet 4.6, GPT-5.2,<br/>Gemini 3, Kimi K2.5"]
oldModels -- "refresh presets" --> newModels
File Changes1. src/config/index.mjs
|
Code Review by Qodo
1. AIML key migration missing
|
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request updates the application's configuration to reflect the latest default AIML model presets. It replaces outdated model definitions with current ones, ensuring the system leverages the most recent and relevant AI models for its operations. This change improves the accuracy and capabilities of AI-powered features by keeping the model selection up-to-date. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR updates AIML model configuration by replacing four outdated model identifiers (Claude 3.7 Sonnet, O3, GPT-4.1, Kimi K2 preview) with five newer versions (Claude Sonnet 4.6, GPT-5.2, Gemini 3 Flash, Gemini 3.1 Pro, Kimi K2.5) in the main config file and corresponding test fixtures. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use OpenGrep to find security vulnerabilities and bugs across 17+ programming languages.OpenGrep is compatible with Semgrep configurations. Add an |
There was a problem hiding this comment.
Code Review
This pull request updates the AIML model presets to the current defaults. The changes are mostly correct, but I've identified a naming inconsistency for the new Claude model key provided through AIML. For improved code consistency and maintainability, I've suggested renaming the key to include its provider, anthropic. This change should be applied across the model key definition, the Models object, and the related test data.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c8780aad1b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
Updates the set of AIML (AI/ML API) model keys and model-id mappings used by the extension’s configuration and predicate tests.
Changes:
- Replaces older AIML model keys with a new set of AIML model keys in
src/config/index.mjs. - Updates
Modelsentries to map the new AIML keys to provider model IDs and descriptions. - Adjusts unit test representative AIML model names to match the new keys.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tests/unit/config/config-predicates.test.mjs | Updates representative AIML model names used by predicate tests. |
| src/config/index.mjs | Replaces AIML model key list and updates Models mappings for AIML provider models. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Replace the AIML preset list with the current defaults and remove the outdated AIML model definitions tied to the old preset entries.
Summary by CodeRabbit