Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docusaurus 3.6.3 upgrade #3326

Merged
merged 4 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 30 additions & 3 deletions docs/docs/customize/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <kbd>cmd/ctrl</kbd> + <kbd>L</kbd> (VS Code) or <kbd>cmd/ctrl</kbd> + <kbd>J</kbd> (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.
Expand Down
3 changes: 3 additions & 0 deletions docs/docs/customize/slash-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,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).
7 changes: 7 additions & 0 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ const darkCodeTheme = themes.dracula;

/** @type {import('@docusaurus/types').Config} */
const config = {
// Docusaurus V3.6 experimental faster compile features
// https://docusaurus.io/blog/releases/3.6#adoption-strategy
future: {
experimental_faster: true,
},


title: "Continue",
tagline:
"the open-source library for accelerating software development with language models",
Expand Down
Loading