Model Changing Function just like change_adapter
#1680
MostlyKIGuess
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
@MostlyKIGuess even though it's for OpenRouter have a look at #1013 (comment) for a model switching function |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
This is working for me in the meantime: require("codecompanion").setup({
interactions = {
chat = {
keymaps = {
change_model = {
modes = { n = "gm" },
description = "Change Model",
callback = function(chat)
require("codecompanion.interactions.chat.keymaps.change_adapter").select_model(chat)
end,
},
},
},
}
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The feature should add the ability to change models within the Copilot adapter while in a chat session, without having to go to config.
New Keymap:
gm(Change Model)gmin chat buffers that allows users to change the model for the current chat session.Added
M.change_modelfunction that:Beta Was this translation helpful? Give feedback.
All reactions