Changesets · Branches · Tags · Compare
| Changeset | 86e6e4020f32e37b079847065ee3bfa0ac29851e72e2ae39a1dc57ce30a9b385 |
|---|---|
| Author | Ting-Wai <40179554+tingwai@users.noreply.github.com> · 2025-07-21 10:41 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-07-21 10:41 -07:00 |
| Parents | df03007bc9c2 |
9 files changed
modified docs/customize/custom-providers.mdx +125 −24
| @@ -143,7 +143,10 @@ | ||
| 143 | 143 | config.yaml |
| 144 | 144 | |
| 145 | 145 | ``` |
| 146 | -context: - provider: open params: onlyPinned: true | |
| 146 | +context: | |
| 147 | + - provider: open | |
| 148 | + params: | |
| 149 | + onlyPinned: true | |
| 147 | 150 | ``` |
| 148 | 151 | |
| 149 | 152 | config.json |
| @@ -164,7 +167,10 @@ | ||
| 164 | 167 | config.yaml |
| 165 | 168 | |
| 166 | 169 | ``` |
| 167 | -context: - provider: web params: n: 5 | |
| 170 | +context: | |
| 171 | + - provider: web | |
| 172 | + params: | |
| 173 | + n: 5 | |
| 168 | 174 | ``` |
| 169 | 175 | |
| 170 | 176 | config.json |
| @@ -183,7 +189,8 @@ | ||
| 183 | 189 | config.yaml |
| 184 | 190 | |
| 185 | 191 | ``` |
| 186 | -context: - provider: codebase | |
| 192 | +context: | |
| 193 | + - provider: codebase | |
| 187 | 194 | ``` |
| 188 | 195 | |
| 189 | 196 | config.json |
| @@ -223,7 +230,10 @@ | ||
| 223 | 230 | config.yaml |
| 224 | 231 | |
| 225 | 232 | ``` |
| 226 | -context: - provider: search params: maxResults: 100 # optional, defaults to 200 | |
| 233 | +context: | |
| 234 | + - provider: search | |
| 235 | + params: | |
| 236 | + maxResults: 100 # optional, defaults to 200 | |
| 227 | 237 | ``` |
| 228 | 238 | |
| 229 | 239 | config.json |
| @@ -244,7 +254,8 @@ | ||
| 244 | 254 | config.yaml |
| 245 | 255 | |
| 246 | 256 | ``` |
| 247 | -context: - provider: url | |
| 257 | +context: | |
| 258 | + - provider: url | |
| 248 | 259 | ``` |
| 249 | 260 | |
| 250 | 261 | config.json |
| @@ -263,7 +274,8 @@ | ||
| 263 | 274 | config.yaml |
| 264 | 275 | |
| 265 | 276 | ``` |
| 266 | -context: - provider: clipboard | |
| 277 | +context: | |
| 278 | + - provider: clipboard | |
| 267 | 279 | ``` |
| 268 | 280 | |
| 269 | 281 | config.json |
| @@ -282,7 +294,8 @@ | ||
| 282 | 294 | config.yaml |
| 283 | 295 | |
| 284 | 296 | ``` |
| 285 | -context: - provider: tree | |
| 297 | +context: | |
| 298 | + - provider: tree | |
| 286 | 299 | ``` |
| 287 | 300 | |
| 288 | 301 | config.json |
| @@ -301,7 +314,8 @@ | ||
| 301 | 314 | config.yaml |
| 302 | 315 | |
| 303 | 316 | ``` |
| 304 | -context: - provider: problems | |
| 317 | +context: | |
| 318 | + - provider: problems | |
| 305 | 319 | ``` |
| 306 | 320 | |
| 307 | 321 | config.json |
| @@ -320,7 +334,10 @@ | ||
| 320 | 334 | config.yaml |
| 321 | 335 | |
| 322 | 336 | ``` |
| 323 | -context: - provider: debugger params: stackDepth: 3 | |
| 337 | +context: | |
| 338 | + - provider: debugger | |
| 339 | + params: | |
| 340 | + stackDepth: 3 | |
| 324 | 341 | ``` |
| 325 | 342 | |
| 326 | 343 | config.json |
| @@ -343,7 +360,10 @@ | ||
| 343 | 360 | config.yaml |
| 344 | 361 | |
| 345 | 362 | ``` |
| 346 | -context: - provider: repo-map params: includeSignatures: false # default true | |
| 363 | +context: | |
| 364 | + - provider: repo-map | |
| 365 | + params: | |
| 366 | + includeSignatures: false # default true | |
| 347 | 367 | ``` |
| 348 | 368 | |
| 349 | 369 | config.json |
| @@ -368,7 +388,8 @@ | ||
| 368 | 388 | config.yaml |
| 369 | 389 | |
| 370 | 390 | ``` |
| 371 | -context: - provider: os | |
| 391 | +context: | |
| 392 | + - provider: os | |
| 372 | 393 | ``` |
| 373 | 394 | |
| 374 | 395 | config.json |
| @@ -387,7 +408,13 @@ | ||
| 387 | 408 | config.yaml |
| 388 | 409 | |
| 389 | 410 | ``` |
| 390 | -mcpServers: - name: My MCP Server command: uvx args: - mcp-server-sqlite - --db-path - /Users/NAME/test.db | |
| 411 | +mcpServers: | |
| 412 | + - name: My MCP Server | |
| 413 | + command: uvx | |
| 414 | + args: | |
| 415 | + - mcp-server-sqlite | |
| 416 | + - --db-path | |
| 417 | + - /Users/NAME/test.db | |
| 391 | 418 | ``` |
| 392 | 419 | |
| 393 | 420 | config.json |
| @@ -420,7 +447,13 @@ | ||
| 420 | 447 | config.yaml |
| 421 | 448 | |
| 422 | 449 | ``` |
| 423 | -context: - provider: issue params: repos: - owner: continuedev repo: continue githubToken: ghp_xxx | |
| 450 | +context: | |
| 451 | + - provider: issue | |
| 452 | + params: | |
| 453 | + repos: | |
| 454 | + - owner: continuedev | |
| 455 | + repo: continue | |
| 456 | + githubToken: ghp_xxx | |
| 424 | 457 | ``` |
| 425 | 458 | |
| 426 | 459 | config.json |
| @@ -451,7 +484,29 @@ | ||
| 451 | 484 | config.yaml |
| 452 | 485 | |
| 453 | 486 | ``` |
| 454 | -context: - provider: database params: connections: - name: examplePostgres connection_type: postgres connection: user: username host: localhost database: exampleDB password: yourPassword port: 5432 - name: exampleMssql connection_type: mssql connection: user: username server: localhost database: exampleDB password: yourPassword - name: exampleSqlite connection_type: sqlite connection: filename: /path/to/your/sqlite/database.db | |
| 487 | +context: | |
| 488 | + - provider: database | |
| 489 | + params: | |
| 490 | + connections: | |
| 491 | + - name: examplePostgres | |
| 492 | + connection_type: postgres | |
| 493 | + connection: | |
| 494 | + user: username | |
| 495 | + host: localhost | |
| 496 | + database: exampleDB | |
| 497 | + password: yourPassword | |
| 498 | + port: 5432 | |
| 499 | + - name: exampleMssql | |
| 500 | + connection_type: mssql | |
| 501 | + connection: | |
| 502 | + user: username | |
| 503 | + server: localhost | |
| 504 | + database: exampleDB | |
| 505 | + password: yourPassword | |
| 506 | + - name: exampleSqlite | |
| 507 | + connection_type: sqlite | |
| 508 | + connection: | |
| 509 | + filename: /path/to/your/sqlite/database.db | |
| 455 | 510 | ``` |
| 456 | 511 | |
| 457 | 512 | config.json |
| @@ -514,7 +569,16 @@ | ||
| 514 | 569 | config.yaml |
| 515 | 570 | |
| 516 | 571 | ``` |
| 517 | -context: - provider: postgres params: host: localhost port: 5436 user: myuser password: catsarecool database: animals schema: public sampleRows: 3 | |
| 572 | +context: | |
| 573 | + - provider: postgres | |
| 574 | + params: | |
| 575 | + host: localhost | |
| 576 | + port: 5436 | |
| 577 | + user: myuser | |
| 578 | + password: catsarecool | |
| 579 | + database: animals | |
| 580 | + schema: public | |
| 581 | + sampleRows: 3 | |
| 518 | 582 | ``` |
| 519 | 583 | |
| 520 | 584 | config.json |
| @@ -554,7 +618,10 @@ | ||
| 554 | 618 | config.yaml |
| 555 | 619 | |
| 556 | 620 | ``` |
| 557 | -context: - provider: google params: serperApiKey: <YOUR_SERPER.DEV_API_KEY> | |
| 621 | +context: | |
| 622 | + - provider: google | |
| 623 | + params: | |
| 624 | + serperApiKey: <YOUR_SERPER.DEV_API_KEY> | |
| 558 | 625 | ``` |
| 559 | 626 | |
| 560 | 627 | config.json |
| @@ -584,7 +651,10 @@ | ||
| 584 | 651 | config.yaml |
| 585 | 652 | |
| 586 | 653 | ``` |
| 587 | -context: - provider: gitlab-mr params: token: "..." | |
| 654 | +context: | |
| 655 | + - provider: gitlab-mr | |
| 656 | + params: | |
| 657 | + token: "..." | |
| 588 | 658 | ``` |
| 589 | 659 | |
| 590 | 660 | config.json |
| @@ -605,7 +675,11 @@ | ||
| 605 | 675 | config.yaml |
| 606 | 676 | |
| 607 | 677 | ``` |
| 608 | -context: - provider: gitlab-mr params: token: "..." domain: "gitlab.example.com" | |
| 678 | +context: | |
| 679 | + - provider: gitlab-mr | |
| 680 | + params: | |
| 681 | + token: "..." | |
| 682 | + domain: "gitlab.example.com" | |
| 609 | 683 | ``` |
| 610 | 684 | |
| 611 | 685 | config.json |
| @@ -635,7 +709,11 @@ | ||
| 635 | 709 | config.yaml |
| 636 | 710 | |
| 637 | 711 | ``` |
| 638 | -context: - provider: jira params: domain: company.atlassian.net token: ATATT... | |
| 712 | +context: | |
| 713 | + - provider: jira | |
| 714 | + params: | |
| 715 | + domain: company.atlassian.net | |
| 716 | + token: ATATT... | |
| 639 | 717 | ``` |
| 640 | 718 | |
| 641 | 719 | config.json |
| @@ -663,7 +741,10 @@ | ||
| 663 | 741 | config.yaml |
| 664 | 742 | |
| 665 | 743 | ``` |
| 666 | -context: - provider: jira params: apiVersion: "2" | |
| 744 | +context: | |
| 745 | + - provider: jira | |
| 746 | + params: | |
| 747 | + apiVersion: "2" | |
| 667 | 748 | ``` |
| 668 | 749 | |
| 669 | 750 | config.json |
| @@ -696,7 +777,16 @@ | ||
| 696 | 777 | config.yaml |
| 697 | 778 | |
| 698 | 779 | ``` |
| 699 | -context: - provider: discord params: discordKey: "bot token" guildId: "1234567890" channels: - id: "123456" name: "example-channel" - id: "678901" name: "example-channel-2" | |
| 780 | +context: | |
| 781 | + - provider: discord | |
| 782 | + params: | |
| 783 | + discordKey: "bot token" | |
| 784 | + guildId: "1234567890" | |
| 785 | + channels: | |
| 786 | + - id: "123456" | |
| 787 | + name: "example-channel" | |
| 788 | + - id: "678901" | |
| 789 | + name: "example-channel-2" | |
| 700 | 790 | ``` |
| 701 | 791 | |
| 702 | 792 | config.json |
| @@ -731,7 +821,10 @@ | ||
| 731 | 821 | config.yaml |
| 732 | 822 | |
| 733 | 823 | ``` |
| 734 | -context: - provider: http params: url: "https://api.example.com/v1/users" | |
| 824 | +context: | |
| 825 | + - provider: http | |
| 826 | + params: | |
| 827 | + url: "https://api.example.com/v1/users" | |
| 735 | 828 | ``` |
| 736 | 829 | |
| 737 | 830 | config.json |
| @@ -770,7 +863,11 @@ | ||
| 770 | 863 | config.yaml |
| 771 | 864 | |
| 772 | 865 | ``` |
| 773 | -context: - provider: commit params: Depth: 50 LastXCommitsDepth: 10 | |
| 866 | +context: | |
| 867 | + - provider: commit | |
| 868 | + params: | |
| 869 | + Depth: 50 | |
| 870 | + LastXCommitsDepth: 10 | |
| 774 | 871 | ``` |
| 775 | 872 | |
| 776 | 873 | config.json |
| @@ -795,7 +892,11 @@ | ||
| 795 | 892 | config.yaml |
| 796 | 893 | |
| 797 | 894 | ``` |
| 798 | -context: - provider: greptile params: greptileToken: "..." githubToken: "..." | |
| 895 | +context: | |
| 896 | + - provider: greptile | |
| 897 | + params: | |
| 898 | + greptileToken: "..." | |
| 899 | + githubToken: "..." | |
| 799 | 900 | ``` |
| 800 | 901 | |
| 801 | 902 | config.json |
modified docs/guides/custom-code-rag.mdx +7 −1
| @@ -79,7 +79,13 @@ | ||
| 79 | 79 | config.yaml |
| 80 | 80 | |
| 81 | 81 | ``` |
| 82 | -context: - provider: http params: url: https://myserver.com/retrieve name: http description: Custom HTTP Context Provider displayTitle: My Custom Context | |
| 82 | +context: | |
| 83 | + - provider: http | |
| 84 | + params: | |
| 85 | + url: https://myserver.com/retrieve | |
| 86 | + name: http | |
| 87 | + description: Custom HTTP Context Provider | |
| 88 | + displayTitle: My Custom Context | |
| 83 | 89 | ``` |
| 84 | 90 | |
| 85 | 91 | config.json |
modified docs/guides/how-to-self-host-a-model.mdx +21 −3
| @@ -25,7 +25,11 @@ | ||
| 25 | 25 | config.yaml |
| 26 | 26 | |
| 27 | 27 | ``` |
| 28 | -models: - name: Ollama provider: ollama model: llama2-7b apiKey: <YOUR_CUSTOM_OLLAMA_SERVER_API_KEY> | |
| 28 | +models: | |
| 29 | + - name: Ollama | |
| 30 | + provider: ollama | |
| 31 | + model: llama2-7b | |
| 32 | + apiKey: <YOUR_CUSTOM_OLLAMA_SERVER_API_KEY> | |
| 29 | 33 | ``` |
| 30 | 34 | |
| 31 | 35 | config.json |
| @@ -53,7 +57,13 @@ | ||
| 53 | 57 | config.yaml |
| 54 | 58 | |
| 55 | 59 | ``` |
| 56 | -models: - name: Ollama provider: ollama model: llama2-7b requestOptions: headers: X-Auth-Token: xxx | |
| 60 | +models: | |
| 61 | + - name: Ollama | |
| 62 | + provider: ollama | |
| 63 | + model: llama2-7b | |
| 64 | + requestOptions: | |
| 65 | + headers: | |
| 66 | + X-Auth-Token: xxx | |
| 57 | 67 | ``` |
| 58 | 68 | |
| 59 | 69 | config.json |
| @@ -79,7 +89,15 @@ | ||
| 79 | 89 | config.yaml |
| 80 | 90 | |
| 81 | 91 | ``` |
| 82 | -models: - name: Ollama provider: ollama model: llama2-7b requestOptions: clientCertificate: cert: C:\tempollama.pem key: C:\tempollama.key passphrase: c0nt!nu3 | |
| 92 | +models: | |
| 93 | + - name: Ollama | |
| 94 | + provider: ollama | |
| 95 | + model: llama2-7b | |
| 96 | + requestOptions: | |
| 97 | + clientCertificate: | |
| 98 | + cert: C:\tempollama.pem | |
| 99 | + key: C:\tempollama.key | |
| 100 | + passphrase: c0nt!nu3 | |
| 83 | 101 | ``` |
| 84 | 102 | |
| 85 | 103 | config.json |
modified docs/guides/llama3.1.mdx +29 −6
| @@ -21,7 +21,10 @@ | ||
| 21 | 21 | config.yaml |
| 22 | 22 | |
| 23 | 23 | ``` |
| 24 | -models: - name: Llama 3.1 8b provider: ollama model: llama3.1-8b | |
| 24 | +models: | |
| 25 | + - name: Llama 3.1 8b | |
| 26 | + provider: ollama | |
| 27 | + model: llama3.1-8b | |
| 25 | 28 | ``` |
| 26 | 29 | |
| 27 | 30 | config.json |
| @@ -53,7 +56,11 @@ | ||
| 53 | 56 | config.yaml |
| 54 | 57 | |
| 55 | 58 | ``` |
| 56 | -models: - name: Llama 3.3 70b Versatile provider: groq model: llama-3.3-70b-versatile apiKey: <YOUR_GROQ_API_KEY> | |
| 59 | +models: | |
| 60 | + - name: Llama 3.3 70b Versatile | |
| 61 | + provider: groq | |
| 62 | + model: llama-3.3-70b-versatile | |
| 63 | + apiKey: <YOUR_GROQ_API_KEY> | |
| 57 | 64 | ``` |
| 58 | 65 | |
| 59 | 66 | config.json |
| @@ -85,7 +92,11 @@ | ||
| 85 | 92 | config.yaml |
| 86 | 93 | |
| 87 | 94 | ``` |
| 88 | -models: - name: Llama 3.1 405b provider: together model: llama3.1-405b apiKey: <YOUR_TOGETHER_API_KEY> | |
| 95 | +models: | |
| 96 | + - name: Llama 3.1 405b | |
| 97 | + provider: together | |
| 98 | + model: llama3.1-405b | |
| 99 | + apiKey: <YOUR_TOGETHER_API_KEY> | |
| 89 | 100 | ``` |
| 90 | 101 | |
| 91 | 102 | config.json |
| @@ -116,7 +127,11 @@ | ||
| 116 | 127 | config.yaml |
| 117 | 128 | |
| 118 | 129 | ``` |
| 119 | -models: - name: Llama 3.1 405b provider: replicate model: llama3.1-405b apiKey: <YOUR_REPLICATE_API_KEY> | |
| 130 | +models: | |
| 131 | + - name: Llama 3.1 405b | |
| 132 | + provider: replicate | |
| 133 | + model: llama3.1-405b | |
| 134 | + apiKey: <YOUR_REPLICATE_API_KEY> | |
| 120 | 135 | ``` |
| 121 | 136 | |
| 122 | 137 | config.json |
| @@ -148,7 +163,11 @@ | ||
| 148 | 163 | config.yaml |
| 149 | 164 | |
| 150 | 165 | ``` |
| 151 | -models: - name: SambaNova Llama 3.1 405B provider: sambanova model: llama3.1-405b apiKey: <YOUR_SAMBA_API_KEY> | |
| 166 | +models: | |
| 167 | + - name: SambaNova Llama 3.1 405B | |
| 168 | + provider: sambanova | |
| 169 | + model: llama3.1-405b | |
| 170 | + apiKey: <YOUR_SAMBA_API_KEY> | |
| 152 | 171 | ``` |
| 153 | 172 | |
| 154 | 173 | config.json |
| @@ -180,7 +199,11 @@ | ||
| 180 | 199 | config.yaml |
| 181 | 200 | |
| 182 | 201 | ``` |
| 183 | -models: - name: Cerebras Llama 3.1 70B provider: cerebras model: llama3.1-70b apiKey: <YOUR_CEREBRAS_API_KEY> | |
| 202 | +models: | |
| 203 | + - name: Cerebras Llama 3.1 70B | |
| 204 | + provider: cerebras | |
| 205 | + model: llama3.1-70b | |
| 206 | + apiKey: <YOUR_CEREBRAS_API_KEY> | |
| 184 | 207 | ``` |
| 185 | 208 | |
| 186 | 209 | config.json |
modified docs/guides/ollama-guide.mdx +12 −2
| @@ -19,7 +19,14 @@ | ||
| 19 | 19 | Choose the installation method for your operating system: |
| 20 | 20 | |
| 21 | 21 | ``` |
| 22 | -# macOSbrew install ollama# Linuxcurl -fsSL https://ollama.ai/install.sh | sh# Windows# Download from ollama.ai | |
| 22 | +# macOS | |
| 23 | +brew install ollama | |
| 24 | + | |
| 25 | +# Linux | |
| 26 | +curl -fsSL https://ollama.ai/install.sh | sh | |
| 27 | + | |
| 28 | +# Windows | |
| 29 | +# Download from ollama.ai | |
| 23 | 30 | ``` |
| 24 | 31 | |
| 25 | 32 | ### Step 2: Download Models |
| @@ -27,7 +34,10 @@ | ||
| 27 | 34 | After installing Ollama, download the models you want to use. Here are some popular options: |
| 28 | 35 | |
| 29 | 36 | ``` |
| 30 | -# Popular models for developmentollama pull llama2ollama pull codellamaollama pull mistral | |
| 37 | +# Popular models for development | |
| 38 | +ollama pull llama2 | |
| 39 | +ollama pull codellama | |
| 40 | +ollama pull mistral | |
| 31 | 41 | ``` |
| 32 | 42 | |
| 33 | 43 | ## Configuration |
modified docs/guides/set-up-codestral.mdx +9 −1
| @@ -18,7 +18,15 @@ | ||
| 18 | 18 | config.yaml |
| 19 | 19 | |
| 20 | 20 | ``` |
| 21 | -models: - name: Codestral provider: mistral model: codestral-latest apiKey: <YOUR_CODESTRAL_API_KEY> apiBase: https://codestral.mistral.ai/v1 roles: - chat - autocomplete | |
| 21 | +models: | |
| 22 | + - name: Codestral | |
| 23 | + provider: mistral | |
| 24 | + model: codestral-latest | |
| 25 | + apiKey: <YOUR_CODESTRAL_API_KEY> | |
| 26 | + apiBase: https://codestral.mistral.ai/v1 | |
| 27 | + roles: | |
| 28 | + - chat | |
| 29 | + - autocomplete | |
| 22 | 30 | ``` |
| 23 | 31 | |
| 24 | 32 | config.json |
modified docs/reference.mdx +1 −1
| @@ -61,7 +61,7 @@ | ||
| 61 | 61 | - `.continue/models` - for models |
| 62 | 62 | - `.continue/prompts` - for prompts |
| 63 | 63 | - `.continue/context` - for context providers |
| 64 | -- `.continue/docs` - for docs~~~~ | |
| 64 | +- `.continue/docs` - for docs | |
| 65 | 65 | - `.continue/data` - for data |
| 66 | 66 | - `.continue/mcpServers` - for MCP Servers |
| 67 | 67 |
modified docs/reference/yaml-migration.mdx +76 −6
| @@ -88,7 +88,48 @@ | ||
| 88 | 88 | config.yaml |
| 89 | 89 | |
| 90 | 90 | ``` |
| 91 | -models: - name: GPT-4 provider: openai model: gpt-4 apiKey: <YOUR_OPENAI_KEY> defaultCompletionOptions: temperature: 0.5 maxTokens: 2000 roles: - chat - edit - name: My Voyage Reranker provider: voyage apiKey: <YOUR_VOYAGE_KEY> roles: - rerank - name: My Starcoder provider: ollama model: starcoder2:3b roles: - autocomplete - name: My Ada Embedder provider: openai apiKey: <YOUR_ADA_API_KEY> roles: - embed embedOptions: - maxChunkSize: 256 - maxBatchSize: 5 - name: Ollama Autodetect provider: ollama model: AUTODETECT - name: My Open AI Compatible Model - Apply provider: openai model: my-openai-compatible-model apiBase: http://3.3.3.3/v1 requestOptions: headers: X-Auth-Token: <MY_API_KEY> roles: - chat - apply | |
| 91 | +models: | |
| 92 | + - name: GPT-4 | |
| 93 | + provider: openai | |
| 94 | + model: gpt-4 | |
| 95 | + apiKey: <YOUR_OPENAI_KEY> | |
| 96 | + defaultCompletionOptions: | |
| 97 | + temperature: 0.5 | |
| 98 | + maxTokens: 2000 | |
| 99 | + roles: | |
| 100 | + - chat | |
| 101 | + - edit | |
| 102 | + - name: My Voyage Reranker | |
| 103 | + provider: voyage | |
| 104 | + apiKey: <YOUR_VOYAGE_KEY> | |
| 105 | + roles: | |
| 106 | + - rerank | |
| 107 | + - name: My Starcoder | |
| 108 | + provider: ollama | |
| 109 | + model: starcoder2:3b | |
| 110 | + roles: | |
| 111 | + - autocomplete | |
| 112 | + - name: My Ada Embedder | |
| 113 | + provider: openai | |
| 114 | + apiKey: <YOUR_ADA_API_KEY> | |
| 115 | + roles: | |
| 116 | + - embed | |
| 117 | + embedOptions: | |
| 118 | + - maxChunkSize: 256 | |
| 119 | + - maxBatchSize: 5 | |
| 120 | + - name: Ollama Autodetect | |
| 121 | + provider: ollama | |
| 122 | + model: AUTODETECT | |
| 123 | + - name: My Open AI Compatible Model - Apply | |
| 124 | + provider: openai | |
| 125 | + model: my-openai-compatible-model | |
| 126 | + apiBase: http://3.3.3.3/v1 | |
| 127 | + requestOptions: | |
| 128 | + headers: | |
| 129 | + X-Auth-Token: <MY_API_KEY> | |
| 130 | + roles: | |
| 131 | + - chat | |
| 132 | + - apply | |
| 92 | 133 | ``` |
| 93 | 134 | |
| 94 | 135 | Note that the `repoMapFileSelection` experimental model role has been deprecated and is only available in `config.json`. |
| @@ -119,7 +160,13 @@ | ||
| 119 | 160 | config.yaml |
| 120 | 161 | |
| 121 | 162 | ``` |
| 122 | -context: - provider: docs - provider: codebase params: nRetrieve: 30 nFinal: 3 - provider: diff | |
| 163 | +context: | |
| 164 | + - provider: docs | |
| 165 | + - provider: codebase | |
| 166 | + params: | |
| 167 | + nRetrieve: 30 | |
| 168 | + nFinal: 3 | |
| 169 | + - provider: diff | |
| 123 | 170 | ``` |
| 124 | 171 | |
| 125 | 172 | ### System Message |
| @@ -139,7 +186,8 @@ | ||
| 139 | 186 | config.yaml |
| 140 | 187 | |
| 141 | 188 | ``` |
| 142 | -rules: - Always give concise responses | |
| 189 | +rules: | |
| 190 | + - Always give concise responses | |
| 143 | 191 | ``` |
| 144 | 192 | |
| 145 | 193 | ### Prompts |
| @@ -167,7 +215,17 @@ | ||
| 167 | 215 | config.yaml |
| 168 | 216 | |
| 169 | 217 | ``` |
| 170 | -prompts: - name: check description: Check for mistakes in my code prompt: | Please read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant: - Syntax errors - Logic errors - Security vulnerabilities - Performance issues - Anything else that looks wrong 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. | |
| 218 | +prompts: | |
| 219 | + - name: check | |
| 220 | + description: Check for mistakes in my code | |
| 221 | + prompt: | | |
| 222 | + Please read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant: | |
| 223 | + - Syntax errors | |
| 224 | + - Logic errors | |
| 225 | + - Security vulnerabilities | |
| 226 | + - Performance issues | |
| 227 | + - Anything else that looks wrong | |
| 228 | + 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. | |
| 171 | 229 | ``` |
| 172 | 230 | |
| 173 | 231 | ### Documentation |
| @@ -192,7 +250,11 @@ | ||
| 192 | 250 | config.yaml |
| 193 | 251 | |
| 194 | 252 | ``` |
| 195 | -docs: - name: nest.js startUrl: https://docs.nestjs.com/ - name: My site startUrl: https://mysite.com/docs/ | |
| 253 | +docs: | |
| 254 | + - name: nest.js | |
| 255 | + startUrl: https://docs.nestjs.com/ | |
| 256 | + - name: My site | |
| 257 | + startUrl: https://mysite.com/docs/ | |
| 196 | 258 | ``` |
| 197 | 259 | |
| 198 | 260 | ### MCP Servers |
| @@ -231,7 +293,15 @@ | ||
| 231 | 293 | config.yaml |
| 232 | 294 | |
| 233 | 295 | ``` |
| 234 | -mcpServers: - name: My MCP Server command: uvx args: - mcp-server-sqlite - --db-path - /Users/NAME/test.db env: KEY: <VALUE> | |
| 296 | +mcpServers: | |
| 297 | + - name: My MCP Server | |
| 298 | + command: uvx | |
| 299 | + args: | |
| 300 | + - mcp-server-sqlite | |
| 301 | + - --db-path | |
| 302 | + - /Users/NAME/test.db | |
| 303 | + env: | |
| 304 | + KEY: <VALUE> | |
| 235 | 305 | ``` |
| 236 | 306 | |
| 237 | 307 | --- |
modified docs/troubleshooting.mdx +5 −1
| @@ -92,7 +92,11 @@ | ||
| 92 | 92 | config.yaml |
| 93 | 93 | |
| 94 | 94 | ``` |
| 95 | -models: - name: My Model ... requestOptions: caBundlePath: /path/to/cert.pem | |
| 95 | +models: | |
| 96 | + - name: My Model | |
| 97 | + ... | |
| 98 | + requestOptions: | |
| 99 | + caBundlePath: /path/to/cert.pem | |
| 96 | 100 | ``` |
| 97 | 101 | |
| 98 | 102 | config.json |