From bc4ea0b7470313f19060b6b89c4ccbbe597544b6 Mon Sep 17 00:00:00 2001 From: Sherman Boyd Date: Wed, 11 Dec 2024 15:39:29 -0700 Subject: [PATCH] Revamp of Costomize/Overview --- docs/docs/customize/overview.md | 33 ++++++++++++++++++++++--- docs/docs/customize/slash-commands.md | 3 +++ docs/static/img/configure-continue.png | Bin 0 -> 6877 bytes 3 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 docs/static/img/configure-continue.png diff --git a/docs/docs/customize/overview.md b/docs/docs/customize/overview.md index 4e3e0716a..83e479132 100644 --- a/docs/docs/customize/overview.md +++ b/docs/docs/customize/overview.md @@ -4,14 +4,41 @@ description: Introduction to customizing Continue keywords: [customize, configure, config] --- -Continue can be deeply customized. This is primarily accomplished by editing a local file located at `~/.continue/config.json` (MacOS / Linux) or `%USERPROFILE%\.continue\config.json` (Windows). `config.json` is created the first time you use Continue. +Continue can be deeply customized. For example you might: -## Getting started +- **Change your Model Provider**. Continue allows you to choose your favorite or even add multiple model providers. This allows you to use different models for different tasks, or to try another model if you're not happy with the results from your current model. Continue supports all of the popular model providers, including OpenAI, Anthropic, Microsoft/Azure, Mistral, and more. You can even self host your own model provider if you'd like. Learn more about [model providers](/customize/model-providers). +- **Select different model providers for each Compose feature**. Different Continue features can use different model providers. We call these _model types_. For example, you can use a different model provider for chat than you do for autocomplete. Learn more about [model types](/customize/model-types) . +- **Add a Context Provider**. Context providers allow you to add information to your prompts, giving your LLM additional context to work with. Context providers allow you to reference snippets from your codebase, or lookup relevant documentation, or use a search engine to find information and much more. Learn more about [context providers](/customize/context-providers). +- **Create a Slash Command**. Slash commands allow you to easily add custom functionality to Continue. You can use a slash command that allows you to generate a shell command from natural language, or perhaps generate a commit message, or create your own custom command to do whatever you want. Learn more about [slash commands](/customize/slash-commands). +- **Call external tools and functions**. Unchain your LLM with the power of _Tools_. You can call any external tool or function from your prompts. Currently only available with Anthropic. Learn more about [Tools](/customize/tools). -To open `config.json`, click the "gear" icon in the bottom right corner of the Continue Chat sidebar. When editing this file, you can see the available options suggested as you type, or you can check the [full reference](./deep-dives/configuration.md). +Whatever you choose, you'll probably start by editing `config.json`. + +## Editing config.json + +Most custom configuration is done by editing `config.json`. This file is a JSON file that allows you to customize Continue to your liking. It is found at: + +- MacOS and Linux: `~/.continue/config.json` +- Windows: `%USERPROFILE%\.continue\config.json` + +You can easily access `config.json` from the Continue Chat sidebar. Open the sidebar by pressing cmd/ctrl + L (VS Code) or cmd/ctrl + J (JetBrains) and click the "gear" icon in the bottom right corner. + +![configure-continue](/img/configure-continue.png) + +When editing this file, you can see the available options suggested as you type, or you can check the [full reference](./deep-dives/configuration.md). + +:::info + +`config.json` is created the first time you use Continue. If you'd like to reset your configuration to the default, you can delete this file and Continue will automatically recreate it with the default settings. + +::: + +:::info When you save `config.json`, Continue will automatically refresh to take into account your changes. +::: + ## Per-workspace configuration If you'd like to scope certain settings to a particular workspace, you can add a `.continuerc.json` to the root of your project. It has the same [definition](./deep-dives/configuration.md) as `config.json`, and will automatically be applied on top of the local config.json. diff --git a/docs/docs/customize/slash-commands.md b/docs/docs/customize/slash-commands.md index 20283ae89..d6bcfac5e 100644 --- a/docs/docs/customize/slash-commands.md +++ b/docs/docs/customize/slash-commands.md @@ -124,3 +124,6 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a } } ``` + +### Build your own Slash Command +You can build your own slash command by following [this tutorial](/customize/tutorials/build-your-own-slash-command). \ No newline at end of file diff --git a/docs/static/img/configure-continue.png b/docs/static/img/configure-continue.png new file mode 100644 index 0000000000000000000000000000000000000000..57355638f306510b1a6ddca62cb9766d98f7238b GIT binary patch literal 6877 zcmbW5WmHsOxW)&`p&O(fx&%q-j)9@O!y%F$;o`kw#& zbU)vdYn{EqKSS9++U6S&7WVW#p~7(+0h3)uKA~z&LAb&(zCrJM z3}#{-MMYV#s&;2+mo`h;2M)^ca0r((7Wj!8zA_1g*HYd-??20>fWWH2OZVWw+`yy7 z$1EaHxJdfpCJ{O)Sx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