Skip to content

Questions about Key Mapping, Model Name Display, and Autocompletion for CodeCompanion Command #285

Closed Answered by olimorris
bassamsdata asked this question in Q&A
Discussion options

You must be logged in to vote

Regarding 1), that's because the command expects some input before it can run. I recommend in the workflow tips to apply an abbreviation such as cc as it's 3 keystrokes before you're typing a prompt. Alternatively, you could use the prompt library shortcut for the custom prompt.

For item 2), this is a little confusing as default_model is poorly named. It can represent the default and the current model. The payload sent from the CodeCompanionChatAdapter event will enable you to access this. Another user had a similar request recently which is how it came to be included in the plugin.

And great shout on 3). Thanks to @S1M0N38 as I hadn't realised you could do this with sub commands.

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bassamsdata
Comment options

You must be logged in to vote
3 replies
@olimorris
Comment options

@olimorris
Comment options

@olimorris
Comment options

Comment options

You must be logged in to vote
1 reply
@olimorris
Comment options

Comment options

You must be logged in to vote
4 replies
@bassamsdata
Comment options

@bassamsdata
Comment options

@olimorris
Comment options

@bassamsdata
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants