fix: show only currently supported Groq models in the model dropdown picker - #278
Merged
marcbodea merged 1 commit intoAug 1, 2026
Merged
Conversation
…picker Modified files: - Sources/ModelConfiguration.swift - Sources/SettingsView.swift
Contributor
📝 WalkthroughWalkthroughThe context model dropdown now presents the configured vision model list and explains its requirement for screenshot analysis. The vision model catalog was reduced, while configuration logic remained unchanged. ChangesContext model selection
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
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.
Summary
The model dropdown was displaying models that are either no longer available on groq and also displaying models that don't support vision (image input) in the Context Model field. This fix removes unavailable models, introduces a dedicated
visionModelslist, and wires the context model picker to that list so only models that can actually process screenshots are offered.Changes
ModelConfiguration.swiftallam-2-7b,canopylabs/orpheus-*,meta-llama/llama-prompt-guard-2-*) fromllmModels. AddedvisionModelsarray containing only models that accept image input (qwen/qwen3.6-27b).SettingsView.swiftModelConfiguration.visionModelsinstead ofllmModels. Updated subtitle to clarify that screenshot analysis requires a vision-capable model.visionModelswill continue to work as before — the list is suggestive, not restrictive.Summary by CodeRabbit
New Features
Improvements