Autocomplete model role
autocomplete
to the model’s roles
in config.yaml
.
promptTemplates.autocomplete
property in your model configuration. Continue uses Handlebars syntax for templating.
Available variables for the apply template:
{{{prefix}}}
- the code before your cursor{{{suffix}}}
- the code after your cursor{{{filename}}}
- the name of the file your cursor currently is{{{reponame}}}
- the name of the folder where the codebase is{{{language}}}
- the name of the programming language in full (ex. Typescript)