Merge pull request #6335 from continuedev/bdougie/docs-structure

docs: Restructure docs to a 8-Section Navigation with Guides
This commit is contained in:
Brian Douglas 2025-07-03 22:21:58 -07:00 • committed by GitHub
commit 0938308c2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
154 changed files with 1008 additions and 782 deletions

View file

@ -0,0 +1,56 @@
---
title: Overview
description: Deep dive into Continue's advanced features, context providers, and configuration options
keywords:
[advanced, context, providers, model providers, configuration, deep dives]
---
# Advanced Topics
Explore Continue's advanced capabilities for power users and complex development scenarios.
## Context Providers
Master how Continue understands your codebase with powerful context providers for code, documentation, and more.
[Explore Context Providers →](./custom-providers)
## Context Integration
Specialized context features for codebase understanding and documentation integration.
[Browse Context Features →](./context/codebase.mdx)
## Deep Dives
Detailed technical explanations of Continue's internal workings and advanced configuration options.
[Read Deep Dives →](./deep-dives/configuration.md)
## Model Providers
Configure and optimize different AI model providers for your specific needs and infrastructure.
[Configure Providers →](./model-providers/top-level/openai.mdx)
## Model Roles
Understand how different models can be assigned specific roles in your development workflow.
[Learn Model Roles →](./model-roles/00-intro.mdx)
## Reference
Complete configuration reference and API documentation.
[View Reference →](/reference)
## Troubleshooting
Solutions to common issues and debugging techniques.
[Get Help →](/troubleshooting)
---
These advanced topics help you get the most out of Continue in complex development environments.

View file

@ -0,0 +1,4 @@
{
"label": "Context",
"position": 2
}

View file

@ -96,4 +96,4 @@ If you need to force a refresh of the index, reload the VS Code window with <kbd
## Repository map
Models in the Claude 3, Llama 3.1/3.2, Gemini 1.5, and GPT-4o families will automatically use a [repository map](../context-providers.mdx#repository-map) during codebase retrieval, which allows the model to understand the structure of your codebase and use it to answer questions. Currently, the repository map only contains the filepaths in the codebase.
Models in the Claude 3, Llama 3.1/3.2, Gemini 1.5, and GPT-4o families will automatically use a [repository map](../custom-providers.mdx#repository-map) during codebase retrieval, which allows the model to understand the structure of your codebase and use it to answer questions. Currently, the repository map only contains the filepaths in the codebase.

View file

@ -19,7 +19,7 @@ import Tabs from "@theme/Tabs";
# @Docs
The [`@Docs` context provider](customize/context-providers.mdx#docs) allows you to efficiently reference documentation directly within Continue.
The [`@Docs` context provider](../custom-providers#docs) allows you to efficiently reference documentation directly within Continue.
## Enabling the `@Docs` context provider
@ -111,7 +111,7 @@ For bulk documentation site adds or edits, we recommend editing your global conf
</TabItem>
</Tabs>
See [the config reference](../../reference) for all documentation site configuration options.
See [the config reference](/reference) for all documentation site configuration options.
Indexing will re-sync upon saving the configuration file.

View file

@ -1,5 +1,5 @@
---
title: Context providers
title: Context Providers
description: Type '@' to select content to the LLM as context
keywords: [context, "@", provider, LLM]
---
@ -167,7 +167,7 @@ Reference the contents from any documentation site.
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/deep-dives/docs.mdx) page for more information.
To use it, you need to add a documentation site to your config file. See the [docs](./context/documentation.mdx) page for more information.
### `@Open`
@ -253,7 +253,7 @@ Reference the most relevant snippets from your codebase.
</TabItem>
</Tabs>
Read more about indexing and retrieval [here](../customize/deep-dives/codebase.mdx).
Read more about indexing and retrieval [here](./context/codebase.mdx).
### `@Folder`

View file

@ -0,0 +1,4 @@
{
"label": "Deep Dives",
"position": 3
}

View file

@ -98,7 +98,7 @@ The following settings can be configured for autocompletion in the IDE extension
### `config.json` Configuration
The `config.json` configuration format (deprecated) offers further configuration options through `tabAutocompleteOptions`. See the [JSON Reference](../../json-reference.md#tabautocompleteoptions) for more details.
The `config.json` configuration format (deprecated) offers further configuration options through `tabAutocompleteOptions`. See the [JSON Reference](/reference) for more details.
## FAQs

View file

@ -26,15 +26,15 @@ To open this `config.yaml`, you need to open the assistants dropdown in the top-
When editing this file, you can see the available options suggested as you type, or check the reference below. When you save a config file from the IDE, Continue will automatically refresh to take into account your changes. A config file is automatically created the first time you use Continue, and always automatically generated with default values if it doesn't exist.
See the full reference for `config.yaml` [here](../../reference.md).
See the full reference for `config.yaml` [here](/reference).
## Deprecated configuration methods
:::info
View the `config.json` migration guide [here](../../yaml-migration.md)
View the `config.json` migration guide [here](../yaml-migration.mdx)
:::
- [`config.json`](../../json-reference.md) - The original configuration format which is stored in a file at the same location as `config.yaml`
- [`config.json`](/reference) - The original configuration format which is stored in a file at the same location as `config.yaml`
- [`.continuerc.json`](#continuercjson) - Workspace-level configuration
- [`config.ts`](#configts) - Advanced configuration (probably unnecessary) - a TypeScript file in your home directory that can be used to programmatically modify (_merged_) the `config.json` schema:
- `~/.continue/config.ts` (MacOS / Linux)

View file

@ -16,6 +16,6 @@ You can also configure custom destinations for your data, including remote HTTP
For hub assistants, data destinations are configured in `data` blocks. Visit the hub to [explore example data blocks](https://hub.continue.dev/explore/data) or [create your own](https://hub.continue.dev/new?type=block&blockType=data).
See more details about adding `data` blocks to your configuration files in the [YAML specification](../../reference.md#data)
See more details about adding `data` blocks to your configuration files in the [YAML specification](/reference#data)
When sending development data to your own HTTP endpoint, it will receive an event JSON blob at the given `schema` version. You can view event names, schema versions, and fields [here in the source code](https://github.com/continuedev/continue/tree/main/packages/config-yaml/src/schemas/data).

View file

@ -8,7 +8,7 @@ import Tabs from "@theme/Tabs";
# Rules
Rules provide instructions to the model for [Chat](../../chat/how-to-use-it.md), [Edit](../../edit/how-to-use-it.md), and [Agent](../../agent/how-to-use-it.md) requests.
Rules provide instructions to the model for [Chat](../../features/chat/quick-start), [Edit](../../features/edit/quick-start), and [Agent](../../features/agent/quick-start) requests.
:::info Rules are not included in [autocomplete](./autocomplete.mdx) or [apply](../model-roles/apply.mdx).
:::
@ -172,11 +172,11 @@ Whenever you are writing React code, make sure to
### Chat System Message
Continue includes a simple default system message for [Chat](../../chat/how-to-use-it.md) and [Agent](../../agent/how-to-use-it.md) requests, to help the model provide reliable codeblock formats in its output.
Continue includes a simple default system message for [Chat](../../features/chat/quick-start) and [Agent](../../features/agent/quick-start) requests, to help the model provide reliable codeblock formats in its output.
This can be viewed in the rules section of the toolbar (see above), or in the source code [here](https://github.com/continuedev/continue/blob/main/core/llm/constructMessages.ts#L4).
Advanced users can override this system message for a specific model if needed by using `chatOptions.baseSystemMessage`. See the [`config.yaml` reference](../../reference.md#models).
Advanced users can override this system message for a specific model if needed by using `chatOptions.baseSystemMessage`. See the [`config.yaml` reference](/reference#models).
### `.continuerules`

View file

@ -12,15 +12,15 @@ import Tabs from "@theme/Tabs";
## Slash commands
Slash commands are shortcuts that can be activated by typing '/' in a chat session (press <kbd>cmd/ctrl</kbd> + <kbd>L</kbd> (VS Code) or <kbd>cmd/ctrl</kbd> + <kbd>J</kbd> (JetBrains)), and selecting from the dropdown.
{/* ![slash-commands](/img/slash-commands.png) */}
![slash-commands](/img/slash-commands.png)
Slash commands can be combined with additional instructions, including [context providers](../context-providers.mdx) or [highlighted code](../../edit/context-selection#highlighted-code).
Slash commands can be combined with additional instructions, including [context providers](../custom-providers.mdx) or highlighted code.
## Prompts
### Assistant prompt blocks
The easiest way to add a slash command is by adding [`prompt` blocks](../../hub/blocks/block-types.md#prompts) to your assistant, which show up as slash commands in [Chat](../../chat/how-it-works.md).
The easiest way to add a slash command is by adding [`prompt` blocks](../../hub/blocks/block-types.md#prompts) to your assistant, which show up as slash commands in [Chat](../../features/chat/how-it-works.mdx).
### Prompt files

View file

@ -26,7 +26,7 @@ Right click actions let you highlight a desired region of code, right click, and
The highlighted code you’ve selected will be included in your prompt alongside a pre-written set of instructions depending on the selected action. This is the only section of code that the model will attempt to edit.
Right click actions that generate inline diffs use the same prompt and response processing logic as [Edit](../../edit/how-it-works.md).
Right click actions that generate inline diffs use the same prompt and response processing logic as [Edit](../../features/edit/how-it-works.mdx).
![context-menu](/img/context-menu.png)

View file

@ -5,7 +5,7 @@ keywords: [config, config_schema.json, json]
---
:::info
We recently introduced a new configuration format, `config.yaml`, to replace `config.json`. See the `config.yaml` reference and migration guide [here](./reference.md).
We recently introduced a new configuration format, `config.yaml`, to replace `config.json`. See the `config.yaml` reference and migration guide [here](/reference).
:::
Below are details for each property that can be set in `config.json`. The config schema code is found in [`extensions/vscode/config_schema.json`](https://github.com/continuedev/continue/blob/main/extensions/vscode/config_schema.json).
@ -14,7 +14,7 @@ Below are details for each property that can be set in `config.json`. The config
### `models`
Your **chat** models are defined here, which are used for [Chat](./chat/how-to-use-it.md), [Edit](./edit/how-to-use-it.md) and [VS Code actions](./customize/deep-dives/vscode-actions.md).
Your **chat** models are defined here, which are used for [Chat](/features/chat/how-it-works), [Edit](/features/edit/how-it-works) and [VS Code actions](/advanced/deep-dives/vscode-actions).
Each model has specific configuration options tailored to its provider and functionality, which can be seen as suggestions while editing the json.
@ -471,7 +471,7 @@ Several experimental config parameters are available, as described below:
- `docstring`: Prompt for adding docstrings.
- `fix`: Prompt for fixing code.
- `optimize`: Prompt for optimizing code.
- `modelContextProtocolServers`: See [Model Context Protocol](/customize/context-providers#model-context-protocol)
- `modelContextProtocolServers`: See [Model Context Protocol](/customization/mcp-tools)
Example
@ -506,7 +506,7 @@ Example
### Fully deprecated settings
Some deprecated `config.json` settings are no longer stored in config and have been moved to be editable through the [User Settings Page](./customize/deep-dives/settings.md). 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 Page](/advanced/deep-dives/settings). If found in `config.json`, they will be auto-migrated to User Settings and removed from `config.json`.
- `allowAnonymousTelemetry`: This value will be migrated to the safest merged value (`false` if either are `false`).
- `promptPath`: This value will override during migration.
@ -527,4 +527,4 @@ Some deprecated `config.json` settings are no longer stored in config and have b
- `displayRawMarkdown`
- `showChatScrollbar`
See [User Settings Page](./customize/deep-dives/settings.md) for more information about each option.
See [User Settings Page](/advanced/deep-dives/settings) for more information about each option.

View file

@ -0,0 +1,4 @@
{
"label": "Model Providers",
"position": 4
}

View file

Before

Width:  |  Height:  |  Size: 858 KiB

After

Width:  |  Height:  |  Size: 858 KiB

View file

@ -110,4 +110,4 @@ By default, Llama Stack uses **all-MiniLM-L6-v2** as the embeddings model.
## Reranking model
Llama Stack currently did not support Reranking API yet.
Llama Stack currently did not support Reranking API yet.

View file

@ -0,0 +1,4 @@
{
"label": "More Providers",
"position": 2
}

View file

@ -0,0 +1,4 @@
{
"label": "Popular Providers",
"position": 1
}

View file

@ -18,7 +18,7 @@ Models in Continue can be configured to be used for various roles in the extensi
- [`embed`](./embeddings.mdx): Used to generate embeddings used for vector search (@Codebase and @Docs context providers)
- [`rerank`](./reranking.mdx): Used to rerank results from vector search
These roles can be specified for a `config.yaml` model block using `roles`. See the [YAML Specification](../../reference.md#models) for more details.
These roles can be specified for a `config.yaml` model block using `roles`. See the [YAML Specification](/reference#models) for more details.
## Selecting model roles

View file

@ -0,0 +1,4 @@
{
"label": "Model Roles",
"position": 5
}

View file

@ -7,7 +7,7 @@ sidebar_position: 2
An "autocomplete model" is an LLM that is trained on a special format called fill-in-the-middle (FIM). This format is designed to be given the prefix and suffix of a code file and predict what goes between. This task is very specific, which on one hand means that the models can be smaller (even a 3B parameter model can perform well). On the other hand, this means that Chat models, though larger, will often perform poorly even with extensive prompting.
In Continue, autocomplete models are used to display inline [Autocomplete](../../autocomplete/how-to-use-it.md) suggestions as you type. Autocomplete models are designated by adding the `autocomplete` to the model's `roles` in `config.yaml`.
In Continue, autocomplete models are used to display inline [Autocomplete](../../features/autocomplete/quick-start) suggestions as you type. Autocomplete models are designated by adding the `autocomplete` to the model's `roles` in `config.yaml`.
## Recommended Autocomplete models

View file

@ -10,7 +10,7 @@ import Tabs from "@theme/Tabs";
A "chat model" is an LLM that is trained to respond in a conversational format. Because they should be able to answer general questions and generate complex code, the best chat models are typically large, often 405B+ parameters.
In Continue, these models are used for normal [Chat](../../chat/how-to-use-it.md) and [VS Code actions](../deep-dives/vscode-actions.md). The selected chat model will also be used for [Edit](../../edit/how-to-use-it.md) and [Apply](./apply.mdx) if no `edit` or `apply` models are specified, respectively.
In Continue, these models are used for normal [Chat](../../features/chat/quick-start) and [VS Code actions](../deep-dives/vscode-actions.md). The selected chat model will also be used for [Edit](../../features/edit/quick-start) and [Apply](./apply.mdx) if no `edit` or `apply` models are specified, respectively.
## Recommended Chat models

View file

@ -10,7 +10,7 @@ import Tabs from "@theme/Tabs";
An "embeddings model" is trained to convert a piece of text into a vector, which can later be rapidly compared to other vectors to determine similarity between the pieces of text. Embeddings models are typically much smaller than LLMs, and will be extremely fast and cheap in comparison.
In Continue, embeddings are generated during indexing and then used by [@Codebase](../deep-dives/codebase.mdx) to perform similarity search over your codebase.
In Continue, embeddings are generated during indexing and then used by [@Codebase](../context/codebase.mdx) to perform similarity search over your codebase.
You can add `embed` to a model's `roles` to specify that it can be used to embed.

View file

@ -10,7 +10,7 @@ import Tabs from "@theme/Tabs";
A "reranking model" is trained to take two pieces of text (often a user question and a document) and return a relevancy score between 0 and 1, estimating how useful the document will be in answering the question. Rerankers are typically much smaller than LLMs, and will be extremely fast and cheap in comparison.
In Continue, rerankers are designated using the `rerank` role and used by [@Codebase](../deep-dives/codebase.mdx) in order to select the most relevant code snippets after vector search.
In Continue, rerankers are designated using the `rerank` role and used by [@Codebase](../context/codebase.mdx) in order to select the most relevant code snippets after vector search.
## Recommended reranking models

View file

@ -26,6 +26,6 @@ The following usage information is collected and reported:
## How to Opt Out
You can disable anonymous telemetry by visiting the [User Settings Page](./customize/deep-dives/settings.md) and toggling "Allow Anonymous Telemetry" off.
You can disable anonymous telemetry by visiting the [User Settings Page](./deep-dives/settings.md) and toggling "Allow Anonymous Telemetry" off.
Alternatively in VS Code, you can disable telemetry through your VS Code settings by unchecking the "Continue: Telemetry Enabled" box (this will override the Settings Page settings). VS Code settings can be accessed with `File` > `Preferences` > `Settings` (or use the keyboard shortcut <kbd>ctrl</kbd> + <kbd>,</kbd> on Windows/Linux or <kbd>cmd</kbd> + <kbd>,</kbd> on macOS).

View file

@ -11,7 +11,7 @@ Continue's YAML configuration format provides more readable, maintainable, consi
See also
- [Intro to YAML](https://yaml.org/)
- [JSON Continue Config Reference](/json-reference)
- [JSON Continue Config Reference](/reference)
- [YAML Continue Config Reference](/reference)
## Create YAML file
@ -38,9 +38,9 @@ Add all model configurations in `config.json`, including models in `models`, `ta
- `inlineEdit` -> e.g. `roles: [chat, edit]`
- `applyCodeBlock` -> e.g. `roles: [chat, apply]`
Model-level `requestOptions` remain, with minor changes. See [YAML Continue Config Reference](./reference.md#models)
Model-level `requestOptions` remain, with minor changes. See [YAML Continue Config Reference](/reference#models)
Model-level `completionOptions` are replaced by `defaultCompletionOptions`, with minor changes. See [YAML Continue Config Reference](./reference.md#models)
Model-level `completionOptions` are replaced by `defaultCompletionOptions`, with minor changes. See [YAML Continue Config Reference](/reference#models)
<!-- TODO - ollama autodetect supported? -->
@ -328,9 +328,9 @@ 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 Page](./customize/deep-dives/settings.md) (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 Page](./deep-dives/settings.md) (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](./json-reference#fully-deprecated-settings) for more information on fully deprecated options.
See the [JSON Config Reference](/reference) for more information on fully deprecated options.
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:
@ -355,4 +355,4 @@ The following top-level fields from `config.json` have been deprecated. Most UI-
## New Configuration options
The YAML configuration format offers new configuration options not available in the JSON format. See the [YAML Config Reference](./reference) for more information.
The YAML configuration format offers new configuration options not available in the JSON format. See the [YAML Config Reference](/reference) for more information.

View file

@ -1,12 +0,0 @@
---
title: Context selection
description: How context can be selected for Chat
keywords: [context]
sidebar_position: 3
---
You can use the same [methods to manually add context as Chat](../chat/context-selection.md).
In addition, tool call responses are automatically included as context items.
This enables Agent mode to see the result of the previous action and decide what to do next.

View file

@ -1,38 +0,0 @@
---
title: How to customize
description: How to customize Chat
keywords: [customize, chat]
sidebar_position: 5
---
## Add Rules Blocks
Adding Rules can be done in your assistant locally or in the Hub.
[Explore Rules on the Hub](https://hub.continue.dev/explore/rules) and see the [Rules deep dive](../customize/deep-dives/rules.mdx) for more details and tips on creating rules.
## Add MCP tools
You can add MCP servers to your assistant to give Agent access to more tools. [Explore MCP Servers on the Hub](https://hub.continue.dev/explore/mcp) and see the [MCP guide](../customize/deep-dives/mcp.mdx) for more details.
## Tool policies
You can adjust Agent's usage behavior for each tool in your assistant to one of these options:
- **Ask First (default)** - request permission from the user; show the `Cancel` and `Continue` buttons
- **Automatic** - do not request permission, automatically call the tool and feed the response back to the model
- **Excluded** - do not send this tool to the model
:::warning
Be careful setting any tools to `automatic` if their behavior is not read-only.
:::
First, open `Tool Policies` by clicking the tools icon in the input toolbar
![Input Toolbar](/img/lump-toolbar.png)
Then, you can view and change tool policies. To change a policy, click on the policy text ("Excluded", etc.) to toggle it. You can also turn groups of tools (e.g. all Built-in tools or all tools from a specific MCP server) off using the section toggles.
![Tool Policies](/img/tool-policies.png)
Tool policies are stored locally per user.

View file

@ -1,18 +0,0 @@
---
title: Model setup
description: Models for Continue Agent
keywords: [model, agent]
sidebar_position: 2
---
Agent can be used with models that support tool use through Continue.
For the best Agent experience we recommend Claude Sonnet 4 from Anthropic. Add Claude 3.7 Sonnet to your assistant from the hub [here](https://hub.continue.dev/anthropic/claude-4-sonnet). You can get an API key from the [Anthropic console](https://console.anthropic.com/settings/keys).
Currently the following models are recommended:
- [Anthropic](../customize/model-providers/top-level/anthropic.mdx) - we recommend [Claude Sonnet 4](https://hub.continue.dev/anthropic/claude-4-sonnet)
- [OpenAI](../customize/model-providers/top-level/openai.mdx) - we recommend [GPT-4o](https://hub.continue.dev/openai/gpt-4o)
- [Gemini](../customize/model-providers/top-level/gemini.mdx) - we recommend [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro)
The best chat models generally support tool use. See [recommended chat models](../customize/model-roles/chat.mdx#recommended-chat-models) for more.

View file

@ -1,24 +0,0 @@
---
title: Context selection
description: Autocomplete context selection
keywords: [context, autocomplete, lsp, recent]
sidebar_position: 3
---
Autocomplete will automatically determine context based on the current cursor position. We use the following techniques to determine what to include in the prompt:
### File prefix/suffix
We will always include the code from your file prior to and after the cursor position.
### Definitions from the Language Server Protocol
Similar to how you can use <kbd>cmd/ctrl</kbd> + `click` in your editor, we use the same tool (the LSP) to power "go to definition". For example, if you are typing out a function call, we will include the function definition. Or, if you are writing code inside of a method, we will include the type definitions for any parameters or the return type.
### Imported files
Because there are often many imports, we can't include all of them. Instead, we look for symbols around your cursor that have matching imports and use that as context.
### Recent files
We automatically consider recently opened or edited files and include snippets that are relevant to the current completion.

View file

@ -1,10 +0,0 @@
---
title: How to customize
description: How to customize Autocomplete
keywords: [customize]
sidebar_position: 5
---
Continue offers a handful of settings to customize autocomplete behavior. Visit the [User Settings Page](../customize/deep-dives/settings.md) to manage these settings.
For a comprehensive guide on all configuration options and their impacts, see the [Autocomplete deep dive](../customize/deep-dives/autocomplete.mdx).

View file

@ -1,17 +0,0 @@
---
title: Model setup
description: Autocomplete \-model setup
keywords: [model, autocomplete]
sidebar_position: 2
---
import TabItem from "@theme/TabItem";
import Tabs from "@theme/Tabs";
For the best autocomplete experience we recommend Codestral from Mistral.
Add Codestral to your assistant from the hub [here](https://hub.continue.dev/mistral/codestral). Visit the [Mistral Platform](https://console.mistral.ai/codestral) to get a Codestral API key.
For a fully local autocomplete experience, we recommend [Qwen 2.5 Coder 1.5B on Ollama](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b).
For more details about setup and recommended models, visit the [autocomplete deep dive](../customize/deep-dives/autocomplete.mdx).

View file

@ -1,21 +0,0 @@
---
title: Context Blocks
sidebar_label: Context
description: Determine what internal information your AI assistant can access
keywords: [context, blocks, repositories, integration, knowledge base]
sidebar_position: 2
---
These blocks determine what internal information your AI assistant can access:
- **Connect to source repositories** and issues, CI/CD systems, wikis, and knowledge bases
- **Determine the scope** of what the AI can "see" when providing assistance
- **Customize** to match your specific development environment
- **Include proprietary code patterns** unique to your organization
- **Integrate data sources** to connect to any internal system with valuable context
![Context Blocks Overview](/img/context-blocks-overview.png)
## Learn More
Learn more about context providers [here](../reference.md#context), and check out [this guide](../customize/tutorials/build-your-own-context-provider.mdx) to creating your own custom context provider.

View file

@ -1,20 +0,0 @@
---
title: Data Blocks
sidebar_label: Data
description: Help organizations capture and analyze AI assistant usage data
keywords: [data, blocks, analytics, metrics, storage, compliance]
sidebar_position: 7
---
These help organizations capture and analyze AI assistant usage data:
- **Analytics Integration**: Export metrics to observability platforms like Splunk or New Relic
- **Cloud Storage**: Store development data in S3/Azure Blob for model fine-tuning and auditing
- **Impact Measurement**: Track acceptance rates and productivity outcomes for ROI calculation
- **Compliance Reporting**: Generate audit trails for security and governance requirements
![Data Blocks Overview](/img/data-blocks-overview.png)
## Learn More
You can read more about development data [here](../customize/deep-dives/development-data.md). Data destinations are configured in the [`data`](../reference.md#data) section of `config.yaml`.

View file

@ -1,19 +0,0 @@
---
title: Docs Blocks
sidebar_label: Docs
description: Bring your documentation directly into the IDE
keywords: [docs, blocks, documentation, guidance, flow]
sidebar_position: 3
---
This is how Continue brings your documentation directly into the IDE:
- **Provide just-in-time guidance** without context switching
- **Reduce support burden** by making information discoverable
- **Keep developers in flow** by eliminating searches through multiple systems
![Docs Blocks Overview](/img/docs-blocks-overview.png)
## Learn More
Learn more in the [@Docs deep dive](../customize/deep-dives/docs.mdx), and view [`docs`](../reference.md#docs) in the YAML Reference for more details.

View file

@ -1,24 +0,0 @@
---
title: Model Blocks
sidebar_label: Model
description: Foundation of the entire assistant experience offering specialized capabilities
keywords: [model, blocks, chat, edit, apply, autocomplete, embedding, reranker]
sidebar_position: 1
---
These blocks form the foundation of the entire assistant experience, offering different specialized capabilities:
- **[Chat](../customize/model-roles/chat.mdx)**: Power conversational interactions about code and provide detailed guidance
- **[Edit](../customize/model-roles/edit.mdx)**: Handle complex code transformations and refactoring tasks
- **[Apply](../customize/model-roles/apply.mdx)**: Execute targeted code modifications with high accuracy
- **[Autocomplete](../customize/model-roles/autocomplete.md)**: Provide real-time suggestions as developers type
- **[Embedding](../customize/model-roles/embeddings.mdx)**: Transform code into vector representations for semantic search
- **[Reranker](../customize/model-roles/reranking.mdx)**: Improve search relevance by ordering results based on semantic meaning
![Model Blocks Overview](/img/model-blocks-overview.png)
## Learn More
Continue supports [many model providers](../customize/model-providers), including Anthropic, OpenAI, Gemini, Ollama, Amazon Bedrock, Azure, xAI, DeepSeek, and more. Models can have various roles like `chat`, `edit`, `apply`, `autocomplete`, `embed`, and `rerank`.
Read more about roles [here](../customize/model-roles/intro.mdx) and view [`models`](../reference.md#models) in the YAML Reference.

View file

@ -1,46 +0,0 @@
---
title: Context selection
description: How context can be selected for Chat
keywords: [context]
sidebar_position: 3
---
## Input
Typing a question or instructions into the input box is the only required context. All of the other methods to select and include additional context listed below are optional.
## Highlighted code
The highlighted code you’ve selected by pressing <kbd>cmd/ctrl</kbd> + <kbd>L</kbd> (VS Code) or <kbd>cmd/ctrl</kbd> + <kbd>J</kbd> (JetBrains) will be included in your prompt alongside the input you provide. This is the only section of code that will be provided to the model unless you highlight additional sections or use one of the other selection methods below.
## Active file
You can include the currently open file as context by pressing <kbd>opt</kbd> + <kbd>enter</kbd> (Mac) or <kbd>alt</kbd> + <kbd>enter</kbd> (Windows) when you send your request at Chat window(Prompt can't be empty).
## Specific file
You can include a specific file in your current workspace as context by typing [`@Files`](../customize/context-providers.mdx#file) and selecting the file.
## Specific folder
You can include a folder in your current workspace as context by typing [`@Folder`](../customize/context-providers.mdx#folder) and selecting the directory. It [works like `@Codebase`](../customize/deep-dives/codebase.mdx) but only includes the files in the selected folder.
## Codebase search
You can automatically include relevant files from your codebase as context by typing [`@Codebase`](../customize/context-providers.mdx#codebase). You can learn about how @Codebase works [here](../customize/deep-dives/codebase.mdx).
## Documentation site
You can include a documentation site as context by typing [`@Docs`](../customize/context-providers.mdx#docs) and selecting the documentation site. You can learn about how @Docs works [here](../customize/deep-dives/docs.mdx).
## Terminal contents
You can include the contents of the terminal in your IDE as context by typing [`@Terminal`](../customize/context-providers.mdx#terminal).
## Git diff
You can include all of the changes you've made to your current branch by typing [`@Git Diff`](../customize/context-providers.mdx#git-diff).
## Other context
You can see a full list of built-in context providers [here](../customize/context-providers.mdx) and how to create your own custom context provider [here](../customize/tutorials/build-your-own-context-provider.mdx).

View file

@ -1,14 +0,0 @@
---
title: How it works
description: How Chat works
keywords: [how, chat, works]
sidebar_position: 4
---
Using any selected code sections, all context that you have selected with @, and your input instructions, we prompt the model to provide a response in the sidebar. If you are asking a follow-up, then all earlier session context is also included. No other additional context is provided to the model.
The model response is then streamed directly back to the sidebar. Each code section included in the response will be placed into its own code block, which gives you buttons to either “Apply to current file”, “Insert at cursor”, or “Copy” for each section. When you press <kbd>cmd/ctrl</kbd> + <kbd>L</kbd> (VS Code) or <kbd>cmd/ctrl</kbd> + <kbd>J</kbd> (JetBrains) at the end of a session, all context is cleared and a new session is started, so that you can begin a new task.
If you would like to view the exact prompt that is sent to the model during Chat, you can [view this in the prompt logs](troubleshooting.mdx#llm-prompt-logs).
You can learn more about how `@Codebase` works [here](../customize/deep-dives/codebase.mdx) and `@Docs` [here](../customize/deep-dives/docs.mdx).

View file

@ -1,14 +0,0 @@
---
title: How to customize
description: How to customize Chat
keywords: [customize, chat]
sidebar_position: 5
---
There are a number of different ways to customize Chat:
- You can add a [`rules` block](../hub/blocks/block-types.md#rules) to your assistant to give the model persistent instructions through the system prompt. See the [rules deep dive](../customize/deep-dives/rules.mdx) for more information.
- You can configure [`@Codebase`](../customize/deep-dives/codebase.mdx)
- You can configure [`@Docs`](../customize/deep-dives/docs.mdx)
- You can [build your own context provider](../customize/tutorials/build-your-own-context-provider.mdx)
- You can create your own [custom code RAG](../customize/tutorials/custom-code-rag.mdx)

View file

@ -1,39 +0,0 @@
---
title: Chat
description: How to use Chat
sidebar_label: How to use it
keywords: [how, use, chat]
sidebar_position: 1
---
![chat](/img/chat.gif)
## How to use it
Chat makes it easy to ask for help from an LLM without needing to leave the IDE. You send it a task, including any relevant information, and it replies with the text / code most likely to complete the task. If it does not give you what you want, then you can send follow up messages to clarify and adjust its approach until the task is completed.
Chat is best used to understand and iterate on code or as a replacement for search engine queries.
## Type a request and press enter
You send it a question, and it replies with an answer. You tell it to solve a problem, and it provides you a solution. You ask for some code, and it generates it.
## Highlight a code section to include as context
You select a code section with your mouse, press <kbd>cmd/ctrl</kbd> + <kbd>L</kbd> (VS Code) or <kbd>cmd/ctrl</kbd> + <kbd>J</kbd> (JetBrains) to send it to the LLM, and then ask for it to be explained to you or request it to be refactored in some way.
## Reference context with the @ symbol
If there is information from the codebase, documentation, IDE, or other tools that you want to include as context, you can type @ to select and include it as context. You can learn more about how to use this in [Chat context selection](context-selection.md).
## Apply generated code to your file
When the LLM replies with edits to a file, you can click the “Apply” button. This will update the existing code in the editor to reflect the suggested changes.
## Start a fresh session for a new task
Once you complete a task and want to start a new one, press <kbd>cmd/ctrl</kbd> + <kbd>L</kbd> (VS Code) or <kbd>cmd/ctrl</kbd> + <kbd>J</kbd> (JetBrains) to begin a new session, ensuring only relevant context for the next task is provided to the LLM.
## Switch between different models
If you have configured multiple models, you can switch between models using the dropdown or by pressing <kbd>cmd/ctrl</kbd> + <kbd>’</kbd>

View file

@ -1,24 +0,0 @@
---
title: Model setup
description: How to set up a Chat model
keywords: [model]
sidebar_position: 2
---
import TabItem from "@theme/TabItem";
import Tabs from "@theme/Tabs";
For the best chat experience we recommend Claude 3.7 Sonnet from Anthropic.
Add Claude 3.7 Sonnet to your assistant from the hub [here](https://hub.continue.dev/anthropic/claude-3-7-sonnet). You can get an API key from the [Anthropic console](https://console.anthropic.com/settings/keys).
Other recommended chat models include:
- [GPT-4o from OpenAI](https://hub.continue.dev/openai/gpt-4o)
- [Grok-2 from xAI](https://hub.continue.dev/xai/grok-2)
- [Gemini 2.0 Flash from Google](https://hub.continue.dev/google/gemini-2.0-flash)
- [Llama 3.1 8b from Meta on Ollama](https://hub.continue.dev/ollama/llama3.1-8b) for a fully local experience
{/* HUB_TODO nonexistent blocks */}
{/* - Deepseek Coder 2 from deepseek on [Ollama](https://hub.continue.dev/explore/models) or [LM Studio](https://hub.continue.dev/explore/models) */}
For more details about setup and recommended models, see [here](../customize/model-roles/chat.mdx).

View file

@ -6,11 +6,11 @@ keywords: [customize, configure, config]
Continue can be deeply customized. For example you might:
- **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 models for specific tasks**. Different Continue features can use different models. We call these _model roles_. For example, you can use a different model for chat than you do for autocomplete. Learn more about [model roles](./model-roles/) .
- **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](./context-providers.mdx).
- **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](./deep-dives/slash-commands.mdx).
- **Call external tools and functions**. Unchain your LLM with the power of tools using [Agent](../agent/how-to-use-it.md). Add custom tools using [MCP Servers](./deep-dives/mcp.mdx)
- **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](../advanced/model-providers/top-level/openai.mdx).
- **Select different models for specific tasks**. Different Continue features can use different models. We call these _model roles_. For example, you can use a different model for chat than you do for autocomplete. Learn more about [model roles](../advanced/model-roles/00-intro.mdx).
- **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](../advanced/custom-providers.mdx).
- **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](../advanced/deep-dives/slash-commands.mdx).
- **Call external tools and functions**. Unchain your LLM with the power of tools using [Agent](../features/agent/quick-start.mdx). Add custom tools using [MCP Servers](../advanced/deep-dives/mcp.mdx)
Whatever you choose, you'll probably start by editing your Assistant.
@ -21,4 +21,4 @@ You can easily access your assistant configuration from the Continue Chat sideba
![configure an assistant](/img/configure-continue.png)
- See [Editing Hub Assistants](../hub/assistants/edit-an-assistant.md) for more details on managing your hub assistant
- See the [Config Deep Dive](./deep-dives/configuration.md) for more details on configuring local assistants.
- See the [Config Deep Dive](../advanced/deep-dives/configuration.md) for more details on configuring local assistants.

View file

@ -1,6 +1,6 @@
---
title: MCP Blocks
sidebar_label: MCP
sidebar_label: MCP Tools
description: Model Context Protocol servers provide specialized functionality
keywords: [mcp, blocks, model context protocol, integrations, tools]
sidebar_position: 4
@ -18,7 +18,7 @@ Model Context Protocol servers provide specialized functionality:
## Learn More
Learn more in the [MCP deep dive](../customize/deep-dives/mcp.mdx), and view [`mcpServers`](../reference.md#mcpservers) in the YAML Reference for more details.
Learn more in the [MCP deep dive](../advanced/deep-dives/mcp.mdx), and view [`mcpServers`](/reference#mcpservers) in the YAML Reference for more details.
description: Model Context Protocol servers provide specialized functionality
keywords: [mcp, blocks, model context protocol, integrations, tools]
sidebar_position: 4
@ -37,4 +37,4 @@ Model Context Protocol servers provide specialized functionality:
## Learn More
Learn more in the [MCP deep dive](../customize/deep-dives/mcp.mdx), and view [`mcpServers`](../reference.md#mcpservers) in the YAML Reference for more details.
Learn more in the [MCP deep dive](../advanced/deep-dives/mcp.mdx), and view [`mcpServers`](/reference#mcpservers) in the YAML Reference for more details.

View file

@ -0,0 +1,24 @@
---
title: Model Blocks
sidebar_label: Model
description: Foundation of the entire assistant experience offering specialized capabilities
keywords: [model, blocks, chat, edit, apply, autocomplete, embedding, reranker]
sidebar_position: 1
---
These blocks form the foundation of the entire assistant experience, offering different specialized capabilities:
- **[Chat](../advanced/model-roles/chat.mdx)**: Power conversational interactions about code and provide detailed guidance
- **[Edit](../advanced/model-roles/edit.mdx)**: Handle complex code transformations and refactoring tasks
- **[Apply](../advanced/model-roles/apply.mdx)**: Execute targeted code modifications with high accuracy
- **[Autocomplete](../advanced/model-roles/autocomplete.md)**: Provide real-time suggestions as developers type
- **[Embedding](../advanced/model-roles/embeddings.mdx)**: Transform code into vector representations for semantic search
- **[Reranker](../advanced/model-roles/reranking.mdx)**: Improve search relevance by ordering results based on semantic meaning
![Model Blocks Overview](/img/model-blocks-overview.png)
## Learn More
Continue supports [many model providers](../advanced/model-providers/top-level/openai.mdx), including Anthropic, OpenAI, Gemini, Ollama, Amazon Bedrock, Azure, xAI, DeepSeek, and more. Models can have various roles like `chat`, `edit`, `apply`, `autocomplete`, `embed`, and `rerank`.
Read more about roles [here](../advanced/model-roles/00-intro.mdx) and view [`models`](/reference#models) in the YAML Reference.

View file

@ -1,6 +1,6 @@
---
title: Prompt Blocks
sidebar_label: Prompt
sidebar_label: Prompts
description: Specialized instructions that shape how models respond
keywords: [prompts, blocks, instructions, guidance, code review]
sidebar_position: 6
@ -18,4 +18,4 @@ These are the specialized instructions that shape how models respond:
## Learn More
Prompt blocks have the same syntax as [prompt files](../customize/deep-dives/prompts.md). The `config.yaml` spec for `prompts` can be found [here](../reference.md#prompts).
Prompt blocks have the same syntax as [prompt files](../advanced/deep-dives/prompts.md). The `config.yaml` spec for `prompts` can be found [here](/reference#prompts).

View file

@ -18,8 +18,8 @@ By implementing rules, you transform the AI from a generic coding assistant into
### How Rules Work
Your assistant detects rule blocks and applies the specified rules while in [Agent](../agent/how-to-use-it), [Chat](../chat/how-to-use-it), and [Edit](../edit/how-to-use-it) modes.
Your assistant detects rule blocks and applies the specified rules while in [Agent](../features/agent/quick-start), [Chat](../features/chat/quick-start), and [Edit](../features/edit/quick-start) modes.
## Learn More
Learn more in the [rules deep dive](../customize/deep-dives/rules.mdx), and view [`rules`](../reference.md#rules) in the YAML Reference for more details.
Learn more in the [rules deep dive](../advanced/deep-dives/rules.mdx), and view [`rules`](/reference#rules) in the YAML Reference for more details.

View file

@ -1,13 +0,0 @@
---
title: Continue Changelog
description: Redirecting to our Changelog
hide_table_of_contents: true
---
# Redirecting to Changelog
If you are not redirected automatically, follow this [link to the changelog](https://changelog.continue.dev).
<head>
<meta http-equiv="refresh" content="0;url=https://changelog.continue.dev" />
</head>

Some files were not shown because too many files have changed in this diff Show more