Open
Conversation
* Add Gemini 3.1 Pro to Google models Added Google's 3.1 Pro Model to Google Model Options * Remove Gemini 3 Pro from Google models Removed Gemini 3 Pro from the Google models list. It's depreciated. Keeping 3.1 Pro.
…t model=gemini-...)
41c7df3 to
41a0021
Compare
Owner
|
When would this case happen? |
Contributor
Author
Firstly, this is overly defensive. This does not happen during normal user flow using the /model command. It can happen in out-of-band ways:
Without warnOnMismatch(), Dexter would try to pass (say) an Anthropic model string to the (say) OpenAI client API, which would result in an obscure LLM API error (like "model claude-3-haiku does not exist"). This check just gives the user a clear, actionable CLI error instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add CLI warning for model-provider mismatch
Tested with: Windows 11