feat: Add /model command for temporary model switching#336
Merged
Conversation
Contributor
Author
|
TODO - I think the shortcut "/switch [model]" it's a bit misleading I should remove the argument from there since it's only get opened in the model selection view. I should probably consider using the arrow down key binding to let the user actually select the model instead of typing a shortcut - same goes for theme etc.. |
edenreich
commented
Dec 11, 2025
Signed-off-by: Eden Reich <eden.reich@gmail.com>
Signed-off-by: Eden Reich <eden.reich@gmail.com>
Signed-off-by: Eden Reich <eden.reich@gmail.com>
This helps for troubleshooting the image that was pasted from the clipboard to see what will actually get sent, and then we simply remove it ensure filesystem not getting bloated. Signed-off-by: Eden Reich <eden.reich@gmail.com>
Signed-off-by: Eden Reich <eden.reich@gmail.com>
…not only the first - user intent Making it configurable. Signed-off-by: Eden Reich <eden.reich@gmail.com>
Signed-off-by: Eden Reich <eden.reich@gmail.com>
ig-semantic-release-bot bot
pushed a commit
that referenced
this pull request
Dec 12, 2025
## [0.89.0](v0.88.0...v0.89.0) (2025-12-12) ### 🚀 Features * Add /model command for temporary model switching ([#336](#336)) ([09baf39](09baf39))
|
🎉 This PR is included in version 0.89.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Adds a new
/model <model-name> <prompt>shortcut that allows executing a prompt with a specific model while maintaining the current conversation context. The model automatically switches back to the original after the prompt completes. Includes autocomplete support for model names with pricing display.Key Changes
New Features
/modelcommand: Execute a prompt with a specific model temporarilyImplementation Details
internal/shortcuts/model.gowith the/modelshortcut implementationUsage Examples
Technical Improvements
internal/services/pricing_service_test.go)This feature enables users to quickly experiment with different models for specific prompts without permanently changing their model selection, making it easier to compare model outputs and optimize for cost/performance trade-offs.