-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: custom starter message configuration #963
Conversation
vscode/package.json
Outdated
@@ -811,6 +811,14 @@ | |||
"default": false, | |||
"markdownDescription": "Experimental feature for internal use." | |||
}, | |||
"cody.custom.starter": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many settings are grouped under feature categories (e.g., cody.autocomplete.*
or cody.inlineChat.*
). Would it make sense to apply this pattern here too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about cody.chat.preInstruction
with the description "An instruction to be included at the start of all chat messages sent to Cody"
That is assuming it's chat messages only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea autocompletes uses a different prompt so this is only for chat
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! I left a suggestion for a new config name.
RE: https://sourcegraph.slack.com/archives/C05AGQYD528/p1693983800785199
This PR adds a new configuration
cody.chat.preInstruction
to allow setting a custom starter message that will prepend chat requests to Cody:cody.chat.preInstruction
string property.Test plan
cody.chat.preInstruction
in your user config, e.g. "call me jeff"