Skip to content

Add aliases for Gemini 3.1 Pro - low and medium and high#135

Merged
mike1858 merged 1 commit intomainfrom
models/gemini-3.1-pro-aliases
Mar 18, 2026
Merged

Add aliases for Gemini 3.1 Pro - low and medium and high#135
mike1858 merged 1 commit intomainfrom
models/gemini-3.1-pro-aliases

Conversation

@mike1858
Copy link
Member

@mike1858 mike1858 commented Mar 17, 2026

Summary by CodeRabbit

  • New Features
    • Added support for three new Gemini model aliases: "gemini-3.1-pro-low", "gemini-3.1-pro-medium", and "gemini-3.1-pro-high", all resolving to Gemini 3.1 Pro Preview model.

@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6c3e2074-2aa7-45b6-b600-61c58f915bfe

📥 Commits

Reviewing files that changed from the base of the PR and between 6610d71 and e403971.

📒 Files selected for processing (1)
  • src/models.rs

📝 Walkthrough

Walkthrough

Added three new Google Gemini model aliases mapping low, medium, and high priority variants to the gemini-3.1-pro-preview base model in the MODEL_ALIASES static map.

Changes

Cohort / File(s) Summary
Model Aliases
src/models.rs
Added three new Gemini 3.1 Pro variant aliases (low, medium, high) that resolve to the gemini-3.1-pro-preview canonical model name.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 Three aliases, quick and neat,
Low, medium, high, all so sweet,
They point to preview with care,
A rabbit's touch, beyond compare! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding aliases for three Gemini 3.1 Pro variants (low, medium, high) to the MODEL_ALIASES mapping.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch models/gemini-3.1-pro-aliases
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

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

Tip

CodeRabbit can generate a title for your PR based on the changes.

Add @coderabbitai placeholder anywhere in the title of your PR and CodeRabbit will replace it with a title based on the changes in the PR. You can change the placeholder by changing the reviews.auto_title_placeholder setting.

@mike1858 mike1858 merged commit 1552a57 into main Mar 18, 2026
6 checks passed
@mike1858 mike1858 deleted the models/gemini-3.1-pro-aliases branch March 18, 2026 16:48
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.

1 participant