Skip to content

Support "Auto" model mode (Smart Model Selection) similar to VS Code #1518

Merged
deathbeam merged 10 commits intoCopilotC-Nvim:mainfrom
pxwg:1517-add-auto-model-mode
Feb 2, 2026
Merged

Support "Auto" model mode (Smart Model Selection) similar to VS Code #1518
deathbeam merged 10 commits intoCopilotC-Nvim:mainfrom
pxwg:1517-add-auto-model-mode

Conversation

@pxwg
Copy link
Copy Markdown
Contributor

@pxwg pxwg commented Jan 31, 2026

Closes #1517.

@pxwg pxwg marked this pull request as draft January 31, 2026 16:12
@pxwg
Copy link
Copy Markdown
Contributor Author

pxwg commented Jan 31, 2026

After diverting the model, the result of the diversion will be displayed in the header.

@pxwg pxwg marked this pull request as ready for review January 31, 2026 16:49
@pxwg pxwg force-pushed the 1517-add-auto-model-mode branch 4 times, most recently from 41d7f5e to f2e2dfd Compare February 1, 2026 10:54
@pxwg
Copy link
Copy Markdown
Contributor Author

pxwg commented Feb 1, 2026

It seems we can add a field similar to opts.fallback_model outside of opts.model to specify the fallback model when the auto model selector fails.

@pxwg pxwg requested a review from deathbeam February 1, 2026 14:09
pxwg

This comment was marked as resolved.

@pxwg
Copy link
Copy Markdown
Contributor Author

pxwg commented Feb 2, 2026

Hi @deathbeam, just a quick follow-up. I've addressed all the requested changes and resolved the conversations. Could you please take another look when you have a moment? Thanks!

@deathbeam
Copy link
Copy Markdown
Collaborator

I am still not 100% if this is best way to implement this but I will try to find some more time to think about it either today or tomorrow and either merge or add some more comments here.

@pxwg pxwg force-pushed the 1517-add-auto-model-mode branch from 20a75e6 to 4d974a2 Compare February 2, 2026 13:27
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
@deathbeam deathbeam merged commit 4d5dc1c into CopilotC-Nvim:main Feb 2, 2026
1 check passed
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.

Support "Auto" model mode (Smart Model Selection) similar to VS Code

2 participants