Create YAML file
Create aconfig.yaml file in your Continue Global Directory (~/.continue on Mac, %USERPROFILE%\.continue) alongside your current config.json file. If a config.yaml file is present, it will be loaded instead of config.json.
Give your configuration a name and a version:
config.yaml
Models
Add all model configurations inconfig.json, including models in models, tabAutocompleteModel, embeddingsProvider, and reranker, to the models section of your new YAML config file. A new roles YAML field specifies which roles a model can be used for, with possible values chat, autocomplete, embed, rerank, edit, apply, summarize.
-
modelsin config should haveroles: [chat] -
tabAutocompleteModel(s) in config should haveroles: [autocomplete] -
embeddingsProviderin config should haveroles: [embed] -
rerankerin config should haveroles: [rerank] -
experimental.modelRolesis replaced by simply adding roles to the modelinlineEdit-> e.g.roles: [chat, edit]applyCodeBlock-> e.g.roles: [chat, apply]
requestOptions remain, with minor changes. See YAML Continue Config Reference
Model-level completionOptions are replaced by defaultCompletionOptions, with minor changes. See YAML Continue Config Reference
Before
config.json
repoMapFileSelection experimental model role has been deprecated and is only available in config.json.
Context Providers
The JSONcontextProviders field is replaced by the YAML context array.
- JSON
namemaps toprovider - JSON
paramsmap toparams
System Message
ThesystemMessage property has been replaced with a rules property that takes an array of strings.
Before
config.json
Prompts
Rather than withcustomCommands, you can now use the prompts field to define custom prompts.
Before
config.json
Documentation
Documentation is largely the same, but thetitle property has been replaced with name. The startUrl, rootUrl, and faviconUrl properties remain.
Before
config.json
MCP Servers
Properties:name(required): The name of the MCP server.command(required): The command used to start the server.args: An optional array of arguments for the command.env: An optional map of environment variables for the server process.cwd: An optional working directory to run the command in. Can be absolute or relative path.
Deprecated configuration options
Some deprecated config.json settings are no longer stored in config and have been moved to be editable through the user settings (Gear Icon). If found in config.json, they will be auto-migrated to User Settings and removed from config.json. The following top-level fields from config.json have been deprecated and donโt have a config.yaml equivalent:-
Slash commands (
slashCommands) -
top-level
requestOptions -
top-level
completionOptions -
tabAutocompleteOptionsdisablemaxPromptTokensdebounceDelaymaxSuffixPercentageprefixPercentagetemplateonlyMyCode
-
analytics
customCommandsexperimentaluserToken