diff --git a/docs/customize/custom-providers.mdx b/docs/customize/custom-providers.mdx
index 068f0cdca..b66559487 100644
--- a/docs/customize/custom-providers.mdx
+++ b/docs/customize/custom-providers.mdx
@@ -19,116 +19,62 @@ You can add any built-in context-providers in your config file as shown below:
Reference any file in your current workspace.
-- YAML
-- JSON
-
config.yaml
```
context: - provider: file
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "file" }] }
-```
-
### @Code Context Provider – Reference Functions and Classes
Reference specific functions or classes from throughout your project.
-- YAML
-- JSON
-
config.yaml
```
context: - provider: code
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "code" }] }
-```
-
### @Git Diff Context Provider – Reference Branch Changes
Reference all of the changes you've made to your current branch. This is useful if you want to summarize what you've done or ask for a general review of your work before committing.
-- YAML
-- JSON
-
config.yaml
```
context: - provider: diff
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "diff" }] }
-```
-
### @Current File Context Provider – Reference the Active File
Reference the currently open file.
-- YAML
-- JSON
-
config.yaml
```
context: - provider: currentFile
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "currentFile" }] }
-```
-
### @Terminal Context Provider – Reference Last Terminal Command and Output
Reference the last command you ran in your IDE's terminal and its output.
-- YAML
-- JSON
-
config.yaml
```
context: - provider: terminal
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "terminal" }] }
-```
-
### @Docs Context Provider – Reference Documentation Site Content
Reference the contents from any documentation site.
-- YAML
-- JSON
-
config.yaml
```
context: - provider: docs
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "docs" }] }
-```
-
Note that this will only enable the `@Docs` context provider.
To use it, you need to add a documentation site to your config file. See the [docs](/customize/overview#documentation-context) page for more information.
@@ -137,9 +83,6 @@ To use it, you need to add a documentation site to your config file. See the [do
Reference the contents of all of your open files. Set `onlyPinned` to `true` to only reference pinned files.
-- YAML
-- JSON
-
config.yaml
```
@@ -149,21 +92,12 @@ context:
onlyPinned: true
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "open", "params": { "onlyPinned": true } }] }
-```
-
### @Web Context Provider – Reference Relevant Web Pages
Reference relevant pages from across the web, automatically determined from your input.
Optionally, set `n` to limit the number of results returned (default 6).
-- YAML
-- JSON
-
config.yaml
```
@@ -173,19 +107,10 @@ context:
n: 5
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "web", "params": { "n": 5 } }] }
-```
-
### @Codebase Context Provider – Reference Relevant Codebase Snippets
Reference the most relevant snippets from your codebase.
-- YAML
-- JSON
-
config.yaml
```
@@ -193,40 +118,22 @@ context:
- provider: codebase
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "codebase" }] }
-```
-
Read more about indexing and retrieval [here](/customize/overview#codebase-context).
### @Folder Context Provider – Reference Code from a Specific Folder
Uses the same retrieval mechanism as `@Codebase`, but only on a single folder.
-- YAML
-- JSON
-
config.yaml
```
context: - provider: folder
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "folder" }] }
-```
-
### @Search Context Provider – Reference Code Search Results
Reference the results of codebase search, just like the results you would get from VS Code search.
-- YAML
-- JSON
-
config.yaml
```
@@ -236,21 +143,12 @@ context:
maxResults: 100 # optional, defaults to 200
```
-config.json
-
-```json
-{ "contextProviders": [ { "name": "search", "params": { "maxResults": 100 // optional, defaults to 200 } } ]}
-```
-
This context provider is powered by [ripgrep](https://github.com/BurntSushi/ripgrep).
### @Url Context Provider – Reference Content from a URL
Reference the markdown converted contents of a given URL.
-- YAML
-- JSON
-
config.yaml
```
@@ -258,19 +156,10 @@ context:
- provider: url
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "url" }] }
-```
-
### @Clipboard Context Provider – Reference Clipboard Items
Reference recent clipboard items
-- YAML
-- JSON
-
config.yaml
```
@@ -278,19 +167,10 @@ context:
- provider: clipboard
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "clipboard" }] }
-```
-
### @Tree Context Provider – Reference Workspace File Structure
Reference the structure of your current workspace.
-- YAML
-- JSON
-
config.yaml
```
@@ -298,19 +178,10 @@ context:
- provider: tree
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "tree" }] }
-```
-
### @Problems Context Provider – Reference Problems in the Current File
Get Problems from the current file.
-- YAML
-- JSON
-
config.yaml
```
@@ -318,19 +189,10 @@ context:
- provider: problems
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "problems" }] }
-```
-
### @Debugger Context Provider – Reference Debugger Local Variables
Reference the contents of the local variables in the debugger. Currently only available in VS Code.
-- YAML
-- JSON
-
config.yaml
```
@@ -340,12 +202,6 @@ context:
stackDepth: 3
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "debugger", "params": { "stackDepth": 3 } }] }
-```
-
Uses the top _n_ levels (defaulting to 3) of the call stack for that thread.
### @Repository Map Context Provider – Reference Codebase Outline and Signatures
@@ -354,9 +210,6 @@ Reference the outline of your codebase. By default, signatures are included alon
`includeSignatures` params can be set to false to exclude signatures. This could be necessary for large codebases and/or to reduce context size significantly. Signatures will not be included if indexing is disabled.
-- YAML
-- JSON
-
config.yaml
```
@@ -366,12 +219,6 @@ context:
includeSignatures: false # default true
```
-config.json
-
-```json
-{ "contextProviders": [ { "name": "repo-map", "params": { "includeSignatures": false // default true } } ]}
-```
-
Provides a list of files and the call signatures of top-level classes, functions, and methods in those files. This helps the model better understand how a particular piece of code relates to the rest of the codebase.
In the submenu that appears, you can select either `Entire codebase`, or specify a subfolder to generate the repository map from.
@@ -382,9 +229,6 @@ This context provider is inspired by [Aider's repository map](https://aider.chat
Reference the architecture and platform of your current operating system.
-- YAML
-- JSON
-
config.yaml
```
@@ -392,19 +236,10 @@ context:
- provider: os
```
-config.json
-
-```json
-{ "contextProviders": [{ "name": "os" }] }
-```
-
### Using the Model Context Protocol (MCP) in Continue
The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a standard proposed by Anthropic to unify prompts, context, and tool use. Continue supports any MCP server with the MCP context provider. Read their [quickstart](https://modelcontextprotocol.io/quickstart) to learn how to set up a local server and then set up your configuration like this:
-- YAML
-- JSON
-
config.yaml
```
@@ -417,24 +252,6 @@ mcpServers:
- /Users/NAME/test.db
```
-config.json
-
-```json
-{
- "experimental": {
- "modelContextProtocolServers": [
- {
- "transport": {
- "type": "stdio",
- "command": "uvx",
- "args": ["mcp-server-sqlite", "--db-path", "/Users/NAME/test.db"]
- }
- }
- ]
- }
-}
-```
-
You'll then be able to type "@" and see "MCP" in the context providers dropdown.
### How to Request a New Context Provider in Continue
diff --git a/docs/customize/deep-dives/custom-providers.mdx b/docs/customize/deep-dives/custom-providers.mdx
index dc60dc560..9adc078ab 100644
--- a/docs/customize/deep-dives/custom-providers.mdx
+++ b/docs/customize/deep-dives/custom-providers.mdx
@@ -15,251 +15,95 @@ You can add any built-in context-providers in your config file as shown below:
Reference any file in your current workspace.
-
-
- ```yaml config.yaml
- context:
- - provider: file
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "file"
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: file
+```
### `@Code`
Reference specific functions or classes from throughout your project.
-
-
- ```yaml config.yaml
- context:
- - provider: code
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "code"
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: code
+```
### `@Git Diff`
Reference all of the changes you've made to your current branch. This is useful if you want to summarize what you've done or ask for a general review of your work before committing.
-
-
- ```yaml config.yaml
- context:
- - provider: diff
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "diff"
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: diff
+```
### `@Current File`
Reference the currently open file.
-
-
- ```yaml config.yaml
- context:
- - provider: currentFile
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "currentFile"
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: currentFile
+```
### `@Terminal`
Reference the last command you ran in your IDE's terminal and its output.
-
-
- ```yaml config.yaml
- context:
- - provider: terminal
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "terminal"
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: terminal
+```
### `@Open`
Reference the contents of all of your open files. Set `onlyPinned` to `true` to only reference pinned files.
-
-
- ```yaml config.yaml
- context:
- - provider: open
- params:
- onlyPinned: true
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "open",
- "params": {
- "onlyPinned": true
- }
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: open
+ params:
+ onlyPinned: true
+```
### `@Clipboard`
Reference recent clipboard items
-
-
- ```yaml config.yaml
- context:
- - provider: clipboard
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "clipboard"
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: clipboard
+```
### `@Tree`
Reference the structure of your current workspace.
-
-
- ```yaml config.yaml
- context:
- - provider: tree
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "tree"
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: tree
+```
### `@Problems`
Get Problems from the current file.
-
-
- ```yaml config.yaml
- context:
- - provider: problems
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "problems"
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: problems
+```
### `@Debugger`
Reference the contents of the local variables in the debugger. Currently only available in VS Code.
-
-
- ```yaml config.yaml
- context:
- - provider: debugger
- params:
- stackDepth: 3
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "debugger",
- "params": {
- "stackDepth": 3
- }
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: debugger
+ params:
+ stackDepth: 3
+```
Uses the top _n_ levels (defaulting to 3) of the call stack for that thread.
@@ -269,30 +113,12 @@ Reference the outline of your codebase. By default, signatures are included alon
`includeSignatures` params can be set to false to exclude signatures. This could be necessary for large codebases and/or to reduce context size significantly. Signatures will not be included if indexing is disabled.
-
-
- ```yaml config.yaml
- context:
- - provider: repo-map
- params:
- includeSignatures: false # default true
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "repo-map",
- "params": {
- "includeSignatures": false // default true
- }
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: repo-map
+ params:
+ includeSignatures: false # default true
+```
Provides a list of files and the call signatures of top-level classes, functions, and methods in those files. This helps the model better understand how a particular piece of code relates to the rest of the codebase.
@@ -304,56 +130,23 @@ This context provider is inpsired by [Aider's repository map](https://aider.chat
Reference the architecture and platform of your current operating system.
-
-
- ```yaml config.yaml
- context:
- - provider: os
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "os"
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: os
+```
### `@HTTP`
The HttpContextProvider makes a POST request to the url passed in the configuration. The server must return 200 OK with a ContextItem object or an array of ContextItems.
-
-
- ```yaml config.yaml
- context:
- - provider: http
- params:
- url: "https://api.example.com/v1/users"
- headers:
- - Authorization: "Bearer "
- ```
-
-
- ```json config.json
- {
- "contextProviders": [
- {
- "name": "http",
- "params": {
- "url": "https://api.example.com/v1/users"
- }
- }
- ]
- }
- ```
-
-
+```yaml config.yaml
+context:
+ - provider: http
+ params:
+ url: "https://api.example.com/v1/users"
+ headers:
+ - Authorization: "Bearer "
+```
The receiving URL should expect to receive the following parameters:
@@ -375,36 +168,15 @@ Response
The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a standard proposed by Anthropic to unify prompts, context, and tool use. Continue supports any MCP server with the MCP context provider. Read their [quickstart](https://modelcontextprotocol.io/quickstart) to learn how to set up a local server and then set up your configuration like this:
-
-
- ```yaml config.yaml
- mcpServers:
- - name: My MCP Server
- command: uvx
- args:
- - mcp-server-sqlite
- - --db-path
- - /Users/NAME/test.db
- ```
-
-
- ```json config.json
- {
- "experimental": {
- "modelContextProtocolServers": [
- {
- "transport": {
- "type": "stdio",
- "command": "uvx",
- "args": ["mcp-server-sqlite", "--db-path", "/Users/NAME/test.db"]
- }
- }
- ]
- }
- }
- ```
-
-
+```yaml config.yaml
+mcpServers:
+ - name: My MCP Server
+ command: uvx
+ args:
+ - mcp-server-sqlite
+ - --db-path
+ - /Users/NAME/test.db
+```
You'll then be able to type "@" and see "MCP" in the context providers dropdown.
diff --git a/docs/customize/model-roles/chat.mdx b/docs/customize/model-roles/chat.mdx
index afafb8591..f7fbedbc3 100644
--- a/docs/customize/model-roles/chat.mdx
+++ b/docs/customize/model-roles/chat.mdx
@@ -36,20 +36,6 @@ Our current top recommendations are Claude Opus 4.1 and Claude Sonnet 4 from [An
apiKey:
```
-
- ```json title="config.json"
- {
- "models": [
- {
- "title": "Claude Opus 4.1",
- "provider": "anthropic",
- "model": "claude-4-1-opus",
- "apiKey": ""
- }
- ]
- }
- ```
-
### Gemma from Google DeepMind
@@ -88,37 +74,6 @@ If you prefer to use an open-weight model, then the Gemma family of Models from
-
-
-
- ```json title="config.json"
- {
- "models": [
- {
- "title": "Gemma 3 27B",
- "provider": "ollama",
- "model": "gemma3:27b"
- }
- ]
- }
- ```
-
-
- ```json title="config.json"
- {
- "models": [
- {
- "title": "Gemma 3 27B",
- "provider": "together",
- "model": "google/gemma-2-27b-it",
- "apiKey": ""
- }
- ]
- }
- ```
-
-
-
### GPT-4o from OpenAI
@@ -138,20 +93,6 @@ If you prefer to use a model from [OpenAI](../model-providers/top-level/openai),
apiKey:
```
-
- ```json title="config.json"
- {
- "models": [
- {
- "title": "GPT-4o",
- "provider": "openai",
- "model": "",
- "apiKey": ""
- }
- ]
- }
- ```
-
### Grok-2 from xAI
@@ -171,20 +112,6 @@ If you prefer to use a model from [xAI](../model-providers/more/xAI), then we re
apiKey:
```
-
- ```json title="config.json"
- {
- "models": [
- {
- "title": "Grok-2",
- "provider": "xAI",
- "model": "grok-2-latest",
- "apiKey": ""
- }
- ]
- }
- ```
-
### Gemini 2.0 Flash from Google
@@ -204,20 +131,6 @@ If you prefer to use a model from [Google](../model-providers/top-level/gemini),
apiKey:
```
-
- ```json title="config.json"
- {
- "models": [
- {
- "title": "Gemini 2.0 Flash",
- "provider": "gemini",
- "model": "gemini-2.0-flash",
- "apiKey": ""
- }
- ]
- }
- ```
-
## Local, offline experience
@@ -268,49 +181,6 @@ If your local machine can run an 8B parameter model, then we recommend running L
-
-
-
- ```json title="config.json"
- {
- "models": [
- {
- "title": "Llama 3.1 8B",
- "provider": "ollama",
- "model": "llama3.1:8b"
- }
- ]
- }
- ```
-
-
- ```json title="config.json"
- {
- "models": [
- {
- "title": "Llama 3.1 8B",
- "provider": "lmstudio",
- "model": "llama3.1-8b"
- }
- ]
- }
- ```
-
-
- ```json title="config.json"
- {
- "models": [
- {
- "title": "Llama 3.1 8B",
- "provider": "msty",
- "model": "llama3.1-8b"
- }
- ]
- }
- ```
-
-
-
### DeepSeek Coder 2 16B
@@ -357,50 +227,6 @@ If your local machine can run a 16B parameter model, then we recommend running D
-
-
-
- ```json title="config.json"
- {
- "models": [
- {
- "title": "DeepSeek Coder 2 16B",
- "provider": "ollama",
- "model": "deepseek-coder-v2:16b",
- "apiBase": "http://localhost:11434"
- }
- ]
- }
- ```
-
-
- ```json title="config.json"
- {
- "models": [
- {
- "title": "DeepSeek Coder 2 16B",
- "provider": "lmstudio",
- "model": "deepseek-coder-v2:16b"
- }
- ]
- }
- ```
-
-
- ```json title="config.json"
- {
- "models": [
- {
- "title": "DeepSeek Coder 2 16B",
- "provider": "msty",
- "model": "deepseek-coder-v2:16b"
- }
- ]
- }
- ```
-
-
-
## Other experiences
diff --git a/docs/customize/model-roles/edit.mdx b/docs/customize/model-roles/edit.mdx
index e60d47017..e150cd518 100644
--- a/docs/customize/model-roles/edit.mdx
+++ b/docs/customize/model-roles/edit.mdx
@@ -10,38 +10,15 @@ It's often useful to select a different model to respond to Edit prompts than fo
In Continue, you can add `edit` to a model's roles to specify that it can be used for Edit requests. If no edit models are specified, the selected `chat` model is used.
-
-
- Use model roles.
- ```yaml title="config.yaml"
- models:
- - name: Claude 3.5 Sonnet
- provider: anthropic
- model: claude-3-5-sonnet-latest
- apiKey:
- roles:
- - edit
- ```
-
-
- Set the `experimental.modelRoles.inlineEdit` property in `config.json`.
- ```json title="config.json"
- {
- "models": {
- "name": "Claude 3.5 Sonnet",
- "provider": "anthropic",
- "model": "claude-3-5-sonnet-latest",
- "apiKey": ""
- },
- "experimental": {
- "modelRoles": {
- "inlineEdit": "Claude 3.5 Sonnet",
- }
- }
- }
- ```
-
-
+```yaml title="config.yaml"
+models:
+ - name: Claude 4 Sonnet
+ provider: anthropic
+ model: claude-3-5-sonnet-latest
+ apiKey:
+ roles:
+ - edit
+```
Explore edit models in [the hub](https://hub.continue.dev/explore/models?roles=edit). Generally, our recommendations for Edit overlap with recommendations for Chat.
diff --git a/docs/customize/model-roles/reranking.mdx b/docs/customize/model-roles/reranking.mdx
index ed5974b4b..95c4bfc8a 100644
--- a/docs/customize/model-roles/reranking.mdx
+++ b/docs/customize/model-roles/reranking.mdx
@@ -23,7 +23,10 @@ Voyage AI offers the best reranking model for code with their `rerank-2` model.
- [Voyage Rerank 2 Block](https://hub.continue.dev/voyageai/rerank-2)
+ ```yaml title="config.yaml"
+ models:
+ - uses: voyageai/rerank-2
+ ```
```yaml title="config.yaml"
@@ -36,19 +39,6 @@ Voyage AI offers the best reranking model for code with their `rerank-2` model.
- rerank
```
-
- ```json title="config.json"
- {
- "reranker": {
- "name": "voyage",
- "params": {
- "model": "rerank-2",
- "apiKey": ""
- }
- }
- }
- ```
-
### Cohere
@@ -71,19 +61,6 @@ See Cohere's documentation for rerankers [here](https://docs.cohere.com/docs/rer
- rerank
```
-
- ```json title="config.json"
- {
- "reranker": {
- "name": "cohere",
- "params": {
- "model": "rerank-english-v3.0",
- "apiKey": ""
- }
- }
- }
- ```
-
### LLM
@@ -105,21 +82,9 @@ If you only have access to a single LLM, then you can use it as a reranker. This
- rerank
```
-
- ```json title="config.json"
- {
- "reranker": {
- "name": "llm",
- "params": {
- "modelTitle": "My Model Title"
- }
- }
- }
- ```
-
-The `"modelTitle"` field must match one of the models in your "models" array in config.json.
+
### Text Embeddings Inference
@@ -142,17 +107,4 @@ The `"modelTitle"` field must match one of the models in your "models" array in
- rerank
```
-
- ```json title="config.json"
- {
- "reranker": {
- "name": "huggingface-tei",
- "params": {
- "apiBase": "http://localhost:8080",
- "apiKey": ""
- }
- }
- }
- ```
-
diff --git a/docs/reference/yaml-migration.mdx b/docs/reference/yaml-migration.mdx
index 4abcaf154..302237faf 100644
--- a/docs/reference/yaml-migration.mdx
+++ b/docs/reference/yaml-migration.mdx
@@ -1,17 +1,16 @@
---
title: "Migrating Config to YAML"
-description: "Continue's YAML configuration format provides more readable, maintainable, consistent configuration files, as well as new configuration options and removal of some old configuration options. YAML is the preferred format and will be used to integrate with future Continue products. Below is a brief guide for migration from to ."
+description: "Continue's YAML configuration format provides more readable, maintainable, consistent configuration files, as well as new configuration options and removal of some old configuration options. YAML is the preferred format and will be used to integrate with future Continue products. Below is a brief guide for migration from config.json to config.yaml."
---
See also
- [Intro to YAML](https://yaml.org/)
-- [JSON Continue Config Reference](/reference)
- [YAML Continue Config Reference](/reference)
## Create YAML file
-Create a `config.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`.
+Create a `config.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`:
@@ -87,12 +86,12 @@ config.json
config.yaml
-```
+```yaml
models:
- name: GPT-4
provider: openai
model: gpt-4
- apiKey:
+ apiKey:
defaultCompletionOptions:
temperature: 0.5
maxTokens: 2000
@@ -101,7 +100,8 @@ models:
- edit
- name: My Voyage Reranker
provider: voyage
- apiKey:
+ model: rerank-2
+ apiKey:
roles:
- rerank
- name: My Starcoder
@@ -111,22 +111,25 @@ models:
- autocomplete
- name: My Ada Embedder
provider: openai
- apiKey:
+ model: text-embedding-ada-002
+ apiKey:
roles:
- embed
embedOptions:
- - maxChunkSize: 256
- - maxBatchSize: 5
+ maxChunkSize: 256
+ maxBatchSize: 5
- name: Ollama Autodetect
provider: ollama
model: AUTODETECT
- - name: My Open AI Compatible Model - Apply
+ roles:
+ - chat
+ - name: My Open AI Compatible Model
provider: openai
model: my-openai-compatible-model
apiBase: http://3.3.3.3/v1
requestOptions:
headers:
- X-Auth-Token:
+ X-Auth-Token:
roles:
- chat
- apply
@@ -159,7 +162,7 @@ config.json
config.yaml
-```
+```yaml
context:
- provider: docs
- provider: codebase
@@ -178,14 +181,16 @@ The `systemMessage` property has been replaced with a `rules` property that take
config.json
```json
-{ "systemMessage": "Always give concise responses" }
+{
+ "systemMessage": "Always give concise responses"
+}
```
**After**
config.yaml
-```
+```yaml
rules:
- Always give concise responses
```
@@ -214,7 +219,7 @@ config.json
config.yaml
-```
+```yaml
prompts:
- name: check
description: Check for mistakes in my code
@@ -239,8 +244,14 @@ config.json
```json
{
"docs": [
- { "startUrl": "https://docs.nestjs.com/", "title": "nest.js" },
- { "startUrl": "https://mysite.com/docs/", "title": "My site" }
+ {
+ "startUrl": "https://docs.nestjs.com/",
+ "title": "nest.js"
+ },
+ {
+ "startUrl": "https://mysite.com/docs/",
+ "title": "My site"
+ }
]
}
```
@@ -249,7 +260,7 @@ config.json
config.yaml
-```
+```yaml
docs:
- name: nest.js
startUrl: https://docs.nestjs.com/
@@ -279,8 +290,14 @@ config.json
"transport": {
"type": "stdio",
"command": "uvx",
- "args": ["mcp-server-sqlite", "--db-path", "/Users/NAME/test.db"],
- "env": { "KEY": "" }
+ "args": [
+ "mcp-server-sqlite",
+ "--db-path",
+ "/Users/NAME/test.db"
+ ],
+ "env": {
+ "KEY": ""
+ }
}
}
]
@@ -292,7 +309,7 @@ config.json
config.yaml
-```
+```yaml
mcpServers:
- name: My MCP Server
command: uvx
@@ -308,13 +325,11 @@ mcpServers:
## 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`.
+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.
-See the [JSON Config Reference](/reference) for more information on fully deprecated options.
+The following top-level fields from config.json have been deprecated and don't have a config.yaml equivalent:
-The following top-level fields from `config.json` still work when using `config.json` but have been deprecated and don't have a YAML equivalent:
-
-- Slash commands (JSON `slashCommands`)
+- Slash commands (`slashCommands`)
- top-level `requestOptions`
@@ -332,7 +347,7 @@ The following top-level fields from `config.json` still work when using `config.
- `analytics`
-The following top-level fields from `config.json` have been deprecated. Most UI-related and user-specific options will move into a settings page in the UI
+The following top-level fields from config.json have been deprecated. Most UI-related and user-specific options will move into a settings page in the UI
- `customCommands`
- `experimental`