Elffuss BraidHub

kikocis/continue public

Replace config.json references with config.yml and remove tabs

- Replaced all references to config.json with config.yml across documentation files
- Removed tabs from configuration examples to show only config.yml examples
- Updated migration guide to reflect config.yml to config.yaml migration path
- Cleaned up configuration documentation to focus on YAML format only

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
Changeset45b5ceceb14378cb5c8b0a84d570242b07603f51350d1745c645573510fab2d0
AuthorContinue Agent <agent@continue.dev> · 2025-09-15 23:28 UTC
CommitterContinue Agent <agent@continue.dev> · 2025-09-15 23:28 UTC
Parentsbe6d0d7446f9

Browse the files at this changeset

8 files changed

modified docs/customize/custom-providers.mdx +0 −183
@@ -19,116 +19,62 @@
1919
2020 Reference any file in your current workspace.
2121
22-- YAML
23-- JSON
24-
2522 config.yaml
2623
2724 ```
2825 context: - provider: file
2926 ```
3027
31-config.json
32-
33-```json
34-{ "contextProviders": [{ "name": "file" }] }
35-```
36-
3728 ### @Code Context Provider – Reference Functions and Classes
3829
3930 Reference specific functions or classes from throughout your project.
4031
41-- YAML
42-- JSON
43-
4432 config.yaml
4533
4634 ```
4735 context: - provider: code
4836 ```
4937
50-config.json
51-
52-```json
53-{ "contextProviders": [{ "name": "code" }] }
54-```
55-
5638 ### @Git Diff Context Provider – Reference Branch Changes
5739
5840 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.
5941
60-- YAML
61-- JSON
62-
6342 config.yaml
6443
6544 ```
6645 context: - provider: diff
6746 ```
6847
69-config.json
70-
71-```json
72-{ "contextProviders": [{ "name": "diff" }] }
73-```
74-
7548 ### @Current File Context Provider – Reference the Active File
7649
7750 Reference the currently open file.
7851
79-- YAML
80-- JSON
81-
8252 config.yaml
8353
8454 ```
8555 context: - provider: currentFile
8656 ```
8757
88-config.json
89-
90-```json
91-{ "contextProviders": [{ "name": "currentFile" }] }
92-```
93-
9458 ### @Terminal Context Provider – Reference Last Terminal Command and Output
9559
9660 Reference the last command you ran in your IDE's terminal and its output.
9761
98-- YAML
99-- JSON
100-
10162 config.yaml
10263
10364 ```
10465 context: - provider: terminal
10566 ```
10667
107-config.json
108-
109-```json
110-{ "contextProviders": [{ "name": "terminal" }] }
111-```
112-
11368 ### @Docs Context Provider – Reference Documentation Site Content
11469
11570 Reference the contents from any documentation site.
11671
117-- YAML
118-- JSON
119-
12072 config.yaml
12173
12274 ```
12375 context: - provider: docs
12476 ```
12577
126-config.json
127-
128-```json
129-{ "contextProviders": [{ "name": "docs" }] }
130-```
131-
13278 Note that this will only enable the `@Docs` context provider.
13379
13480 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 @@
13783
13884 Reference the contents of all of your open files. Set `onlyPinned` to `true` to only reference pinned files.
13985
140-- YAML
141-- JSON
142-
14386 config.yaml
14487
14588 ```
@@ -149,21 +92,12 @@
14992 onlyPinned: true
15093 ```
15194
152-config.json
153-
154-```json
155-{ "contextProviders": [{ "name": "open", "params": { "onlyPinned": true } }] }
156-```
157-
15895 ### @Web Context Provider – Reference Relevant Web Pages
15996
16097 Reference relevant pages from across the web, automatically determined from your input.
16198
16299 Optionally, set `n` to limit the number of results returned (default 6).
163100
164-- YAML
165-- JSON
166-
167101 config.yaml
168102
169103 ```
@@ -173,19 +107,10 @@
173107 n: 5
174108 ```
175109
176-config.json
177-
178-```json
179-{ "contextProviders": [{ "name": "web", "params": { "n": 5 } }] }
180-```
181-
182110 ### @Codebase Context Provider – Reference Relevant Codebase Snippets
183111
184112 Reference the most relevant snippets from your codebase.
185113
186-- YAML
187-- JSON
188-
189114 config.yaml
190115
191116 ```
@@ -193,40 +118,22 @@
193118 - provider: codebase
194119 ```
195120
196-config.json
197-
198-```json
199-{ "contextProviders": [{ "name": "codebase" }] }
200-```
201-
202121 Read more about indexing and retrieval [here](/customize/overview#codebase-context).
203122
204123 ### @Folder Context Provider – Reference Code from a Specific Folder
205124
206125 Uses the same retrieval mechanism as `@Codebase`, but only on a single folder.
207126
208-- YAML
209-- JSON
210-
211127 config.yaml
212128
213129 ```
214130 context: - provider: folder
215131 ```
216132
217-config.json
218-
219-```json
220-{ "contextProviders": [{ "name": "folder" }] }
221-```
222-
223133 ### @Search Context Provider – Reference Code Search Results
224134
225135 Reference the results of codebase search, just like the results you would get from VS Code search.
226136
227-- YAML
228-- JSON
229-
230137 config.yaml
231138
232139 ```
@@ -236,21 +143,12 @@
236143 maxResults: 100 # optional, defaults to 200
237144 ```
238145
239-config.json
240-
241-```json
242-{ "contextProviders": [ { "name": "search", "params": { "maxResults": 100 // optional, defaults to 200 } } ]}
243-```
244-
245146 This context provider is powered by [ripgrep](https://github.com/BurntSushi/ripgrep).
246147
247148 ### @Url Context Provider – Reference Content from a URL
248149
249150 Reference the markdown converted contents of a given URL.
250151
251-- YAML
252-- JSON
253-
254152 config.yaml
255153
256154 ```
@@ -258,19 +156,10 @@
258156 - provider: url
259157 ```
260158
261-config.json
262-
263-```json
264-{ "contextProviders": [{ "name": "url" }] }
265-```
266-
267159 ### @Clipboard Context Provider – Reference Clipboard Items
268160
269161 Reference recent clipboard items
270162
271-- YAML
272-- JSON
273-
274163 config.yaml
275164
276165 ```
@@ -278,19 +167,10 @@
278167 - provider: clipboard
279168 ```
280169
281-config.json
282-
283-```json
284-{ "contextProviders": [{ "name": "clipboard" }] }
285-```
286-
287170 ### @Tree Context Provider – Reference Workspace File Structure
288171
289172 Reference the structure of your current workspace.
290173
291-- YAML
292-- JSON
293-
294174 config.yaml
295175
296176 ```
@@ -298,19 +178,10 @@
298178 - provider: tree
299179 ```
300180
301-config.json
302-
303-```json
304-{ "contextProviders": [{ "name": "tree" }] }
305-```
306-
307181 ### @Problems Context Provider – Reference Problems in the Current File
308182
309183 Get Problems from the current file.
310184
311-- YAML
312-- JSON
313-
314185 config.yaml
315186
316187 ```
@@ -318,19 +189,10 @@
318189 - provider: problems
319190 ```
320191
321-config.json
322-
323-```json
324-{ "contextProviders": [{ "name": "problems" }] }
325-```
326-
327192 ### @Debugger Context Provider – Reference Debugger Local Variables
328193
329194 Reference the contents of the local variables in the debugger. Currently only available in VS Code.
330195
331-- YAML
332-- JSON
333-
334196 config.yaml
335197
336198 ```
@@ -340,12 +202,6 @@
340202 stackDepth: 3
341203 ```
342204
343-config.json
344-
345-```json
346-{ "contextProviders": [{ "name": "debugger", "params": { "stackDepth": 3 } }] }
347-```
348-
349205 Uses the top _n_ levels (defaulting to 3) of the call stack for that thread.
350206
351207 ### @Repository Map Context Provider – Reference Codebase Outline and Signatures
@@ -354,9 +210,6 @@
354210
355211 `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.
356212
357-- YAML
358-- JSON
359-
360213 config.yaml
361214
362215 ```
@@ -366,12 +219,6 @@
366219 includeSignatures: false # default true
367220 ```
368221
369-config.json
370-
371-```json
372-{ "contextProviders": [ { "name": "repo-map", "params": { "includeSignatures": false // default true } } ]}
373-```
374-
375222 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.
376223
377224 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 @@
382229
383230 Reference the architecture and platform of your current operating system.
384231
385-- YAML
386-- JSON
387-
388232 config.yaml
389233
390234 ```
@@ -392,19 +236,10 @@
392236 - provider: os
393237 ```
394238
395-config.json
396-
397-```json
398-{ "contextProviders": [{ "name": "os" }] }
399-```
400-
401239 ### Using the Model Context Protocol (MCP) in Continue
402240
403241 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:
404242
405-- YAML
406-- JSON
407-
408243 config.yaml
409244
410245 ```
@@ -417,24 +252,6 @@
417252 - /Users/NAME/test.db
418253 ```
419254
420-config.json
421-
422-```json
423-{
424- "experimental": {
425- "modelContextProtocolServers": [
426- {
427- "transport": {
428- "type": "stdio",
429- "command": "uvx",
430- "args": ["mcp-server-sqlite", "--db-path", "/Users/NAME/test.db"]
431- }
432- }
433- ]
434- }
435-}
436-```
437-
438255 You'll then be able to type "@" and see "MCP" in the context providers dropdown.
439256
440257 ### How to Request a New Context Provider in Continue
modified docs/customize/deep-dives/custom-providers.mdx +71 −299
@@ -15,251 +15,95 @@
1515
1616 Reference any file in your current workspace.
1717
18-<Tabs>
19- <Tab title="YAML">
20- ```yaml config.yaml
21- context:
22- - provider: file
23- ```
24- </Tab>
25- <Tab title="JSON (Deprecated)">
26- ```json config.json
27- {
28- "contextProviders": [
29- {
30- "name": "file"
31- }
32- ]
33- }
34- ```
35- </Tab>
36-</Tabs>
18+```yaml config.yaml
19+context:
20+ - provider: file
21+```
3722
3823 ### `@Code`
3924
4025 Reference specific functions or classes from throughout your project.
4126
42-<Tabs>
43- <Tab title="YAML">
44- ```yaml config.yaml
45- context:
46- - provider: code
47- ```
48- </Tab>
49- <Tab title="JSON (Deprecated)">
50- ```json config.json
51- {
52- "contextProviders": [
53- {
54- "name": "code"
55- }
56- ]
57- }
58- ```
59- </Tab>
60-</Tabs>
27+```yaml config.yaml
28+context:
29+ - provider: code
30+```
6131
6232 ### `@Git Diff`
6333
6434 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.
6535
66-<Tabs>
67- <Tab title="YAML">
68- ```yaml config.yaml
69- context:
70- - provider: diff
71- ```
72- </Tab>
73- <Tab title="JSON (Deprecated)">
74- ```json config.json
75- {
76- "contextProviders": [
77- {
78- "name": "diff"
79- }
80- ]
81- }
82- ```
83- </Tab>
84-</Tabs>
36+```yaml config.yaml
37+context:
38+ - provider: diff
39+```
8540
8641 ### `@Current File`
8742
8843 Reference the currently open file.
8944
90-<Tabs>
91- <Tab title="YAML">
92- ```yaml config.yaml
93- context:
94- - provider: currentFile
95- ```
96- </Tab>
97- <Tab title="JSON (Deprecated)">
98- ```json config.json
99- {
100- "contextProviders": [
101- {
102- "name": "currentFile"
103- }
104- ]
105- }
106- ```
107- </Tab>
108-</Tabs>
45+```yaml config.yaml
46+context:
47+ - provider: currentFile
48+```
10949
11050 ### `@Terminal`
11151
11252 Reference the last command you ran in your IDE's terminal and its output.
11353
114-<Tabs>
115- <Tab title="YAML">
116- ```yaml config.yaml
117- context:
118- - provider: terminal
119- ```
120- </Tab>
121- <Tab title="JSON (Deprecated)">
122- ```json config.json
123- {
124- "contextProviders": [
125- {
126- "name": "terminal"
127- }
128- ]
129- }
130- ```
131- </Tab>
132-</Tabs>
54+```yaml config.yaml
55+context:
56+ - provider: terminal
57+```
13358
13459 ### `@Open`
13560
13661 Reference the contents of all of your open files. Set `onlyPinned` to `true` to only reference pinned files.
13762
138-<Tabs>
139- <Tab title="YAML">
140- ```yaml config.yaml
141- context:
142- - provider: open
143- params:
144- onlyPinned: true
145- ```
146- </Tab>
147- <Tab title="JSON (Deprecated)">
148- ```json config.json
149- {
150- "contextProviders": [
151- {
152- "name": "open",
153- "params": {
154- "onlyPinned": true
155- }
156- }
157- ]
158- }
159- ```
160- </Tab>
161-</Tabs>
63+```yaml config.yaml
64+context:
65+ - provider: open
66+ params:
67+ onlyPinned: true
68+```
16269
16370 ### `@Clipboard`
16471
16572 Reference recent clipboard items
16673
167-<Tabs>
168- <Tab title="YAML">
169- ```yaml config.yaml
170- context:
171- - provider: clipboard
172- ```
173- </Tab>
174- <Tab title="JSON (Deprecated)">
175- ```json config.json
176- {
177- "contextProviders": [
178- {
179- "name": "clipboard"
180- }
181- ]
182- }
183- ```
184- </Tab>
185-</Tabs>
74+```yaml config.yaml
75+context:
76+ - provider: clipboard
77+```
18678
18779 ### `@Tree`
18880
18981 Reference the structure of your current workspace.
19082
191-<Tabs>
192- <Tab title="YAML">
193- ```yaml config.yaml
194- context:
195- - provider: tree
196- ```
197- </Tab>
198- <Tab title="JSON (Deprecated)">
199- ```json config.json
200- {
201- "contextProviders": [
202- {
203- "name": "tree"
204- }
205- ]
206- }
207- ```
208- </Tab>
209-</Tabs>
83+```yaml config.yaml
84+context:
85+ - provider: tree
86+```
21087
21188 ### `@Problems`
21289
21390 Get Problems from the current file.
21491
215-<Tabs>
216- <Tab title="YAML">
217- ```yaml config.yaml
218- context:
219- - provider: problems
220- ```
221- </Tab>
222- <Tab title="JSON (Deprecated)">
223- ```json config.json
224- {
225- "contextProviders": [
226- {
227- "name": "problems"
228- }
229- ]
230- }
231- ```
232- </Tab>
233-</Tabs>
92+```yaml config.yaml
93+context:
94+ - provider: problems
95+```
23496
23597 ### `@Debugger`
23698
23799 Reference the contents of the local variables in the debugger. Currently only available in VS Code.
238100
239-<Tabs>
240- <Tab title="YAML">
241- ```yaml config.yaml
242- context:
243- - provider: debugger
244- params:
245- stackDepth: 3
246- ```
247- </Tab>
248- <Tab title="JSON (Deprecated)">
249- ```json config.json
250- {
251- "contextProviders": [
252- {
253- "name": "debugger",
254- "params": {
255- "stackDepth": 3
256- }
257- }
258- ]
259- }
260- ```
261- </Tab>
262-</Tabs>
101+```yaml config.yaml
102+context:
103+ - provider: debugger
104+ params:
105+ stackDepth: 3
106+```
263107
264108 Uses the top _n_ levels (defaulting to 3) of the call stack for that thread.
265109
@@ -269,30 +113,12 @@
269113
270114 `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.
271115
272-<Tabs>
273- <Tab title="YAML">
274- ```yaml config.yaml
275- context:
276- - provider: repo-map
277- params:
278- includeSignatures: false # default true
279- ```
280- </Tab>
281- <Tab title="JSON (Deprecated)">
282- ```json config.json
283- {
284- "contextProviders": [
285- {
286- "name": "repo-map",
287- "params": {
288- "includeSignatures": false // default true
289- }
290- }
291- ]
292- }
293- ```
294- </Tab>
295-</Tabs>
116+```yaml config.yaml
117+context:
118+ - provider: repo-map
119+ params:
120+ includeSignatures: false # default true
121+```
296122
297123 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.
298124
@@ -304,56 +130,23 @@
304130
305131 Reference the architecture and platform of your current operating system.
306132
307-<Tabs>
308- <Tab title="YAML">
309- ```yaml config.yaml
310- context:
311- - provider: os
312- ```
313- </Tab>
314- <Tab title="JSON (Deprecated)">
315- ```json config.json
316- {
317- "contextProviders": [
318- {
319- "name": "os"
320- }
321- ]
322- }
323- ```
324- </Tab>
325-</Tabs>
133+```yaml config.yaml
134+context:
135+ - provider: os
136+```
326137
327138 ### `@HTTP`
328139
329140 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.
330141
331-<Tabs>
332- <Tab title="YAML">
333- ```yaml config.yaml
334- context:
335- - provider: http
336- params:
337- url: "https://api.example.com/v1/users"
338- headers:
339- - Authorization: "Bearer <token>"
340- ```
341- </Tab>
342- <Tab title="JSON (Deprecated)">
343- ```json config.json
344- {
345- "contextProviders": [
346- {
347- "name": "http",
348- "params": {
349- "url": "https://api.example.com/v1/users"
350- }
351- }
352- ]
353- }
354- ```
355- </Tab>
356-</Tabs>
142+```yaml config.yaml
143+context:
144+ - provider: http
145+ params:
146+ url: "https://api.example.com/v1/users"
147+ headers:
148+ - Authorization: "Bearer <token>"
149+```
357150
358151 The receiving URL should expect to receive the following parameters:
359152
@@ -375,36 +168,15 @@
375168
376169 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:
377170
378-<Tabs>
379- <Tab title="YAML">
380- ```yaml config.yaml
381- mcpServers:
382- - name: My MCP Server
383- command: uvx
384- args:
385- - mcp-server-sqlite
386- - --db-path
387- - /Users/NAME/test.db
388- ```
389- </Tab>
390- <Tab title="JSON (Deprecated)">
391- ```json config.json
392- {
393- "experimental": {
394- "modelContextProtocolServers": [
395- {
396- "transport": {
397- "type": "stdio",
398- "command": "uvx",
399- "args": ["mcp-server-sqlite", "--db-path", "/Users/NAME/test.db"]
400- }
401- }
402- ]
403- }
404- }
405- ```
406- </Tab>
407-</Tabs>
171+```yaml config.yaml
172+mcpServers:
173+ - name: My MCP Server
174+ command: uvx
175+ args:
176+ - mcp-server-sqlite
177+ - --db-path
178+ - /Users/NAME/test.db
179+```
408180
409181 You'll then be able to type "@" and see "MCP" in the context providers dropdown.
410182
modified docs/customize/deep-dives/slash-commands.mdx +1 −1
@@ -14,7 +14,7 @@
1414
1515 <Note>
1616 **Recommended approach**: Use prompt files to create slash commands instead of
17- the deprecated `config.json` approach. The methods described below provide
17+ the deprecated config.yml approach. The methods described below provide
1818 better flexibility and are the actively maintained ways to add custom
1919 commands.
2020 </Note>
modified docs/customize/model-roles/chat.mdx +0 −174
@@ -36,20 +36,6 @@
3636 apiKey: <YOUR_ANTHROPIC_API_KEY>
3737 ```
3838 </Tab>
39- <Tab title="JSON">
40- ```json title="config.json"
41- {
42- "models": [
43- {
44- "title": "Claude Opus 4.1",
45- "provider": "anthropic",
46- "model": "claude-4-1-opus",
47- "apiKey": "<YOUR_ANTHROPIC_API_KEY>"
48- }
49- ]
50- }
51- ```
52- </Tab>
5339 </Tabs>
5440
5541 ### Gemma from Google DeepMind
@@ -88,37 +74,6 @@
8874 </Tab>
8975 </Tabs>
9076 </Tab>
91- <Tab title="JSON">
92- <Tabs>
93- <Tab title="Ollama">
94- ```json title="config.json"
95- {
96- "models": [
97- {
98- "title": "Gemma 3 27B",
99- "provider": "ollama",
100- "model": "gemma3:27b"
101- }
102- ]
103- }
104- ```
105- </Tab>
106- <Tab title="Together">
107- ```json title="config.json"
108- {
109- "models": [
110- {
111- "title": "Gemma 3 27B",
112- "provider": "together",
113- "model": "google/gemma-2-27b-it",
114- "apiKey": "<YOUR_TOGETHER_API_KEY>"
115- }
116- ]
117- }
118- ```
119- </Tab>
120- </Tabs>
121- </Tab>
12277 </Tabs>
12378
12479 ### GPT-4o from OpenAI
@@ -138,20 +93,6 @@
13893 apiKey: <YOUR_OPENAI_API_KEY>
13994 ```
14095 </Tab>
141- <Tab title="JSON">
142- ```json title="config.json"
143- {
144- "models": [
145- {
146- "title": "GPT-4o",
147- "provider": "openai",
148- "model": "",
149- "apiKey": "<YOUR_OPENAI_API_KEY>"
150- }
151- ]
152- }
153- ```
154- </Tab>
15596 </Tabs>
15697
15798 ### Grok-2 from xAI
@@ -171,20 +112,6 @@
171112 apiKey: <YOUR_XAI_API_KEY>
172113 ```
173114 </Tab>
174- <Tab title="JSON">
175- ```json title="config.json"
176- {
177- "models": [
178- {
179- "title": "Grok-2",
180- "provider": "xAI",
181- "model": "grok-2-latest",
182- "apiKey": "<YOUR_XAI_API_KEY>"
183- }
184- ]
185- }
186- ```
187- </Tab>
188115 </Tabs>
189116
190117 ### Gemini 2.0 Flash from Google
@@ -204,20 +131,6 @@
204131 apiKey: <YOUR_GEMINI_API_KEY>
205132 ```
206133 </Tab>
207- <Tab title="JSON">
208- ```json title="config.json"
209- {
210- "models": [
211- {
212- "title": "Gemini 2.0 Flash",
213- "provider": "gemini",
214- "model": "gemini-2.0-flash",
215- "apiKey": "<YOUR_GEMINI_API_KEY>"
216- }
217- ]
218- }
219- ```
220- </Tab>
221134 </Tabs>
222135
223136 ## Local, offline experience
@@ -268,49 +181,6 @@
268181 </Tab>
269182 </Tabs>
270183 </Tab>
271- <Tab title="JSON">
272- <Tabs>
273- <Tab title="Ollama">
274- ```json title="config.json"
275- {
276- "models": [
277- {
278- "title": "Llama 3.1 8B",
279- "provider": "ollama",
280- "model": "llama3.1:8b"
281- }
282- ]
283- }
284- ```
285- </Tab>
286- <Tab title="LM Studio">
287- ```json title="config.json"
288- {
289- "models": [
290- {
291- "title": "Llama 3.1 8B",
292- "provider": "lmstudio",
293- "model": "llama3.1-8b"
294- }
295- ]
296- }
297- ```
298- </Tab>
299- <Tab title="Msty">
300- ```json title="config.json"
301- {
302- "models": [
303- {
304- "title": "Llama 3.1 8B",
305- "provider": "msty",
306- "model": "llama3.1-8b"
307- }
308- ]
309- }
310- ```
311- </Tab>
312- </Tabs>
313- </Tab>
314184 </Tabs>
315185
316186 ### DeepSeek Coder 2 16B
@@ -357,50 +227,6 @@
357227 </Tab>
358228 </Tabs>
359229 </Tab>
360- <Tab title="JSON">
361- <Tabs>
362- <Tab title="Ollama">
363- ```json title="config.json"
364- {
365- "models": [
366- {
367- "title": "DeepSeek Coder 2 16B",
368- "provider": "ollama",
369- "model": "deepseek-coder-v2:16b",
370- "apiBase": "http://localhost:11434"
371- }
372- ]
373- }
374- ```
375- </Tab>
376- <Tab title="LM Studio">
377- ```json title="config.json"
378- {
379- "models": [
380- {
381- "title": "DeepSeek Coder 2 16B",
382- "provider": "lmstudio",
383- "model": "deepseek-coder-v2:16b"
384- }
385- ]
386- }
387- ```
388- </Tab>
389- <Tab title="Msty">
390- ```json title="config.json"
391- {
392- "models": [
393- {
394- "title": "DeepSeek Coder 2 16B",
395- "provider": "msty",
396- "model": "deepseek-coder-v2:16b"
397- }
398- ]
399- }
400- ```
401- </Tab>
402- </Tabs>
403- </Tab>
404230 </Tabs>
405231
406232 ## Other experiences
modified docs/customize/model-roles/edit.mdx +9 −32
@@ -10,38 +10,15 @@
1010
1111 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.
1212
13-<Tabs>
14- <Tab title="YAML">
15- Use model roles.
16- ```yaml title="config.yaml"
17- models:
18- - name: Claude 3.5 Sonnet
19- provider: anthropic
20- model: claude-3-5-sonnet-latest
21- apiKey: <YOUR_ANTHROPIC_API_KEY>
22- roles:
23- - edit
24- ```
25- </Tab>
26- <Tab title="JSON">
27- Set the `experimental.modelRoles.inlineEdit` property in `config.json`.
28- ```json title="config.json"
29- {
30- "models": {
31- "name": "Claude 3.5 Sonnet",
32- "provider": "anthropic",
33- "model": "claude-3-5-sonnet-latest",
34- "apiKey": "<YOUR_ANTHROPIC_API_KEY>"
35- },
36- "experimental": {
37- "modelRoles": {
38- "inlineEdit": "Claude 3.5 Sonnet",
39- }
40- }
41- }
42- ```
43- </Tab>
44-</Tabs>
13+```yaml title="config.yaml"
14+models:
15+ - name: Claude 3.5 Sonnet
16+ provider: anthropic
17+ model: claude-3-5-sonnet-latest
18+ apiKey: <YOUR_ANTHROPIC_API_KEY>
19+ roles:
20+ - edit
21+```
4522
4623 Explore edit models in [the hub](https://hub.continue.dev/explore/models?roles=edit). Generally, our recommendations for Edit overlap with recommendations for Chat.
4724
modified docs/customize/model-roles/reranking.mdx +1 −52
@@ -36,19 +36,6 @@
3636 - rerank
3737 ```
3838 </Tab>
39- <Tab title="JSON">
40- ```json title="config.json"
41- {
42- "reranker": {
43- "name": "voyage",
44- "params": {
45- "model": "rerank-2",
46- "apiKey": "<YOUR_VOYAGE_API_KEY>"
47- }
48- }
49- }
50- ```
51- </Tab>
5239 </Tabs>
5340
5441 ### Cohere
@@ -71,19 +58,6 @@
7158 - rerank
7259 ```
7360 </Tab>
74- <Tab title="JSON">
75- ```json title="config.json"
76- {
77- "reranker": {
78- "name": "cohere",
79- "params": {
80- "model": "rerank-english-v3.0",
81- "apiKey": "<YOUR_COHERE_API_KEY>"
82- }
83- }
84- }
85- ```
86- </Tab>
8761 </Tabs>
8862
8963 ### LLM
@@ -105,21 +79,9 @@
10579 - rerank
10680 ```
10781 </Tab>
108- <Tab title="JSON">
109- ```json title="config.json"
110- {
111- "reranker": {
112- "name": "llm",
113- "params": {
114- "modelTitle": "My Model Title"
115- }
116- }
117- }
118- ```
119- </Tab>
12082 </Tabs>
12183
122-The `"modelTitle"` field must match one of the models in your "models" array in config.json.
84+
12385
12486 ### Text Embeddings Inference
12587
@@ -142,17 +104,4 @@
142104 - rerank
143105 ```
144106 </Tab>
145- <Tab title="JSON">
146- ```json title="config.json"
147- {
148- "reranker": {
149- "name": "huggingface-tei",
150- "params": {
151- "apiBase": "http://localhost:8080",
152- "apiKey": "<YOUR_TEI_API_KEY>"
153- }
154- }
155- }
156- ```
157- </Tab>
158107 </Tabs>
modified docs/reference.mdx +1 −1
@@ -14,7 +14,7 @@
1414 - in your workspace in a `/.continue/agents` folder, with the same naming convention
1515
1616 <Info>
17- Config YAML replaces `config.json`, which is deprecated. View the **[Migration
17+ Config YAML replaces `config.yml`, which is deprecated. View the **[Migration
1818 Guide](/reference/yaml-migration)**.
1919 </Info>
2020
modified docs/reference/yaml-migration.mdx +92 −95
@@ -1,17 +1,16 @@
11 ---
22 title: "Migrating Config to YAML"
3-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 ."
3+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.yml to config.yaml."
44 ---
55
66 See also
77
88 - [Intro to YAML](https://yaml.org/)
9-- [JSON Continue Config Reference](/reference)
109 - [YAML Continue Config Reference](/reference)
1110
1211 ## Create YAML file
1312
14-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`.
13+Create a `config.yaml` file in your Continue Global Directory (`~/.continue` on Mac, `%USERPROFILE%\.continue`) alongside your current config.yml file. If a `config.yaml` file is present, it will be loaded instead of config.yml.
1514
1615 Give your configuration a `name` and a `version`:
1716
@@ -43,44 +42,42 @@
4342
4443 **Before**
4544
46-config.json
47-
48-```json
49-{
50- "models": [
51- {
52- "title": "GPT-4",
53- "provider": "openai",
54- "model": "gpt-4",
55- "apiKey": "<YOUR_OPENAI_API_KEY>",
56- "completionOptions": { "temperature": 0.5, "maxTokens": 2000 }
57- },
58- { "title": "Ollama", "provider": "ollama", "model": "AUTODETECT" },
59- {
60- "title": "My Open AI Compatible Model",
61- "provider": "openai",
62- "apiBase": "http://3.3.3.3/v1",
63- "model": "my-openai-compatible-model",
64- "requestOptions": { "headers": { "X-Auth-Token": "<API_KEY>" } }
65- }
66- ],
67- "tabAutocompleteModel": {
68- "title": "My Starcoder",
69- "provider": "ollama",
70- "model": "starcoder2:3b"
71- },
72- "embeddingsProvider": {
73- "provider": "openai",
74- "model": "text-embedding-ada-002",
75- "apiKey": "<YOUR_OPENAI_API_KEY>",
76- "maxEmbeddingChunkSize": 256,
77- "maxEmbeddingBatchSize": 5
78- },
79- "reranker": {
80- "name": "voyage",
81- "params": { "model": "rerank-2", "apiKey": "<YOUR_VOYAGE_API_KEY>" }
82- }
83-}
45+config.yml
46+
47+```yaml
48+models:
49+ - title: GPT-4
50+ provider: openai
51+ model: gpt-4
52+ apiKey: <YOUR_OPENAI_API_KEY>
53+ completionOptions:
54+ temperature: 0.5
55+ maxTokens: 2000
56+ - title: Ollama
57+ provider: ollama
58+ model: AUTODETECT
59+ - title: My Open AI Compatible Model
60+ provider: openai
61+ apiBase: http://3.3.3.3/v1
62+ model: my-openai-compatible-model
63+ requestOptions:
64+ headers:
65+ X-Auth-Token: <API_KEY>
66+tabAutocompleteModel:
67+ title: My Starcoder
68+ provider: ollama
69+ model: starcoder2:3b
70+embeddingsProvider:
71+ provider: openai
72+ model: text-embedding-ada-002
73+ apiKey: <YOUR_OPENAI_API_KEY>
74+ maxEmbeddingChunkSize: 256
75+ maxEmbeddingBatchSize: 5
76+reranker:
77+ name: voyage
78+ params:
79+ model: rerank-2
80+ apiKey: <YOUR_VOYAGE_API_KEY>
8481 ```
8582
8683 **After**
@@ -143,16 +140,17 @@
143140
144141 **Before**
145142
146-config.json
143+config.yml
147144
148-```json
149-{
150- "contextProviders": [
151- { "name": "docs" },
152- { "name": "codebase", "params": { "nRetrieve": 30, "nFinal": 3 } },
153- { "name": "diff", "params": {} }
154- ]
155-}
145+```yaml
146+contextProviders:
147+ - name: docs
148+ - name: codebase
149+ params:
150+ nRetrieve: 30
151+ nFinal: 3
152+ - name: diff
153+ params: {}
156154 ```
157155
158156 **After**
@@ -175,10 +173,10 @@
175173
176174 **Before**
177175
178-config.json
176+config.yml
179177
180-```json
181-{ "systemMessage": "Always give concise responses" }
178+```yaml
179+systemMessage: Always give concise responses
182180 ```
183181
184182 **After**
@@ -196,18 +194,23 @@
196194
197195 **Before**
198196
199-config.json
197+config.yml
198+
199+```yaml
200+customCommands:
201+ - name: check
202+ description: Check for mistakes in my code
203+ prompt: |
204+ {{{ input }}}
205+
206+ Please read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant:
207+ - Syntax errors
208+ - Logic errors
209+ - Security vulnerabilities
210+ - Performance issues
211+ - Anything else that looks wrong
200212
201-```json
202-{
203- "customCommands": [
204- {
205- "name": "check",
206- "description": "Check for mistakes in my code",
207- "prompt": "{{{ input }}}\n\nPlease read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant:\n- Syntax errors\n- Logic errors\n- Security vulnerabilities\n- Performance issues\n- Anything else that looks wrong\n\nOnce you find an error, please explain it as clearly as possible, but without using extra words. For example, instead of saying 'I think there is a syntax error on line 5', you should say 'Syntax error on line 5'. Give your answer as one bullet point per mistake found."
208- }
209- ]
210-}
213+ Once you find an error, please explain it as clearly as possible, but without using extra words. For example, instead of saying 'I think there is a syntax error on line 5', you should say 'Syntax error on line 5'. Give your answer as one bullet point per mistake found.
211214 ```
212215
213216 **After**
@@ -234,15 +237,14 @@
234237
235238 **Before**
236239
237-config.json
240+config.yml
238241
239-```json
240-{
241- "docs": [
242- { "startUrl": "https://docs.nestjs.com/", "title": "nest.js" },
243- { "startUrl": "https://mysite.com/docs/", "title": "My site" }
244- ]
245-}
242+```yaml
243+docs:
244+ - startUrl: https://docs.nestjs.com/
245+ title: nest.js
246+ - startUrl: https://mysite.com/docs/
247+ title: My site
246248 ```
247249
248250 **After**
@@ -269,23 +271,20 @@
269271
270272 **Before**
271273
272-config.json
273-
274-```json
275-{
276- "experimental": {
277- "modelContextProtocolServers": [
278- {
279- "transport": {
280- "type": "stdio",
281- "command": "uvx",
282- "args": ["mcp-server-sqlite", "--db-path", "/Users/NAME/test.db"],
283- "env": { "KEY": "<VALUE>" }
284- }
285- }
286- ]
287- }
288-}
274+config.yml
275+
276+```yaml
277+experimental:
278+ modelContextProtocolServers:
279+ - transport:
280+ type: stdio
281+ command: uvx
282+ args:
283+ - mcp-server-sqlite
284+ - --db-path
285+ - /Users/NAME/test.db
286+ env:
287+ KEY: <VALUE>
289288 ```
290289
291290 **After**
@@ -308,13 +307,11 @@
308307
309308 ## Deprecated configuration options
310309
311-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`.
312-
313-See the [JSON Config Reference](/reference) for more information on fully deprecated options.
310+Some deprecated config.yml settings are no longer stored in config and have been moved to be editable through the user settings (Gear Icon). If found in config.yml, they will be auto-migrated to User Settings and removed from config.yml.
314311
315-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:
312+The following top-level fields from config.yml have been deprecated and don't have a config.yaml equivalent:
316313
317-- Slash commands (JSON `slashCommands`)
314+- Slash commands (`slashCommands`)
318315
319316 - top-level `requestOptions`
320317
@@ -332,7 +329,7 @@
332329
333330 - `analytics`
334331
335-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
332+The following top-level fields from config.yml have been deprecated. Most UI-related and user-specific options will move into a settings page in the UI
336333
337334 - `customCommands`
338335 - `experimental`