fix(patch): cherry-pick 37f128a to release/v0.28.0-preview.6-pr-18478 [CONFLICTS]#18732
Conversation
# Conflicts: # packages/core/src/routing/strategies/classifierStrategy.test.ts # packages/core/src/routing/strategies/numericalClassifierStrategy.test.ts # packages/core/src/routing/strategies/numericalClassifierStrategy.ts
Summary of ChangesHello @gemini-cli-robot, 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 is an automated patch to a preview release, integrating a new feature that refines model routing logic. The core change restricts the application of numerical routing strategies specifically to Gemini 3 models, enhancing control over how different model families are handled. This change currently requires manual conflict resolution. Highlights
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
|
There was a problem hiding this comment.
Code Review
This pull request appears to have unresolved merge conflicts, as indicated by the presence of conflict markers (<<<<<<<, =======, >>>>>>>) in several files. These must be resolved before merging. Additionally, there's a critical logic bug in the new isGemini3Model function and its usage. It doesn't account for the previewFeatures setting when resolving model aliases, which will cause incorrect routing behavior for users with settings like model: auto and preview features enabled. I've left detailed comments on the affected files with suggestions for fixes.
packages/core/src/routing/strategies/classifierStrategy.test.ts
Outdated
Show resolved
Hide resolved
packages/core/src/routing/strategies/numericalClassifierStrategy.test.ts
Outdated
Show resolved
Hide resolved
packages/core/src/routing/strategies/numericalClassifierStrategy.ts
Outdated
Show resolved
Hide resolved
packages/core/src/routing/strategies/numericalClassifierStrategy.ts
Outdated
Show resolved
Hide resolved
|
Size Change: +465 B (0%) Total Size: 23.7 MB ℹ️ View Unchanged
|
… and fix model resolution.
mattKorwel
left a comment
There was a problem hiding this comment.
Fixed merge conflicts and tested. Approving, good to go.
c500484
into
release/v0.28.0-preview.6-pr-18478
This PR automatically cherry-picks commit 37f128a to patch version v0.28.0-preview.6 in the preview release to create version 0.28.0-preview.7.
This cherry-pick resulted in merge conflicts that need manual resolution.
🔧 Next Steps:
📋 Files with conflicts:
The commit has been created with conflict markers for easier manual resolution.
🚨 Important: