feat: GEO updates for docs (#7083)
This commit is contained in:
parent
355b2302ad
commit
1704df4f1e
132 changed files with 961 additions and 824 deletions
8
.continue/rules/documentation-description-rule.md
Normal file
8
.continue/rules/documentation-description-rule.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
globs: docs/**/*.{md,mdx}
|
||||
description: This rule applies to all documentation files to ensure consistent
|
||||
SEO optimization and improve discoverability. It helps users and search
|
||||
engines understand the content of each page before reading it.
|
||||
---
|
||||
|
||||
Every file in the docs folder must include a 'description' field in its frontmatter that accurately summarizes the content of the page in 100-160 characters. The description should be concise, keyword-rich, and explain what users will learn or accomplish from the page.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Mintlify Starter Kit
|
||||
## Mintlify Starter Kit
|
||||
|
||||
Click on `Use this template` to copy the Mintlify starter kit. The starter kit contains examples including
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +1,15 @@
|
|||
---
|
||||
title: "Autocomplete"
|
||||
sidebarTitle: "How To Use It"
|
||||
sidebarTitle: "How To Use AI Autocomplete"
|
||||
icon: "circle-question"
|
||||
description: "Learn how to use Continue's AI-powered code autocomplete feature with keyboard shortcuts for accepting, rejecting, or partially accepting inline suggestions as you type"
|
||||
---
|
||||
|
||||
<Frame>
|
||||
<img src="/images/autocomplete-9d4e3f7658d3e65b8e8b20f2de939675.gif" />
|
||||
</Frame>
|
||||
|
||||
## How to use it
|
||||
## How to Use AI Code Autocomplete in Continue
|
||||
|
||||
Autocomplete provides inline code suggestions as you type. To enable it, simply click the "Continue" button in the status bar at the bottom right of your IDE or ensure the "Enable Tab Autocomplete" option is checked in your IDE settings.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,39 +1,40 @@
|
|||
---
|
||||
title: "Chat"
|
||||
sidebarTitle: "How To Use It"
|
||||
sidebarTitle: "How To Use AI Chat"
|
||||
icon: "circle-question"
|
||||
description: "Learn how to use Continue's AI chat assistant to solve coding problems without leaving your IDE, including code context sharing, applying generated solutions, and switching between models"
|
||||
---
|
||||
|
||||
<Frame>
|
||||
<img src="/images/chat-489b68d156be2aafe09ee7cedf233fba.gif" />
|
||||
</Frame>
|
||||
|
||||
## How to use it
|
||||
## How to Use AI Chat in Continue for Coding Help
|
||||
|
||||
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
|
||||
## Send a Coding Question or Task to AI Chat
|
||||
|
||||
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.
|
||||
To send a question, add it to the input box in the extention 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
|
||||
## Add Code Context to AI Chat by Highlighting Code
|
||||
|
||||
You select a code section with your mouse, press `cmd/ctrl` + `L` (VS Code) or `cmd/ctrl` + `J` (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
|
||||
## Use @ to Include Project Context in AI Chat Responses
|
||||
|
||||
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](/features/chat/quick-start#3-use--for-additional-context).
|
||||
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](/features/chat/quick-start#how-to-use-%40-for-additional-context).
|
||||
|
||||
## Apply generated code to your file
|
||||
## Insert AI-Generated Code Changes Directly into 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
|
||||
## How to Begin a New AI Chat Session for a Different Coding Task
|
||||
|
||||
Once you complete a task and want to start a new one, press `cmd/ctrl` + `L` (VS Code) or `cmd/ctrl` + `J` (JetBrains) to begin a new session, ensuring only relevant context for the next task is provided to the LLM.
|
||||
|
||||
## Switch between different models
|
||||
## Change AI Models in Continue Chat for Different Coding Needs
|
||||
|
||||
If you have configured multiple models, you can switch between models using the dropdown or by pressing `cmd/ctrl` + `’`
|
||||
|
|
|
|||
|
|
@ -1,8 +1,12 @@
|
|||
---
|
||||
title: "MCP Blocks"
|
||||
description: "Model Context Protocol servers provide specialized functionality:"
|
||||
description: "Learn how to use Model Context Protocol (MCP) blocks in Continue to integrate external tools, connect databases, and extend your development environment."
|
||||
---
|
||||
|
||||
Model Context Protocol (MCP) blocks let Continue connect to external tools, systems, and databases by running MCP servers.
|
||||
|
||||
These blocks make it possible to:
|
||||
|
||||
- **Enable integration** with external tools and systems
|
||||
- **Create extensible interfaces** for custom capabilities
|
||||
- **Support complex interactions** with your development environment
|
||||
|
|
@ -11,6 +15,6 @@ description: "Model Context Protocol servers provide specialized functionality:"
|
|||
|
||||

|
||||
|
||||
## Learn More
|
||||
## Learn More About MCP Blocks
|
||||
|
||||
Learn more in the [MCP deep dive](/customize/deep-dives/mcp), and view [`mcpServers`](/reference#mcpservers) in the YAML Reference for more details.
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ description: "These blocks form the foundation of the entire assistant experienc
|
|||
|
||||

|
||||
|
||||
## Learn More
|
||||
## Learn More About Model Blocks
|
||||
|
||||
Continue supports [many model providers](/customization/models#openai), 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`.
|
||||
Continue supports [many model providers](/customize/model-providers/top-level/openai), 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) and view [`models`](/reference#models) in the YAML Reference.
|
||||
|
|
|
|||
|
|
@ -1,21 +1,39 @@
|
|||
---
|
||||
title: "Overview"
|
||||
description: "Continue can be deeply customized. For example you might:"
|
||||
title: "Customization Overview"
|
||||
description: "Learn how to customize Continue with model providers, context providers, slash commands, and tools to create your perfect AI coding assistant"
|
||||
---
|
||||
|
||||
- **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/top-level/openai).
|
||||
- **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](/customize/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](/customize/custom-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/deep-dives/slash-commands).
|
||||
- **Call external tools and functions**. Unchain your LLM with the power of tools using [Agent](/features/agent/quick-start). Add custom tools using [MCP Servers](/customization/mcp-tools)
|
||||
Continue can be deeply customized to fit your specific development workflow and preferences. This guide covers the main ways you can customize Continue to enhance your coding experience.
|
||||
|
||||
## 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/top-level/openai).
|
||||
|
||||
## 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](/customize/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](/customize/custom-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/deep-dives/slash-commands).
|
||||
|
||||
## Call External Tools and Functions
|
||||
|
||||
Unchain your LLM with the power of tools using [Agent](/features/agent/quick-start). Add custom tools using [MCP Servers](/customization/mcp-tools)
|
||||
|
||||
Whatever you choose, you'll probably start by editing your Assistant.
|
||||
|
||||
## Editing your assistant
|
||||
## Edit Your Assistant
|
||||
|
||||
You can easily access your assistant configuration from the Continue Chat sidebar. Open the sidebar by pressing `cmd/ctrl` + `L` (VS Code) or `cmd/ctrl` + `J` (JetBrains) and click the Assistant selector above the main chat input. Then, you can hover over an assistant and click the `new window` (hub assistants) or `gear` (local assistants) icon.
|
||||
|
||||

|
||||
|
||||
## Manage Your Assistant
|
||||
|
||||
- See [Editing Hub Assistants](/hub/assistants/edit-an-assistant) for more details on managing your hub assistant
|
||||
- See the [Config Deep Dive](/reference) for more details on configuring local assistants.
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Think of these as the guardrails for your AI coding assistants:
|
|||
|
||||
By implementing rules, you transform the AI from a generic coding assistant into a knowledgeable team member that understands your project's unique requirements and constraints.
|
||||
|
||||
### How Rules Work
|
||||
## How Rules Work
|
||||
|
||||
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.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
title: "@Codebase"
|
||||
description: Talk to your codebase
|
||||
title: "How to Set Up @Codebase Context Provider in Continue"
|
||||
description: Retrieve relevant context and answers from your codebase using embeddings and keyword search.
|
||||
keywords: [talk, embeddings, reranker, codebase, experimental]
|
||||
sidebarTitle: "@Codebase"
|
||||
---
|
||||
|
||||
Continue indexes your codebase so that it can later automatically pull in the most relevant context from throughout your workspace. This is done via a combination of embeddings-based retrieval and keyword search. By default, all embeddings are calculated locally using `transformers.js` and stored locally in `~/.continue/index`.
|
||||
|
|
@ -9,35 +10,41 @@ Continue indexes your codebase so that it can later automatically pull in the mo
|
|||
<Info>
|
||||
**Note:** `transformers.js` cannot be used in JetBrains IDEs. However, you can
|
||||
select a different embeddings model from [the list
|
||||
here](../model-roles/embeddings.mdx).
|
||||
here](../model-roles/embeddings).
|
||||
</Info>
|
||||
|
||||
## How to Use @Codebase and @Folder Context Providers
|
||||
|
||||
Currently, the codebase retrieval feature is available as the "codebase" and "folder" context providers. You can use them by typing `@Codebase` or `@Folder` in the input box, and then asking a question. The contents of the input box will be compared with the embeddings from the rest of the codebase (or folder) to determine relevant files.
|
||||
|
||||
### When @Codebase Context Provider Is Useful
|
||||
|
||||
Here are some common use cases where it can be useful:
|
||||
|
||||
- Asking high-level questions about your codebase
|
||||
- **Asking high-level questions about your codebase**
|
||||
- "How do I add a new endpoint to the server?"
|
||||
- "Do we use VS Code's CodeLens feature anywhere?"
|
||||
- "Is there any code written already to convert HTML to markdown?"
|
||||
- Generate code using existing samples as reference
|
||||
- **Generate code using existing samples as reference**
|
||||
- "Generate a new React component with a date picker, using the same patterns as existing components"
|
||||
- "Write a draft of a CLI application for this project using Python's argparse"
|
||||
- "Implement the `foo` method in the `bar` class, following the patterns seen in other subclasses of `baz`.
|
||||
- Use `@Folder` to ask questions about a specific folder, increasing the likelihood of relevant results
|
||||
- **Use `@Folder` to ask questions about a specific folder, increasing the likelihood of relevant results**
|
||||
- "What is the main purpose of this folder?"
|
||||
- "How do we use VS Code's CodeLens API?"
|
||||
- Or any of the above examples, but with `@Folder` instead of `@Codebase`
|
||||
|
||||
### When @Codebase Context Provider Is Not Useful
|
||||
|
||||
Here are use cases where it is not useful:
|
||||
|
||||
- When you need the LLM to see _literally every_ file in your codebase
|
||||
- **When you need the LLM to see _literally every_ file in your codebase**
|
||||
- "Find everywhere where the `foo` function is called"
|
||||
- "Review our codebase and find any spelling mistakes"
|
||||
- Refactoring
|
||||
- **Refactoring tasks**
|
||||
- "Add a new parameter to the `bar` function and update usages"
|
||||
|
||||
## Configuration
|
||||
## How to Configure @Codebase Context Provider Settings
|
||||
|
||||
There are a few options that let you configure the behavior of the `@codebase` context provider, which are the same for the `@folder` context provider:
|
||||
|
||||
|
|
@ -82,7 +89,7 @@ Final number of results to use after re-ranking (default: 5)
|
|||
|
||||
Whether to use re-ranking, which will allow initial selection of `nRetrieve` results, then will use an LLM to select the top `nFinal` results (default: true)
|
||||
|
||||
## Ignore files during indexing
|
||||
## How to Ignore Files During Indexing
|
||||
|
||||
Continue respects `.gitignore` files in order to determine which files should not be indexed. If you'd like to exclude additional files, you can add them to a `.continueignore` file, which follows the exact same rules as `.gitignore`.
|
||||
|
||||
|
|
@ -92,6 +99,6 @@ If you want to see exactly what files Continue has indexed, the metadata is stor
|
|||
|
||||
If you need to force a refresh of the index, reload the VS Code window with <kbd>cmd/ctrl</kbd> + <kbd>shift</kbd> + <kbd>p</kbd> + "Reload Window".
|
||||
|
||||
## Repository map
|
||||
## How Repository Map Enhances Codebase Understanding
|
||||
|
||||
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#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](/customize/context/codebase#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.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: "@Docs"
|
||||
title: "How to Set Up @Docs Context Provider in Continue"
|
||||
description: Learn how to access and search your project's documentation directly within Continue
|
||||
keywords:
|
||||
[
|
||||
|
|
@ -13,11 +13,12 @@ keywords:
|
|||
documentation,
|
||||
]
|
||||
toc_max_heading_level: 5
|
||||
sidebarTitle: "@Docs"
|
||||
---
|
||||
|
||||
The [`@Docs` context provider](../custom-providers#docs) allows you to efficiently reference documentation directly within Continue.
|
||||
The `@Docs` context provider allows you to efficiently reference documentation directly within Continue.
|
||||
|
||||
## Enabling the `@Docs` context provider
|
||||
## How to Enable the @Docs Context Provider
|
||||
|
||||
To enable the `@Docs` context provider, add it to the list of context providers in your `config.json` file.
|
||||
|
||||
|
|
@ -41,7 +42,7 @@ To enable the `@Docs` context provider, add it to the list of context providers
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## How It Works
|
||||
## How the @Docs Context Provider Works
|
||||
|
||||
The `@Docs` context provider works by
|
||||
|
||||
|
|
@ -50,13 +51,13 @@ The `@Docs` context provider works by
|
|||
3. Storing the embeddings locally on your machine
|
||||
4. Embedding chat input to include similar documentation chunks as context
|
||||
|
||||
## Indexing Your Own Documentation
|
||||
## How to Index Your Own Documentation
|
||||
|
||||
### Hub `docs` Blocks
|
||||
### Using Hub `docs` Blocks
|
||||
|
||||
@Docs uses [`docs` blocks](../../hub/blocks/block-types#docs) in Assistants from the hub. Visit the hub to [explore `docs` blocks](https://hub.continue.dev/explore/docs) or [create your own](https://hub.continue.dev/new?type=block&blockType=docs).
|
||||
|
||||
### Through the `@Docs` Context Provider
|
||||
### How to Add Documentation Through the @Docs Context Provider
|
||||
|
||||
To add a single documentation site, we recommend using the **Add Documentation** Form within the GUI. This can be accessed
|
||||
|
||||
|
|
@ -79,7 +80,7 @@ Documentation sources may be suggested based on package files in your repo. This
|
|||
|
||||

|
||||
|
||||
### In a configuration file
|
||||
### How to Add Documentation in Configuration Files
|
||||
|
||||
For bulk documentation site adds or edits, we recommend editing your global configuration file directly. Documentation sites are stored in an array within `docs` in your global configuration, as follows:
|
||||
|
||||
|
|
@ -111,13 +112,13 @@ See [the config reference](/reference) for all documentation site configuration
|
|||
|
||||
Indexing will re-sync upon saving the configuration file.
|
||||
|
||||
## Configuration
|
||||
## How to Configure @Docs Advanced Settings
|
||||
|
||||
### Using Your Embeddings Provider
|
||||
### How to Use Your Custom Embeddings Provider
|
||||
|
||||
If you have set up an [embeddings provider](../model-roles/embeddings.mdx), @docs will use your embeddings provider. Switching embeddings providers will trigger a re-index of all documentation sites in your configuration.
|
||||
|
||||
### Reranking
|
||||
### How to Configure Reranking for Better Results
|
||||
|
||||
As with [@Codebase context provider configuration](./codebase#configuration), you can adjust the reranking behavior of the `@Docs` context provider with the `nRetrieve`, `nFinal`, and `useReranking`.
|
||||
|
||||
|
|
@ -150,7 +151,7 @@ As with [@Codebase context provider configuration](./codebase#configuration), yo
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
### GitHub
|
||||
### How to Set Up GitHub Token for GitHub Documentation
|
||||
|
||||
The GitHub API rate limits public requests to 60 per hour. If you want to reliably index GitHub repos, you can add a github token to your config file:
|
||||
|
||||
|
|
@ -179,7 +180,7 @@ The GitHub API rate limits public requests to 60 per hour. If you want to reliab
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
### Local Crawling
|
||||
### How to Enable Local Crawling for Private Documentation
|
||||
|
||||
By default, Continue crawls documentation sites using a specialized crawling service that provides the best experience for most users and documentation sites.
|
||||
|
||||
|
|
@ -212,9 +213,12 @@ If your documentation is private, you can skip the default crawler and use a loc
|
|||
</Tabs>
|
||||
|
||||
<Info>
|
||||
The default local crawler is a lightweight tool that cannot render sites that are dynamically generated using JavaScript. If your sites need to be rendered, you can enable the experimental `Use Chromium for Docs Crawling` feature from your [User Settings Page](../settings) This will download and install Chromium to `~/.continue/.utils`, and use it as the local crawler.
|
||||
|
||||
**Note:** Chromium crawling support is being deprecated and may be removed in future versions.
|
||||
The default local crawler is a lightweight tool that cannot render sites that
|
||||
are dynamically generated using JavaScript. If your sites need to be rendered,
|
||||
you can enable the experimental `Use Chromium for Docs Crawling` feature from
|
||||
your [User Settings Page](../settings) This will download and install Chromium
|
||||
to `~/.continue/.utils`, and use it as the local crawler. **Note:** Chromium
|
||||
crawling support is being deprecated and may be removed in future versions.
|
||||
</Info>
|
||||
|
||||
Further notes:
|
||||
|
|
@ -222,7 +226,7 @@ Further notes:
|
|||
- If the site is only locally accessible, the default crawler will fail anyways and fall back to the local crawler. `useLocalCrawling` is especially useful if the URL itself is confidential.
|
||||
- For GitHub Repos this has no effect because only the GitHub Crawler will be used, and if the repo is private it can only be accessed with a priveleged GitHub token anyways.
|
||||
|
||||
## Managing your docs indexes
|
||||
## How to Manage Your Documentation Indexes
|
||||
|
||||
You can view indexing statuses and manage your documentation sites from the `@docs indexes` section of the `More` page (three dots)
|
||||
|
||||
|
|
@ -239,9 +243,9 @@ You can also view the overall status of currently indexing docs from a hideable
|
|||
|
||||
You can also use the following IDE command to force a re-index of all docs: `Continue: Docs Force Re-Index`.
|
||||
|
||||
## Examples
|
||||
## Configuration Examples for Different Setups
|
||||
|
||||
### VS Code minimal setup
|
||||
### How to Set Up @Docs in VS Code (Minimal Configuration)
|
||||
|
||||
The following configuration example works out of the box for VS Code. This uses the built-in embeddings provider with no reranking.
|
||||
|
||||
|
|
@ -275,7 +279,7 @@ The following configuration example works out of the box for VS Code. This uses
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
### Jetbrains minimal setup
|
||||
### How to Set Up @Docs in JetBrains IDEs (Minimal Configuration)
|
||||
|
||||
Here is the equivalent minimal example for Jetbrains, which requires setting up an [embeddings provider](../model-roles/embeddings.mdx).
|
||||
|
||||
|
|
@ -318,7 +322,7 @@ Here is the equivalent minimal example for Jetbrains, which requires setting up
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
### Full-power setup (VS Code or Jetbrains)
|
||||
### How to Set Up @Docs with Advanced Features (VS Code or JetBrains)
|
||||
|
||||
The following configuration example includes:
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ As an example, say you are working on solving a new GitHub Issue. You type '@Iss
|
|||
|
||||

|
||||
|
||||
## Context blocks
|
||||
## How Do Context Blocks Work?
|
||||
|
||||
You can add context providers to assistants using [`context` blocks](/hub/blocks/block-types#context). Explore available context blocks in [the hub](https://hub.continue.dev/explore/context).
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ You can add context providers to assistants using [`context` blocks](/hub/blocks
|
|||
|
||||
You can add any built-in context-providers in your config file as shown below:
|
||||
|
||||
### `@File`
|
||||
### @File Context Provider – Reference Files in Your Workspace
|
||||
|
||||
Reference any file in your current workspace.
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "file" }] }
|
||||
```
|
||||
|
||||
### `@Code`
|
||||
### @Code Context Provider – Reference Functions and Classes
|
||||
|
||||
Reference specific functions or classes from throughout your project.
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "code" }] }
|
||||
```
|
||||
|
||||
### `@Git Diff`
|
||||
### @Git Diff Context Provider – Reference Branch Changes
|
||||
|
||||
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.
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "diff" }] }
|
||||
```
|
||||
|
||||
### `@Current File`
|
||||
### @Current File Context Provider – Reference the Active File
|
||||
|
||||
Reference the currently open file.
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "currentFile" }] }
|
||||
```
|
||||
|
||||
### `@Terminal`
|
||||
### @Terminal Context Provider – Reference Last Terminal Command and Output
|
||||
|
||||
Reference the last command you ran in your IDE's terminal and its output.
|
||||
|
||||
|
|
@ -110,7 +110,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "terminal" }] }
|
||||
```
|
||||
|
||||
### `@Docs`
|
||||
### @Docs Context Provider – Reference Documentation Site Content
|
||||
|
||||
Reference the contents from any documentation site.
|
||||
|
||||
|
|
@ -131,9 +131,9 @@ config.json
|
|||
|
||||
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](/customization/overview#documentation-context) page for more information.
|
||||
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.
|
||||
|
||||
### `@Open`
|
||||
### @Open Context Provider – Reference All Open Files or Pinned Files
|
||||
|
||||
Reference the contents of all of your open files. Set `onlyPinned` to `true` to only reference pinned files.
|
||||
|
||||
|
|
@ -155,7 +155,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "open", "params": { "onlyPinned": true } }] }
|
||||
```
|
||||
|
||||
### `@Web`
|
||||
### @Web Context Provider – Reference Relevant Web Pages
|
||||
|
||||
Reference relevant pages from across the web, automatically determined from your input.
|
||||
|
||||
|
|
@ -179,7 +179,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "web", "params": { "n": 5 } }] }
|
||||
```
|
||||
|
||||
### `@Codebase`
|
||||
### @Codebase Context Provider – Reference Relevant Codebase Snippets
|
||||
|
||||
Reference the most relevant snippets from your codebase.
|
||||
|
||||
|
|
@ -199,9 +199,9 @@ config.json
|
|||
{ "contextProviders": [{ "name": "codebase" }] }
|
||||
```
|
||||
|
||||
Read more about indexing and retrieval [here](/customization/overview#codebase-context).
|
||||
Read more about indexing and retrieval [here](/customize/overview#codebase-context).
|
||||
|
||||
### `@Folder`
|
||||
### @Folder Context Provider – Reference Code from a Specific Folder
|
||||
|
||||
Uses the same retrieval mechanism as `@Codebase`, but only on a single folder.
|
||||
|
||||
|
|
@ -220,7 +220,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "folder" }] }
|
||||
```
|
||||
|
||||
### `@Search`
|
||||
### @Search Context Provider – Reference Code Search Results
|
||||
|
||||
Reference the results of codebase search, just like the results you would get from VS Code search.
|
||||
|
||||
|
|
@ -244,7 +244,7 @@ config.json
|
|||
|
||||
This context provider is powered by [ripgrep](https://github.com/BurntSushi/ripgrep).
|
||||
|
||||
### `@Url`
|
||||
### @Url Context Provider – Reference Content from a URL
|
||||
|
||||
Reference the markdown converted contents of a given URL.
|
||||
|
||||
|
|
@ -264,7 +264,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "url" }] }
|
||||
```
|
||||
|
||||
### `@Clipboard`
|
||||
### @Clipboard Context Provider – Reference Clipboard Items
|
||||
|
||||
Reference recent clipboard items
|
||||
|
||||
|
|
@ -284,7 +284,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "clipboard" }] }
|
||||
```
|
||||
|
||||
### `@Tree`
|
||||
### @Tree Context Provider – Reference Workspace File Structure
|
||||
|
||||
Reference the structure of your current workspace.
|
||||
|
||||
|
|
@ -304,7 +304,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "tree" }] }
|
||||
```
|
||||
|
||||
### `@Problems`
|
||||
### @Problems Context Provider – Reference Problems in the Current File
|
||||
|
||||
Get Problems from the current file.
|
||||
|
||||
|
|
@ -324,7 +324,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "problems" }] }
|
||||
```
|
||||
|
||||
### `@Debugger`
|
||||
### @Debugger Context Provider – Reference Debugger Local Variables
|
||||
|
||||
Reference the contents of the local variables in the debugger. Currently only available in VS Code.
|
||||
|
||||
|
|
@ -348,7 +348,7 @@ config.json
|
|||
|
||||
Uses the top _n_ levels (defaulting to 3) of the call stack for that thread.
|
||||
|
||||
### `@Repository Map`
|
||||
### @Repository Map Context Provider – Reference Codebase Outline and Signatures
|
||||
|
||||
Reference the outline of your codebase. By default, signatures are included along with file in the repo map.
|
||||
|
||||
|
|
@ -374,11 +374,11 @@ config.json
|
|||
|
||||
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.
|
||||
|
||||
In the submenu that appears, you can select either `Entire codebase`, or specify a subfolder to generate the repostiory map from.
|
||||
In the submenu that appears, you can select either `Entire codebase`, or specify a subfolder to generate the repository map from.
|
||||
|
||||
This context provider is inpsired by [Aider's repository map](https://aider.chat/2023/10/22/repomap.html).
|
||||
This context provider is inspired by [Aider's repository map](https://aider.chat/2023/10/22/repomap.html).
|
||||
|
||||
### `@Operating System`
|
||||
### @Operating System Context Provider – Reference System Architecture and Platform
|
||||
|
||||
Reference the architecture and platform of your current operating system.
|
||||
|
||||
|
|
@ -398,7 +398,7 @@ config.json
|
|||
{ "contextProviders": [{ "name": "os" }] }
|
||||
```
|
||||
|
||||
### Model Context Protocol
|
||||
### Using the Model Context Protocol (MCP) in Continue
|
||||
|
||||
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:
|
||||
|
||||
|
|
@ -437,7 +437,7 @@ config.json
|
|||
|
||||
You'll then be able to type "@" and see "MCP" in the context providers dropdown.
|
||||
|
||||
### `@Issue`
|
||||
### @Issue Context Provider – Reference GitHub Issue Conversations
|
||||
|
||||
Reference the conversation in a GitHub issue.
|
||||
|
||||
|
|
@ -474,7 +474,7 @@ config.json
|
|||
|
||||
Make sure to include your own [GitHub personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token) to avoid being rate-limited.
|
||||
|
||||
### `@Database`
|
||||
### @Database Context Provider – Reference Database Table Schemas
|
||||
|
||||
Reference table schemas from Sqlite, Postgres, MSSQL, and MySQL databases.
|
||||
|
||||
|
|
@ -559,7 +559,7 @@ Available connection types:
|
|||
- `mysql`
|
||||
- `sqlite`
|
||||
|
||||
### `@Google`
|
||||
### @Google Context Provider – Reference Google Search Results
|
||||
|
||||
Reference the results of a Google search.
|
||||
|
||||
|
|
@ -592,7 +592,7 @@ For example, type "@Google python tutorial" if you want to search and discuss wa
|
|||
|
||||
Note: You can get an API key for free at [serper.dev](https://serper.dev).
|
||||
|
||||
### `@Gitlab Merge Request`
|
||||
### @Gitlab Merge Request Context Provider – Reference GitLab Merge Requests
|
||||
|
||||
Reference an open MR for this branch on GitLab.
|
||||
|
||||
|
|
@ -616,7 +616,7 @@ config.json
|
|||
|
||||
You will need to create a [personal access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) with the `read_api` scope.
|
||||
|
||||
#### Using Self-Hosted GitLab
|
||||
#### How to Use Self-Hosted GitLab
|
||||
|
||||
You can specify the domain to communicate with by setting the `domain` parameter in your configurtion. By default this is set to `gitlab.com`.
|
||||
|
||||
|
|
@ -646,11 +646,11 @@ config.json
|
|||
}
|
||||
```
|
||||
|
||||
#### Filtering Comments
|
||||
#### How to Provide Context by Filtering Comments
|
||||
|
||||
If you select some code to be edited, you can have the context provider filter out comments for other files. To enable this feature, set `filterComments` to `true`.
|
||||
|
||||
### `@Jira`
|
||||
### @Jira Context Provider – Reference Jira Issues
|
||||
|
||||
Reference the conversation in a Jira issue.
|
||||
|
||||
|
|
@ -718,7 +718,7 @@ You can override this query by setting the `issueQuery` parameter.
|
|||
|
||||
You can set the `maxResults` parameter to limit the number of results returned. The default is `50`.
|
||||
|
||||
### `@Discord`
|
||||
### @Discord Context Provider – Reference Messages in Discord Channels
|
||||
|
||||
Reference the messages in a Discord channel.
|
||||
|
||||
|
|
@ -762,7 +762,7 @@ config.json
|
|||
|
||||
Make sure to include your own [Bot Token](https://discord.com/developers/applications), and join it to your related server . If you want more granular control over which channels are searched, you can specify a list of channel IDs to search in. If you don't want to specify any channels, just include the guild id(Server ID) and all channels will be included. The provider only reads text channels.
|
||||
|
||||
### `@HTTP`
|
||||
### @HTTP Context Provider – Reference Data from an HTTP Request
|
||||
|
||||
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.
|
||||
|
||||
|
|
@ -804,7 +804,7 @@ Response
|
|||
[ { "name": "", "description": "", "content": "" }]// OR{ "name": "", "description": "", "content": ""}
|
||||
```
|
||||
|
||||
### `@Commits`
|
||||
### @Commits Context Provider – Reference Git Commit Metadata and Diffs
|
||||
|
||||
Reference specific git commit metadata and diff or all of the recent commits.
|
||||
|
||||
|
|
@ -833,7 +833,7 @@ config.json
|
|||
|
||||
The depth is how many commits will be loaded into the submenu, defaults to 50. The LastXCommitsDepth is how many recent commits will be included, defaults to 10.
|
||||
|
||||
### `@Greptile`
|
||||
### @Greptile Context Provider – Query Greptile Index of Repo/Branch
|
||||
|
||||
Query a [Greptile](https://www.greptile.com/) index of the current repo/branch.
|
||||
|
||||
|
|
@ -863,6 +863,6 @@ config.json
|
|||
}
|
||||
```
|
||||
|
||||
### Requesting Context Providers
|
||||
### How to Request a New Context Provider in Continue
|
||||
|
||||
Not seeing what you want? Create an issue [here](https://github.com/continuedev/continue/issues/new?assignees=TyDunn&labels=enhancement&projects=&template=feature-request-%F0%9F%92%AA.md&title=) to request a new Context Provider.
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
---
|
||||
title: "Autocomplete"
|
||||
description: "Deep dive into Continue's autocomplete functionality and configuration"
|
||||
title: "Continue Autocomplete Setup and Configuration Guide"
|
||||
description: "Step-by-step guide to setting up and configuring autocomplete in Continue, including Codestral, Ollama, and IDE settings."
|
||||
keywords: [autocomplete]
|
||||
sidebarTitle: Autocomplete
|
||||
---
|
||||
|
||||
### Setting up with Codestral (recommended)
|
||||
## How to Set Up Autocomplete in Continue with Codestral (Recommended)
|
||||
|
||||
If you want to have the best autocomplete experience, we recommend using Codestral, which is available through the [Mistral API](https://console.mistral.ai/). To do this, obtain an API key and add it to your config:
|
||||
|
||||
|
|
@ -45,7 +46,7 @@ If you want to have the best autocomplete experience, we recommend using Codestr
|
|||
"https://api.mistral.ai/v1"` in your `tabAutocompleteModel`.
|
||||
</Tip>
|
||||
|
||||
### Setting up with Ollama (default)
|
||||
## How to Set Up Autocomplete in Continue with Ollama (Local Model)
|
||||
|
||||
If you'd like to run your autocomplete model locally, we recommend using Ollama. To do this, first download the latest version of Ollama from [here](https://ollama.ai). Then, run the following command to download our recommended model:
|
||||
|
||||
|
|
@ -84,37 +85,42 @@ Then, add the model to your configuration:
|
|||
|
||||
Once the model has been downloaded, you should begin to see completions in VS Code.
|
||||
|
||||
NOTE: Typically, thinking-type models are not recommended as they generate more slowly and are not suitable for scenarios that require speed.
|
||||
<Note>
|
||||
Typically, thinking-type models are not recommended as they generate more
|
||||
slowly and are not suitable for scenarios that require speed.
|
||||
</Note>
|
||||
|
||||
However, if you use any thinking-switchable models, you can configure these models for autocomplete functions by turning off the thinking mode.
|
||||
|
||||
For example:
|
||||
|
||||
<Tabs>
|
||||
<Tab title="YAML">
|
||||
<Tab title="YAML">
|
||||
|
||||
```yaml title="config.yaml"
|
||||
models:
|
||||
- name: Qwen3 without Thinking for Autocomplete
|
||||
provider: ollama
|
||||
model: qwen3:4b # qwen3 is a thinking-switchable model
|
||||
roles:
|
||||
- autocomplete
|
||||
requestOptions:
|
||||
extraBodyProperties:
|
||||
think: false # turning off the thinking
|
||||
```
|
||||
</Tab>
|
||||
models:
|
||||
- name: Qwen3 without Thinking for Autocomplete
|
||||
provider: ollama
|
||||
model: qwen3:4b # qwen3 is a thinking-switchable model
|
||||
roles:
|
||||
- autocomplete
|
||||
requestOptions:
|
||||
extraBodyProperties:
|
||||
think: false # turning off the thinking
|
||||
```
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
Then, in the continue panel, select this model as the default model for autocomplete.
|
||||
|
||||
## Configuration Options
|
||||
## Autocomplete Configuration Options in Continue
|
||||
|
||||
### Hub Autocomplete models
|
||||
### Autocomplete Models Available on the Continue Hub
|
||||
|
||||
Explore autocomplete model configurations on [the hub](https://hub.continue.dev/explore/models?roles=autocomplete)
|
||||
|
||||
### Autocomplete User Settings
|
||||
### Customize Autocomplete User Settings in the Continue Extension
|
||||
|
||||
{/* - `Use autocomplete cache`: If on, caches completions */}
|
||||
The following settings can be configured for autocompletion in the IDE extension [User Settings Page](../settings.md):
|
||||
|
|
@ -122,7 +128,7 @@ The following settings can be configured for autocompletion in the IDE extension
|
|||
- `Multiline Autocompletions`: Controls multiline completions for autocomplete. Can be set to `always`, `never`, or `auto`. Defaults to `auto`
|
||||
- `Disable autocomplete in files`: List of comma-separated glob pattern to disable autocomplete in matching files. E.g., "\_/.md, \*/.txt"
|
||||
|
||||
### Autocomplete Configuration
|
||||
### How to Configure Autocomplete with `config.json` (Deprecated Format)
|
||||
|
||||
#### YAML Configuration
|
||||
|
||||
|
|
@ -149,13 +155,13 @@ models:
|
|||
|
||||
The `config.json` configuration format offers configuration options through `tabAutocompleteOptions`. See the [JSON Reference](/reference/json-reference#tabautocomplete-options) for more details.
|
||||
|
||||
## FAQs
|
||||
## Autocomplete FAQs and Troubleshooting in Continue
|
||||
|
||||
### I want better completions, should I use GPT-4?
|
||||
|
||||
Perhaps surprisingly, the answer is no. The models that we suggest for autocomplete are trained with a highly specific prompt format, which allows them to respond to requests for completing code (see examples of these prompts [here](https://github.com/continuedev/continue/blob/main/core/autocomplete/templating/AutocompleteTemplate.ts)). Some of the best commercial models like GPT-4 or Claude are not trained with this prompt format, which means that they won't generate useful completions. Luckily, a huge model is not required for great autocomplete. Most of the state-of-the-art autocomplete models are no more than 10b parameters, and increasing beyond this does not significantly improve performance.
|
||||
|
||||
### I'm not seeing any completions
|
||||
### Autocomplete Not Working – How to Fix It
|
||||
|
||||
Follow these steps to ensure that everything is set up correctly:
|
||||
|
||||
|
|
@ -167,13 +173,13 @@ Follow these steps to ensure that everything is set up correctly:
|
|||
6. Check VS Code settings to make sure that `"editor.inlineSuggest.enabled"` is set to `true` (use <kbd>cmd/ctrl</kbd> + <kbd>,</kbd> then search for this and check the box)
|
||||
7. If you are still having issues, please let us know in our [Discord](https://discord.gg/vapESyrFmJ) and we'll help as soon as possible.
|
||||
|
||||
### Completions are only ever single-line
|
||||
### Why Are My Completions Only Single-Line?
|
||||
|
||||
To ensure that you receive multi-line completions, you can set `"multilineCompletions": "always"` in `tabAutocompleteOptions`. By default, it is `"auto"`. If you still find that you are only seeing single-line completions, this may be because some models tend to produce shorter completions when starting in the middle of a file. You can try temporarily moving text below your cursor out of your active file, or switching to a larger model.
|
||||
|
||||
### Can I configure a "trigger key" for autocomplete?
|
||||
### How to Set a Trigger Key for Autocomplete Suggestions
|
||||
|
||||
Yes, in VS Code, if you don't want to be shown suggestions automatically you can:
|
||||
In VS Code, if you don't want to be shown suggestions automatically you can:
|
||||
|
||||
1. Set `"editor.inlineSuggest.enabled": false` in VS Code settings to disable automatic suggestions
|
||||
2. Open "Keyboard Shortcuts" (cmd/ctrl+k, cmd/ctrl+s) and search for `editor.action.inlineSuggest.trigger`
|
||||
|
|
@ -181,7 +187,7 @@ Yes, in VS Code, if you don't want to be shown suggestions automatically you can
|
|||
4. Press the key combination you want to use to trigger suggestions (e.g. <kbd>cmd/ctrl</kbd> + <kbd>space</kbd>)
|
||||
5. Now whenever you want to see a suggestion, you can press your key binding (e.g. <kbd>cmd/ctrl</kbd> + <kbd>space</kbd>) to trigger suggestions manually
|
||||
|
||||
### Is there a shortcut to accept one line at a time?
|
||||
### Shortcut for Accepting One Line at a Time in Autocomplete
|
||||
|
||||
This is a built-in feature of VS Code, but it's just a bit hidden. Follow these settings to reassign the keyboard shortcuts in VS Code:
|
||||
|
||||
|
|
@ -192,7 +198,7 @@ This is a built-in feature of VS Code, but it's just a bit hidden. Follow these
|
|||
This will make multi-line completion (including continue and from VS Code built-in or other plugin snippets) still work, and you will see multi-line completion. However, Tab will only fill in one line at a time. Any unnecessary code can be canceled with <kbd>Esc</kbd>.
|
||||
If you need to apply all the code, just press <kbd>Tab</kbd> multiple times.
|
||||
|
||||
### How to turn off autocomplete
|
||||
### How to Turn Off Autocomplete in Continue (VS Code and JetBrains)
|
||||
|
||||
#### VS Code
|
||||
|
||||
|
|
|
|||
|
|
@ -1,18 +1,19 @@
|
|||
---
|
||||
title: "Configuration"
|
||||
title: "How to Configure Continue Assistants"
|
||||
description: Learn how to access and manage Continue assistant configurations through Hub or local YAML files
|
||||
keywords: [config, settings, customize]
|
||||
sidebarTitle: "Assistant Configuration"
|
||||
---
|
||||
|
||||
You can easily access your assistant configuration 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 Assistant selector above the main chat input. Then, you can hover over an assistant and click the `new window` (hub assistants) or `gear` (local assistants) icon.
|
||||
|
||||

|
||||
|
||||
## Hub Assistants
|
||||
## How to Manage Hub Assistants
|
||||
|
||||
Hub Assistants can be managed in [the Hub](https://hub.continue.dev). See [Editing an Assistant](../../hub/assistants/edit-an-assistant.md)
|
||||
|
||||
## YAML Config
|
||||
## How to Configure Local Assistants with YAML
|
||||
|
||||
Local user-level configuration is stored and can be edited in your home directory in `config.yaml`:
|
||||
|
||||
|
|
@ -27,19 +28,19 @@ When editing this file, you can see the available options suggested as you type,
|
|||
|
||||
See the full reference for `config.yaml` [here](/reference).
|
||||
|
||||
## Deprecated configuration methods
|
||||
## Legacy Configuration Methods (Deprecated)
|
||||
|
||||
<Info>
|
||||
View the `config.json` migration guide [here](../yaml-migration.mdx)
|
||||
View the `config.json` migration guide [here](../yaml-migration)
|
||||
</Info>
|
||||
|
||||
- [`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:
|
||||
- [`.continuerc.json`](#how-to-use-continuercjson-for-workspace-configuration) - Workspace-level configuration
|
||||
- [`config.ts`](#how-to-use-configts-for-advanced-configuration) - 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)
|
||||
- `%USERPROFILE%\.continue\config.ts` (Windows)
|
||||
|
||||
### `.continuerc.json`
|
||||
### How to Use `.continuerc.json` for Workspace Configuration
|
||||
|
||||
The format of `.continuerc.json` is the same as `config.json`, plus one _additional_ property `mergeBehavior`, which can be set to either "merge" or "overwrite". If set to "merge" (the default), `.continuerc.json` will be applied on top of `config.json` (arrays and objects are merged). If set to "overwrite", then every top-level property of `.continuerc.json` will overwrite that property from `config.json`.
|
||||
|
||||
|
|
@ -54,7 +55,7 @@ Example
|
|||
}
|
||||
```
|
||||
|
||||
### `config.ts`
|
||||
### How to Use `config.ts` for Advanced Configuration
|
||||
|
||||
`config.yaml` or `config.json` can handle the vast majority of necessary configuration, so we recommend using it whenever possible. However, if you need to programmatically extend Continue configuration, you can use a `config.ts` file, placed at `~/.continue/config.ts` (MacOS / Linux) or `%USERPROFILE%\.continue\config.ts` (Windows).
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +1,15 @@
|
|||
---
|
||||
title: Development Data
|
||||
title: "How to Collect and Manage Development Data in Continue"
|
||||
description: Collecting data on how you build software
|
||||
keywords: [development data, dev data, LLM-aided development]
|
||||
sidebarTitle: "Development Data"
|
||||
---
|
||||
|
||||
When you use Continue, you automatically collect data on how you build software. By default, this development data is saved to `.continue/dev_data` on your local machine.
|
||||
|
||||
You can read more about how development data is generated as a byproduct of LLM-aided development and why we believe that you should start collecting it now: [It’s time to collect data on how you build software](https://blog.continue.dev/its-time-to-collect-data-on-how-you-build-software)
|
||||
|
||||
## Custom Data Destinations
|
||||
## How to Configure Custom Data Destinations
|
||||
|
||||
You can also configure custom destinations for your data, including remote HTTP endpoints and local file directories.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
title: MCP
|
||||
title: "How to Set Up Model Context Protocol (MCP) in Continue"
|
||||
description: MCP use and customization
|
||||
keywords: [tool, use, function calling, claude, automatic]
|
||||
sidebarTitle: "Model Context Protocol (MCP)"
|
||||
---
|
||||
|
||||
As AI systems get better, they're still held back by their training data and
|
||||
|
|
@ -13,7 +14,7 @@ the wider digital world. This standard, created by Anthropic to bring together
|
|||
prompts, context, and tool use, is key for building truly useful AI experiences
|
||||
that can be set up with custom tools.
|
||||
|
||||
## How it works
|
||||
## How MCP Works in Continue
|
||||
|
||||
Currently custom tools can be configured using the Model Context
|
||||
Protocol standard to unify prompts, context, and tool use.
|
||||
|
|
@ -24,7 +25,7 @@ explore available MCP server blocks
|
|||
|
||||
<Info>MCP can only be used in the **agent** mode.</Info>
|
||||
|
||||
## Quick Start
|
||||
## Quick Start: How to Set Up Your First MCP Server
|
||||
|
||||
Below is a quick example of setting up a new MCP server for use in your assistant:
|
||||
|
||||
|
|
@ -53,13 +54,13 @@ The result will be a generated file called `hn.txt` in the current working direc
|
|||
|
||||

|
||||
|
||||
## Continue Documentation Search
|
||||
## How to Set Up Continue Documentation Search with MCP
|
||||
|
||||
You can set up an MCP server to search the Continue documentation directly from your agent. This is particularly useful for getting help with Continue configuration and features.
|
||||
|
||||
For complete setup instructions, troubleshooting, and usage examples, see the [Continue MCP Reference](/reference/continue-mcp).
|
||||
|
||||
## Using MCP Servers
|
||||
## How to Configure MCP Servers
|
||||
|
||||
To set up your own MCP server, read the [MCP
|
||||
quickstart](https://modelcontextprotocol.io/quickstart) and then [create an
|
||||
|
|
@ -100,7 +101,7 @@ server block to your [config file](./configuration.md):
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
### Syntax
|
||||
### How to Configure MCP Server Properties
|
||||
|
||||
MCP blocks follow the established syntax for blocks, with a few additional properties specific to MCP servers.
|
||||
|
||||
|
|
@ -110,11 +111,11 @@ MCP blocks follow the established syntax for blocks, with a few additional prope
|
|||
- `args`: Arguments to pass to the command.
|
||||
- `env`: Secrets to be injected into the command as environment variables.
|
||||
|
||||
### Transport Types
|
||||
### How to Choose MCP Transport Types
|
||||
|
||||
MCP now supports remote server connections through HTTP-based transports, expanding beyond the traditional local stdio transport method. This enables integration with cloud-hosted MCP servers and distributed architectures.
|
||||
|
||||
#### Server-Sent Events Transport (`sse`)
|
||||
#### How to Use Server-Sent Events Transport (`sse`)
|
||||
|
||||
For real-time streaming communication, use the SSE transport:
|
||||
|
||||
|
|
@ -125,7 +126,7 @@ mcpServers:
|
|||
url: https://....
|
||||
```
|
||||
|
||||
#### Standard Input/Output (`stdio`)
|
||||
#### How to Use Standard Input/Output (`stdio`)
|
||||
|
||||
For local MCP servers that communicate via standard input and output:
|
||||
|
||||
|
|
@ -139,7 +140,7 @@ mcpServers:
|
|||
- "/path/to/your/database.db"
|
||||
```
|
||||
|
||||
#### Streamable HTTP Transport (`streamable-http`)
|
||||
#### How to Use Streamable HTTP Transport
|
||||
|
||||
For standard HTTP-based communication with streaming capabilities:
|
||||
|
||||
|
|
@ -154,7 +155,7 @@ These remote transport options allow you to connect to MCP servers hosted on rem
|
|||
|
||||
For detailed information about transport mechanisms and their use cases, refer to the official MCP documentation on [transports](https://modelcontextprotocol.io/docs/concepts/transports#server-sent-events-sse).
|
||||
|
||||
### Working with Secrets
|
||||
### How to Work with Secrets in MCP Servers
|
||||
|
||||
With some MCP servers you will need to use API keys or other secrets. You can leverage locally stored environments secrets
|
||||
as well as access hosted secrets in the Continue Hub. To leverage Hub secrets, you can use the `inputs` property in your MCP env block instead of `secrets`.
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
---
|
||||
title: Model Capabilities
|
||||
title: "How to Configure Model Capabilities in Continue"
|
||||
description: Understanding and configuring model capabilities for tools and image support
|
||||
keywords: [capabilities, tools, function calling, image input, config]
|
||||
sidebarTitle: "Model Capabilities"
|
||||
---
|
||||
|
||||
Continue needs to know what features your models support to provide the best experience. This guide explains how model capabilities work and how to configure them.
|
||||
|
||||
## What are Model Capabilities?
|
||||
## What Are Model Capabilities?
|
||||
|
||||
Model capabilities tell Continue what features a model supports:
|
||||
|
||||
|
|
@ -19,11 +20,11 @@ Without proper capability configuration, you may encounter issues like:
|
|||
- Tools not working at all
|
||||
- Image uploads being disabled
|
||||
|
||||
## How Continue Detects Capabilities
|
||||
## How Continue Detects Model Capabilities
|
||||
|
||||
Continue uses a two-tier system for determining model capabilities:
|
||||
|
||||
### 1. Automatic Detection (Default)
|
||||
### How Automatic Detection Works (Default)
|
||||
|
||||
Continue automatically detects capabilities based on your provider and model name. For example:
|
||||
|
||||
|
|
@ -39,12 +40,14 @@ For implementation details, see:
|
|||
- [toolSupport.ts](https://github.com/continuedev/continue/blob/main/core/llm/toolSupport.ts) - Tool capability detection logic
|
||||
- [@continuedev/llm-info](https://www.npmjs.com/package/@continuedev/llm-info) - Image support detection
|
||||
|
||||
### 2. Manual Configuration
|
||||
### How to Configure Capabilities Manually
|
||||
|
||||
You can add capabilities to models that Continue doesn't automatically detect in your `config.yaml`.
|
||||
|
||||
<Note>
|
||||
You cannot override autodetection - you can only add capabilities. Continue will always use its built-in knowledge about your model in addition to any capabilities you specify.
|
||||
You cannot override autodetection - you can only add capabilities. Continue
|
||||
will always use its built-in knowledge about your model in addition to any
|
||||
capabilities you specify.
|
||||
</Note>
|
||||
|
||||
```yaml
|
||||
|
|
@ -58,7 +61,7 @@ models:
|
|||
- image_input
|
||||
```
|
||||
|
||||
## When to Add Capabilities
|
||||
## When to Add Capabilities Manually
|
||||
|
||||
Add capabilities when:
|
||||
|
||||
|
|
@ -67,9 +70,9 @@ Add capabilities when:
|
|||
3. **Experiencing issues** - Autodetection isn't working correctly for your setup
|
||||
4. **Using proxy services** - Some proxy services modify model capabilities
|
||||
|
||||
## Configuration Examples
|
||||
## How to Configure Model Capabilities (Examples)
|
||||
|
||||
### Basic Configuration
|
||||
### How to Add Basic Tool Support
|
||||
|
||||
Add tool support for a model that Continue doesn't recognize:
|
||||
|
||||
|
|
@ -88,13 +91,13 @@ models:
|
|||
</Info>
|
||||
|
||||
<Warning>
|
||||
**Experimental**: System message tools are available as an experimental feature
|
||||
for models without native tool support. These are not automatically used as a
|
||||
fallback and must be explicitly configured. Most models are trained for native
|
||||
tools, so system message tools may not work as well.
|
||||
**Experimental**: System message tools are available as an experimental
|
||||
feature for models without native tool support. These are not automatically
|
||||
used as a fallback and must be explicitly configured. Most models are trained
|
||||
for native tools, so system message tools may not work as well.
|
||||
</Warning>
|
||||
|
||||
### Disable Capabilities
|
||||
### How to Handle Models with Limited Capabilities
|
||||
|
||||
Explicitly set no capabilities (autodetection will still apply):
|
||||
|
||||
|
|
@ -113,7 +116,7 @@ models:
|
|||
features.
|
||||
</Warning>
|
||||
|
||||
### Multiple Capabilities
|
||||
### How to Enable Multiple Capabilities
|
||||
|
||||
Enable both tools and image support:
|
||||
|
||||
|
|
@ -127,7 +130,7 @@ models:
|
|||
- image_input
|
||||
```
|
||||
|
||||
## Common Scenarios
|
||||
## Common Configuration Scenarios
|
||||
|
||||
Some providers and custom deployments may require explicit capability configuration:
|
||||
|
||||
|
|
@ -148,11 +151,11 @@ models:
|
|||
- image_input # If supports vision
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
## How to Troubleshoot Capability Issues
|
||||
|
||||
For troubleshooting capability-related issues like Agent mode being unavailable or tools not working, see the [Troubleshooting guide](/troubleshooting#agent-mode-is-unavailable-or-tools-arent-working).
|
||||
For troubleshooting capability-related issues like Agent mode being unavailable or tools not working, see the [Troubleshooting guide](/troubleshooting#agent-mode-is-unavailable-or-tools-aren’t-working).
|
||||
|
||||
## Best Practices
|
||||
## Best Practices for Model Capabilities
|
||||
|
||||
1. **Start with autodetection** - Only override if you experience issues
|
||||
2. **Test after changes** - Verify tools and images work as expected
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Prompts
|
||||
title: "Creating Custom Prompts in Continue"
|
||||
description: "Learn how to create reusable prompt files in Continue to streamline repetitive tasks, including examples for code reviews, security checks, and entity generation"
|
||||
---
|
||||
|
||||
Prompts are reusable instructions that can be referenced at any time during chat. They are especially useful as context for repetitive and/or complex tasks.
|
||||
|
|
@ -7,11 +8,11 @@ Prompts are reusable instructions that can be referenced at any time during chat
|
|||
<Info>
|
||||
Prompts were previously defined in a `.prompt` file format, but for
|
||||
consistency we now recommend using the same Markdown format as
|
||||
[rules](./rules.mdx) and adding `alwaysApply: false` to the frontmatter so
|
||||
[rules](./rules) and adding `alwaysApply: false` to the frontmatter so
|
||||
that they are manually triggered.
|
||||
</Info>
|
||||
|
||||
### Quick Start
|
||||
## Quick Start: How to Create Your First Prompt File
|
||||
|
||||
Below is a quick example of setting up a prompt file:
|
||||
|
||||
|
|
@ -30,11 +31,11 @@ Review the currently open file for adherence to Redux best practices, as explain
|
|||
|
||||
Now to use this prompt, you can open Chat, type <kbd>/</kbd>, select the prompt, and type out any additional instructions you'd like to add.
|
||||
|
||||
## Further Examples
|
||||
## Example Prompt Templates for Common Use Cases
|
||||
|
||||
Below are more examples to get you started. You can also visit the Hub to [explore prompts](https://hub.continue.dev/explore/prompts) or [create your own](https://hub.continue.dev/new?type=block&blockType=prompts).
|
||||
|
||||
### Security review
|
||||
### How to Create a Security Review Prompt
|
||||
|
||||
```md title="security-review.md"
|
||||
---
|
||||
|
|
@ -49,7 +50,7 @@ Review the changes in the current git diff for these security best practices:
|
|||
- Is sensitive data handled appropriately throughout the lifecycle?
|
||||
```
|
||||
|
||||
### Pull in commonly used files for tasks
|
||||
### How to Create a Prompt That References Existing Files
|
||||
|
||||
```md title="typeorm-entity-generator.md"
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,25 +1,26 @@
|
|||
---
|
||||
title: "Rules"
|
||||
title: "How to Create and Manage Rules in Continue"
|
||||
description: "Rules are used to provide instructions to the model for Agent, Chat, and Edit requests."
|
||||
keywords: [rules, .continuerules, system, prompt, message]
|
||||
sidebarTitle: "Rules"
|
||||
---
|
||||
|
||||
Rules provide instructions to the model for [Agent](../../features/agent/quick-start), [Chat](../../features/chat/quick-start), and [Edit](../../features/edit/quick-start) requests.
|
||||
|
||||
<Info>
|
||||
Rules are not included in [autocomplete](./autocomplete.mdx) or
|
||||
[apply](../model-roles/apply.mdx).
|
||||
Rules are not included in [autocomplete](./autocomplete) or
|
||||
[apply](../model-roles/apply).
|
||||
</Info>
|
||||
|
||||
## How it works
|
||||
## How Rules Work in Continue
|
||||
|
||||
You can view the current rules by clicking the pen icon above the main toolbar:
|
||||
|
||||

|
||||
|
||||
To form the system message, rules are joined with new lines, in the order they appear in the toolbar. This includes the base chat system message ([see below](#chat-system-message)).
|
||||
To form the system message, rules are joined with new lines, in the order they appear in the toolbar. This includes the base chat system message ([see below](#how-to-customize-chat-system-message)).
|
||||
|
||||
## Quick Start
|
||||
## Quick Start: How to Create Your First Rule File
|
||||
|
||||
Below is a quick example of setting up a new rule file:
|
||||
|
||||
|
|
@ -39,7 +40,7 @@ Now test your rules by asking a question about a file in chat.
|
|||
|
||||

|
||||
|
||||
## Creating rules blocks
|
||||
## How to Create Rules Blocks
|
||||
|
||||
Rules can be added locally using the "Add Rules" button while viewing the Local Assistant's rules.
|
||||
|
||||
|
|
@ -56,7 +57,7 @@ Rules can also be added to an Assistant on the Continue Hub.
|
|||
|
||||
Explore available rules [here](https://hub.continue.dev), or [create your own](https://hub.continue.dev/new?type=block&blockType=rules) in the Hub.
|
||||
|
||||
### Syntax
|
||||
### How to Configure Rule Properties and Syntax
|
||||
|
||||
<Info>
|
||||
Rules were originally defined in YAML format (demonstrated below), but we
|
||||
|
|
@ -125,13 +126,13 @@ rules:
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
### `.continue/rules` folder
|
||||
### How to Set Up Project-Specific Rules
|
||||
|
||||
You can create project-specific rules by adding a `.continue/rules` folder to the root of your project and adding new rule files.
|
||||
|
||||
Rules files are loaded in lexicographical order, so you can prefix them with numbers to control the order in which they are applied. For example: `01-general.md`, `02-frontend.md`, `03-backend.md`.
|
||||
|
||||
### Example: TypeScript Rules
|
||||
### Example: How to Create TypeScript-Specific Rules
|
||||
|
||||
```md title=".continue/rules/typescript.md"
|
||||
---
|
||||
|
|
@ -149,7 +150,7 @@ globs: ["**/*.ts", "**/*.tsx"]
|
|||
- modularize components into smaller, reusable pieces
|
||||
```
|
||||
|
||||
### Chat System Message
|
||||
### How to Customize Chat System Message
|
||||
|
||||
Continue includes a simple default system message for [Agent](../../features/agent/quick-start) and [Chat](../../features/chat/quick-start) requests, to help the model provide reliable codeblock formats in its output.
|
||||
|
||||
|
|
@ -157,7 +158,7 @@ This can be viewed in the rules section of the toolbar (see above), or in the so
|
|||
|
||||
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`
|
||||
### Legacy: .continuerules File (Deprecated)
|
||||
|
||||
<Warning>
|
||||
`.continuerules` will be deprecated in a future release. Please use the
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
title: Slash commands
|
||||
description: Shortcuts that can be activated by prefacing your input with '/'
|
||||
title: "Using Slash Commands in Continue"
|
||||
description: "Learn how to use and create Slash Commands in Continue to run custom prompts, access context providers, and speed up coding tasks."
|
||||
keywords: [slash command, custom commands, step]
|
||||
sidebarTitle: "Slash Commands"
|
||||
---
|
||||
|
||||

|
||||
|
|
@ -18,18 +19,18 @@ Slash commands can be combined with additional instructions, including [context
|
|||
commands.
|
||||
</Note>
|
||||
|
||||
## Prompts
|
||||
## Ways to Create Slash Commands in Continue
|
||||
|
||||
### Assistant prompt blocks
|
||||
### Assistant Prompt Blocks
|
||||
|
||||
The easiest way to add a slash command is by adding [`prompt` blocks](../../hub/blocks/block-types#prompts) to your assistant, which show up as slash commands in [Chat](../../features/chat/how-it-works.mdx).
|
||||
The easiest way to add a slash command is by adding [`prompt` blocks](../../hub/blocks/block-types#prompts) to your assistant, which show up as slash commands in [Chat](../../features/chat/how-it-works).
|
||||
|
||||
### Prompt files
|
||||
### Prompt Files
|
||||
|
||||
It is also possible to write your own slash command by defining a “.prompt file.” Prompt files can be as simple as a text file, but also include templating so that you can refer to files, URLs, highlighted code, and more.
|
||||
|
||||
Learn more about prompt files [here](./prompts).
|
||||
|
||||
### MCP Server prompts
|
||||
### MCP Server Prompts
|
||||
|
||||
Any prompts provided by [Model Context Protocol](https://modelcontextprotocol.io/introduction) servers are also accessible in chat as Slash Commands. See the [MCP Server Deep Dive](./mcp.mdx) for more details.
|
||||
Any prompts provided by [Model Context Protocol](https://modelcontextprotocol.io/introduction) servers are also accessible in chat as Slash Commands. See the [MCP Server Deep Dive](./mcp) for more details.
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
---
|
||||
title: VS Code Actions
|
||||
title: "How to Use Continue's VS Code Actions and Quick Features"
|
||||
keywords: [vscode, quick actions, quick, actions]
|
||||
description: "Learn about Continue's VS Code-specific actions including quick actions buttons, right-click context menu options, debug shortcuts, and quick fixes for errors in your code"
|
||||
sidebarTitle: "VS Code Actions"
|
||||
---
|
||||
|
||||
### Other triggers for Actions (VS Code)
|
||||
|
||||
<Info>Currently all of these are only available in VS Code</Info>
|
||||
|
||||
To make common use cases even more accessible, we provide a handful of other ways to invoke actions in VS Code.
|
||||
|
||||
## Quick actions
|
||||
## How to Use Quick Actions
|
||||
|
||||
Quick Actions are displayed as buttons above top-level classes and functions in your source code, letting you invoke actions with one click. They will edit that class or function, but nothing outside of it. They can also be customized with [.prompt files](./prompts.md) to perform custom actions.
|
||||
|
||||
|
|
@ -17,17 +17,17 @@ Quick Actions are displayed as buttons above top-level classes and functions in
|
|||
|
||||
By default, quick actions are disabled, but can be enabled with the “Continue: Enable Quick Actions” in VS Code settings.
|
||||
|
||||
## Right click actions
|
||||
## How to Use Right Click Actions
|
||||
|
||||
Right click actions let you highlight a desired region of code, right click, and then select an action from the dropdown menu.
|
||||
|
||||
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](../../features/edit/how-it-works.mdx).
|
||||
Right click actions that generate inline diffs use the same prompt and response processing logic as [Edit](../../features/edit/how-it-works).
|
||||
|
||||

|
||||
|
||||
## Debug action
|
||||
## How to Use the Debug Action Shortcut
|
||||
|
||||
The debug action is a special built-in keyboard shortcut in the VS Code extension. Use <kbd>cmd/ctrl</kbd> + <kbd>shift</kbd> + <kbd>R</kbd> to instantly copy the contents of the most recent terminal output into the chat sidebar and get debugging advice. There is no additional, non-visible information sent to the language model.
|
||||
|
||||
|
|
@ -37,10 +37,8 @@ I got the following error, can you please help explain how to fix it?
|
|||
[ERROR_MESSAGE]
|
||||
```
|
||||
|
||||
## Quick fixes
|
||||
## How to Use Quick Fixes for Code Errors
|
||||
|
||||
Whenever you see red/yellow underlines in your code indicating errors, you can place your cursor nearby and VS Code will display a lightbulb icon. Either clicking the lightbulb or using the keyboard shortcut <kbd>cmd/ctrl</kbd> + <kbd>.</kbd> will show a dropdown menu of quick fixes. One of these will be the “Ask Continue” action. Either click or use <kbd>cmd/ctrl</kbd> + <kbd>.</kbd> again and Continue will attempt to help solve the problem.
|
||||
|
||||
Similarly to the debug action, quick actions transparently inject a prompt into the chat window. When you select “Ask Continue”, the 3 lines above and below the error are sent to the chat followed by the question “How do I fix the following problem in the above code?: [ERROR_MESSAGE]”.
|
||||
|
||||

|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
{
|
||||
"label": "Model Providers",
|
||||
"position": 4
|
||||
"position": 1,
|
||||
"link": {
|
||||
"type": "doc",
|
||||
"id": "customize/model-providers/overview"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "SambaNova"
|
||||
description: "Configure SambaNova Cloud with Continue to access their high-performance platform for running large AI models, including Llama 4 Scout with world record open source model performance"
|
||||
---
|
||||
|
||||
The SambaNova Cloud is a cloud platform for running large AI models with the world record open source models performance. You can follow the instructions in [this blog post](https://sambanova.ai/blog/accelerating-coding-with-sambanova-cloud?ref=blog.continue.dev) to configure your setup.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "AskSage"
|
||||
description: "Configure AskSage with Continue to access a wide range of models including government-compliant versions of GPT and Claude models, supporting chat and edit functionalities"
|
||||
---
|
||||
|
||||
<Info>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Cerebras"
|
||||
description: "Configure Cerebras Inference with Continue for fast model inference using specialized silicon, including setup instructions for Llama 3.1 70B model"
|
||||
---
|
||||
|
||||
Cerebras Inference uses specialized silicon to provides fast inference.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Cloudflare"
|
||||
description: "Configure Cloudflare Workers AI with Continue to access various models for chat and autocomplete, including Llama 3 8B and DeepSeek Coder through Cloudflare's serverless AI platform"
|
||||
---
|
||||
|
||||
Cloudflare Workers AI can be used for both chat and tab autocompletion in Continue. Here is an example of Cloudflare Workers AI configuration:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Cohere"
|
||||
description: "Configure Cohere's AI models with Continue, including setup for Command A for chat, embed-v4.0 for embeddings, and rerank-v3.5 for reranking capabilities"
|
||||
---
|
||||
|
||||
Before using Cohere, visit the [Cohere dashboard](https://dashboard.cohere.com/api-keys) to create an API key.
|
||||
|
|
@ -38,7 +39,7 @@ We recommend configuring **Command A** as your chat model.
|
|||
|
||||
Cohere currently does not offer any autocomplete models.
|
||||
|
||||
[Click here](../../model-roles/autocomplete.md) to see a list of autocomplete model providers.
|
||||
[Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers.
|
||||
|
||||
## Embeddings model
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "DeepInfra"
|
||||
description: "Configure DeepInfra with Continue to access low-cost inference for open-source models like Mixtral-8x7B-Instruct, including API setup instructions"
|
||||
---
|
||||
|
||||
[DeepInfra](https://deepinfra.com) provides inference for open-source models at very low cost. To get started with DeepInfra, obtain your API key [here](https://deepinfra.com/dash). Then, find the model you want to use [here](https://deepinfra.com/models?type=text-generation) and copy the name of the model. Continue can then be configured to use the `DeepInfra` LLM class, like the example here:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Flowise"
|
||||
description: "Configure Flowise with Continue to integrate with this low-code/no-code drag & drop tool for building and visualizing LLM applications"
|
||||
---
|
||||
|
||||
[Flowise](https://flowiseai.com/) is a low-code/no-code drag & drop tool with the aim to make it easy for people to visualize and build LLM apps. Continue can then be configured to use the `Flowise` LLM class, like the example here:
|
||||
|
|
|
|||
|
|
@ -1,12 +1,6 @@
|
|||
---
|
||||
title: "Function Network"
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
title: Function Network
|
||||
slug: ../function-network
|
||||
|
||||
description: "Configure Function Network with Continue to access private and affordable AI models, including Llama 3.1, Qwen2.5-Coder, and various embedding models for a user-owned AI experience"
|
||||
---
|
||||
|
||||
> Private, Affordable User-Owned AI
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
title: "Groq"
|
||||
title: "How to Configure Groq with Continue"
|
||||
description: "Configure Groq with Continue to access their ultra-fast inference platform for open-source language models, including the entire Llama 3.1 and 3.3 family with industry-leading speeds"
|
||||
sidebarTitle: "Groq"
|
||||
---
|
||||
|
||||
<Info>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "HuggingFace Inference Endpoints"
|
||||
description: "Configure HuggingFace Inference Endpoints with Continue to deploy and access open-source language models on any cloud, including setup instructions for models like WizardCoder"
|
||||
---
|
||||
|
||||
Hugging Face Inference Endpoints are an easy way to setup instances of open-source language models on any cloud. Sign up for an account and add billing [here](https://huggingface.co/settings/billing), access the Inference Endpoints [here](https://ui.endpoints.huggingface.co), click on “New endpoint”, and fill out the form (e.g. select a model like [WizardCoder-Python-34B-V1.0](https://huggingface.co/WizardLM/WizardCoder-Python-34B-V1.0)), and then deploy your model by clicking “Create Endpoint”. Change `~/.continue/config.json` to look like this:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Intel Extension for PyTorch"
|
||||
description: "Configure Intel Extension for PyTorch (IPEX-LLM) with Continue to run language models with very low latency on Intel CPUs and GPUs, leveraging accelerated Ollama backend"
|
||||
---
|
||||
|
||||
<Info>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Kindo"
|
||||
description: "Configure Kindo with Continue to centralize control over your organization's AI operations with support for commercial and open-source models while ensuring data protection and policy compliance"
|
||||
---
|
||||
|
||||
Kindo offers centralized control over your organization's AI operations, ensuring data protection and compliance with internal policies while supporting various commercial and open-source models. To get started, sign up [here](https://app.kindo.ai/), create an API key in [Settings > API > API Keys](https://app.kindo.ai/settings/api), and choose a model from the list of supported models in the "Available Models" tab or copy and paste the config in [Plugins > Your Configuration](https://app.kindo.ai/plugins).
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Llama.cpp"
|
||||
description: "Configure Llama.cpp with Continue to run local language models using high-performance C++ inference, including setup instructions for the server and client configuration"
|
||||
---
|
||||
|
||||
Run the llama.cpp server binary to start the API server. If running on a remote server, be sure to set host to 0.0.0.0:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Llamafile"
|
||||
description: "Configure Llamafile with Continue to use self-contained binary files that can run open-source language models like Mistral without additional setup"
|
||||
---
|
||||
|
||||
A [llamafile](https://github.com/Mozilla-Ocho/llamafile#readme) is a self-contained binary that can run an open-source LLM. You can configure this provider in your config.json as follows:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "LM Studio"
|
||||
description: "Configure LM Studio with Continue to run open-source models locally, including setup for Llama3.1 8B for chat, embedding models, and instructions for connecting to remote instances"
|
||||
---
|
||||
|
||||
[LM Studio](https://lmstudio.ai) is an application for Mac, Windows, and Linux that makes it easy to locally run open-source models and comes with a great UI. To get started with LM Studio, download from the website, use the UI to download a model, and then start the local inference server. Continue can then be configured to use the `LMStudio` LLM class:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Moonshot AI"
|
||||
description: "Configure Moonshot AI's language models with Continue, including setup instructions for their 8K, 32K, and 128K context window models with competitive pricing"
|
||||
---
|
||||
|
||||
[Moonshot AI](https://platform.moonshot.cn/) provides high-quality large language model services with competitive pricing and excellent performance.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Morph"
|
||||
description: "Configure Morph with Continue to access their optimized models for code application, embeddings, and reranking, designed for fast and accurate integration of AI-generated code changes"
|
||||
---
|
||||
|
||||
Morph provides a fast apply model that helps you quickly and accurately apply code changes from chat suggestions to your files. It's optimized for speed and precision when integrating generated code into your existing codebase. You can sign up for Morph's generous free tier [here](https://morphllm.com/dashboard). Then, update your configuration file as follows:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Msty"
|
||||
description: "Configure Msty with Continue to easily run both online and local open-source models like Llama-2 and DeepSeek Coder through their user-friendly application for Windows, Mac, and Linux"
|
||||
---
|
||||
|
||||
[Msty](https://msty.app/) is an application for Windows, Mac, and Linux that makes it really easy to run online as well as local open-source models, including Llama-2, DeepSeek Coder, etc. No need to fidget with your terminal, run a command, or anything. Just download the app from the website, click a button, and you are up and running. Continue can then be configured to use the `Msty` LLM class:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "NCompass"
|
||||
description: "Configure NCompass Technologies with Continue to access their fast inference engine for open-source models like Google's Gemma 3 Coder"
|
||||
---
|
||||
|
||||
The nCompass Technologies API exposes an extremely fast inference engine for open-source language models. You can sign up [here](https://app.ncompass.tech/api-settings), copy your API key on the initial welcome screen, and then hit the play button on any model from the [nCompass Models list](https://ncompass.tech/models). Change `~/.continue/config.json` to look like this:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Nebius"
|
||||
description: "Configure Nebius AI Studio with Continue to access their language model offerings, including DeepSeek R1 for chat and BAAI embeddings models"
|
||||
---
|
||||
|
||||
You can get an API key from the [Nebius AI Studio API keys page](https://studio.nebius.ai/settings/api-keys)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Novita"
|
||||
description: "Configure Novita AI with Continue to access their affordable and reliable inference platform for language models like Llama 3.1, offering scalable LLM API services"
|
||||
---
|
||||
|
||||
[Novita AI](https://novita.ai?utm_source=github_continuedev&utm_medium=github_readme&utm_campaign=github_link) offers an affordable, reliable, and simple inference platform with scalable [LLM API](https://novita.ai/docs/model-api/reference/introduction.html), empowering developers to build AI applications. Try the [Novita AI Llama 3 API Demo](https://novita.ai/model-api/product/llm-api/playground/meta-llama-llama-3.1-70b-instruct?utm_source=github_continuedev&utm_medium=github_readme&utm_campaign=github_link) today!. You can sign up [here](https://novita.ai/user/login?&redirect=/&utm_source=github_continuedev&utm_medium=github_readme&utm_campaign=github_link), copy your API key on the [Key Management](https://novita.ai/settings/key-management?utm_source=github_continuedev&utm_medium=github_readme&utm_campaign=github_link), and then hit the play button on any model from the [Novita AI Models list](https://novita.ai/llm-api?utm_source=github_continuedev&utm_medium=github_readme&utm_campaign=github_link). Change `~/.continue/config.json` to look like this:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
---
|
||||
title: "NVIDIA"
|
||||
description: "Configure NVIDIA AI models with Continue, including setup for Nemotron-4-340B-Instruct for chat and NVIDIA Retrieval QA Mistral 7B for embeddings"
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
## title: NVIDIA
|
||||
|
||||
<Info>
|
||||
[View the
|
||||
docs](https://docs.nvidia.com/nim/large-language-models/latest/getting-started.html#option-1-from-api-catalog)
|
||||
|
|
@ -46,7 +43,7 @@ We recommend configuring **Nemotron-4-340B-Instruct** as your chat model.
|
|||
|
||||
NVIDIA currently does not offer any autocomplete models.
|
||||
|
||||
[Click here](../../model-roles/autocomplete.md) to see a list of autocomplete model providers.
|
||||
[Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers.
|
||||
|
||||
## Embeddings model
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
title: "OpenRouter"
|
||||
title: "How to Configure OpenRouter with Continue"
|
||||
sidebarTitle: "OpenRouter"
|
||||
description: "Configure OpenRouter with Continue to access various commercial and open-source models through a unified interface, including model capability configuration and advanced request options"
|
||||
---
|
||||
|
||||
OpenRouter is a unified interface for commercial and open-source models, giving you access to the best models at the best prices. You can sign up [here](https://openrouter.ai/signup), create your API key on the [keys page](https://openrouter.ai/keys), and then choose a model from the [list of supported models](https://openrouter.ai/models).
|
||||
|
|
@ -74,10 +76,13 @@ Learn more about available settings [here](https://openrouter.ai/docs).
|
|||
|
||||
## Model Capabilities
|
||||
|
||||
OpenRouter models may require explicit capability configuration because the proxy doesn't always preserve the original model's function calling support.
|
||||
OpenRouter models may require explicit capability configuration because the proxy doesn't always preserve the original model's function calling support.
|
||||
|
||||
<Info>
|
||||
Continue automatically uses system message tools for models that don't support native function calling, so Agent mode should work even without explicit capability configuration. However, you can still override capabilities if needed.
|
||||
Continue automatically uses system message tools for models that don't support
|
||||
native function calling, so Agent mode should work even without explicit
|
||||
capability configuration. However, you can still override capabilities if
|
||||
needed.
|
||||
</Info>
|
||||
|
||||
If you're experiencing issues with Agent mode or tools not working, you can add the capabilities field:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "OpenVINO Model Server"
|
||||
description: "Configure OpenVINO Model Server with Continue to use Intel-optimized models for CPU, iGPU, GPU and NPU via the OpenAI-compatible API, supporting code completion with models like CodeLlama and Qwen"
|
||||
---
|
||||
|
||||
<Info>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
---
|
||||
title: "OVHcloud"
|
||||
description: "Configure OVHcloud AI Endpoints with Continue to access their GDPR-compliant serverless inference API for models like Qwen, Llama, Mistral, and Deepseek, with strong security and data privacy features"
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
## title: OVHcloud AI Endpoints
|
||||
|
||||
OVHcloud AI Endpoints is a serverless inference API that provides access to a curated selection of models (e.g., Llama, Mistral, Qwen, Deepseek). It is designed with security and data privacy in mind and is compliant with GDPR.
|
||||
|
||||
<Info>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Relace"
|
||||
description: "Configure Relace with Continue to access their Fast Apply model, which helps you quickly and reliably apply chat suggestions to your codebase"
|
||||
---
|
||||
|
||||
Relace provides a fast apply model through their API that helps you reliably and almost instantly apply chat suggestions to your codebase. You can sign up and obtain an API key [here](https://app.relace.ai/settings/api-keys). Then, change your configuration file to look like this:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Replicate"
|
||||
description: "Configure Replicate with Continue to access newly released language models or deploy your own through their platform, with support for various models including CodeLLama"
|
||||
---
|
||||
|
||||
Replicate is a great option for newly released language models or models that you've deployed through their platform. Sign up for an account [here](https://replicate.ai/), copy your API key, and then select any model from the [Replicate Streaming List](https://replicate.com/collections/streaming-language-models). Change `~/.continue/config.json` to look like this:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Amazon SageMaker"
|
||||
description: "Configure Amazon SageMaker with Continue to use deployed LLM endpoints for both chat and embedding models, supporting LMI and HuggingFace TEI deployments with AWS credentials"
|
||||
---
|
||||
|
||||
SageMaker can be used for both chat and embedding models. Chat models are supported for endpoints deployed with [LMI](https://docs.djl.ai/docs/serving/serving/docs/lmi/index.html), and embedding models are supported for endpoints deployed with [HuggingFace TEI](https://huggingface.co/blog/sagemaker-huggingface-embedding)
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
---
|
||||
title: "Scaleway"
|
||||
description: "Configure Scaleway Generative APIs with Continue to access AI models hosted in European data centers, offering low latency, data privacy, and EU AI Act compliance with models like Qwen2.5-Coder and BGE-Multilingual-Gemma2"
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
## title: Scaleway
|
||||
|
||||
<Info>
|
||||
Scaleway Generative APIs give you instant access to leading AI models hosted
|
||||
in European data centers, ideal for developers requiring low latency, full
|
||||
|
|
@ -50,7 +47,7 @@ We recommend configuring **Qwen2.5-Coder-32B-Instruct** as your chat model.
|
|||
|
||||
Scaleway currently does not offer any autocomplete models.
|
||||
|
||||
[Click here](../../model-roles/autocomplete.md) to see a list of autocomplete model providers.
|
||||
[Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers.
|
||||
|
||||
## Embeddings model
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
---
|
||||
title: "SiliconFlow"
|
||||
description: "Configure SiliconFlow with Continue to access their AI model platform, featuring Qwen's Coder models for chat and autocomplete, along with various embedding and reranking models"
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
## title: SiliconFlow
|
||||
|
||||
<Info>
|
||||
You can get an API key from the [Silicon
|
||||
Cloud](https://cloud.siliconflow.cn/account/ak).
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Text Generation WebUI"
|
||||
description: "Configure Text Generation WebUI with Continue to use its comprehensive open-source language model UI and local server through its OpenAI-compatible API"
|
||||
---
|
||||
|
||||
TextGenWebUI is a comprehensive, open-source language model UI and local server. You can set it up with an OpenAI-compatible server plugin, and then configure it like this:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
title: "Together AI"
|
||||
title: "How to Configure Together AI with Continue"
|
||||
description: "Configure the Together AI cloud platform for running large language models with Continue, including setup instructions and sample configuration for Qwen2.5 Coder"
|
||||
sidebarTitle: "Together AI"
|
||||
---
|
||||
|
||||
The Together API is a cloud platform for running large AI models. You can sign up [here](https://api.together.xyz/signup), copy your API key on the initial welcome screen, and then hit the play button on any model from the [Together Models list](https://docs.together.ai/docs/serverless-models). Change `~/.continue/config.json` to look like this:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
---
|
||||
title: "Venice AI"
|
||||
description: "Configure Venice AI with Continue to access this privacy-focused generative AI platform that supports open-source LLMs without storing private user data"
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
## title: "Venice AI"
|
||||
|
||||
Venice.AI is a privacy focused generative AI platform, allowing users to interact with open-source LLMs without storing any private user data. To get started with Venice's API, either purchase a pro account, stake $VVV to obtain daily inference allotments or fund your account with USD and head over to https://venice.ai/settings/api. Venice hosts state of the art open-source AI models and supports the OpenAI API standard, allowing users to easily interact with the platform. Learn more about the Venice API at https://venice.ai/api.
|
||||
|
||||
Change `~/.continue/config.json` to look like the following.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "vLLM"
|
||||
description: "Configure vLLM's high-performance inference library with Continue for chat, autocomplete, and embeddings, including setup instructions for Llama3.1, Qwen2.5-Coder, and Nomic Embed models"
|
||||
---
|
||||
|
||||
vLLM is an open-source library for fast LLM inference which typically is used to serve multiple users at the same time. It can also be used to run a large model on multiple GPU:s (e.g. when it doesn´t fit in a single GPU). Run their OpenAI-compatible server using `vllm serve`. See their [server documentation](https://docs.vllm.ai/en/latest/serving/openai_compatible_server.html) and the [engine arguments documentation](https://docs.vllm.ai/en/latest/usage/engine_args.html).
|
||||
|
|
@ -101,6 +102,6 @@ We recommend configuring **Nomic Embed Text** as your embeddings model.
|
|||
|
||||
Continue automatically handles vLLM's response format (which uses `results` instead of `data`).
|
||||
|
||||
[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
|
||||
[Click here](../../model-roles/reranking) to see a list of reranking model providers.
|
||||
|
||||
The continue implementation uses [OpenAI](../top-level/openai.mdx) under the hood. [View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/Vllm.ts)
|
||||
The continue implementation uses [OpenAI](../top-level/openai) under the hood. [View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/Vllm.ts)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "IBM WatsonX"
|
||||
description: "How to configure IBM's watsonx models in Continue, including authentication methods, deployment options, and support for chat, autocomplete, embeddings, and reranking models"
|
||||
---
|
||||
|
||||
watsonx, developed by IBM, offers a variety of pre-trained AI foundation models that can be used for natural language processing (NLP), computer vision, and speech recognition tasks.
|
||||
|
|
|
|||
85
docs/customize/model-providers/overview.mdx
Normal file
85
docs/customize/model-providers/overview.mdx
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
---
|
||||
title: "Model Providers Overview"
|
||||
description: "Continue supports a wide range of AI model providers to power different features like chat, code editing, autocompletion, and embeddings. This overview helps you navigate through the available options and find the right provider for your needs."
|
||||
---
|
||||
|
||||
## Popular Model Providers
|
||||
|
||||
These are the most commonly used model providers that offer a wide range of capabilities:
|
||||
|
||||
| Provider | Description | Capabilities |
|
||||
| :------------------------------------------------------------- | :------------------------------------------------------------------------------ | :------------------------------------------ |
|
||||
| [Anthropic](/customize/model-providers/top-level/anthropic) | Providers of Claude models, known for long context windows and strong reasoning | Chat, Edit, Apply, Embeddings |
|
||||
| [OpenAI](/customize/model-providers/top-level/openai) | Creators of GPT models with strong coding capabilities | Chat, Edit, Apply, Embeddings |
|
||||
| [Azure](/customize/model-providers/top-level/azure) | Microsoft's cloud platform offering OpenAI models | Chat, Edit, Apply, Embeddings |
|
||||
| [Amazon Bedrock](/customize/model-providers/top-level/bedrock) | AWS service offering access to various foundation models | Chat, Edit, Apply, Embeddings |
|
||||
| [Ollama](/customize/model-providers/top-level/ollama) | Run open-source models locally with a simple interface | Chat, Edit, Apply, Embeddings, Autocomplete |
|
||||
| [Google Gemini](/customize/model-providers/top-level/gemini) | Google's multimodal AI models | Chat, Edit, Apply, Embeddings |
|
||||
| [DeepSeek](/customize/model-providers/top-level/deepseek) | Specialized code models with strong performance | Chat, Edit, Apply |
|
||||
| [Mistral](/customize/model-providers/top-level/mistral) | High-performance open models with commercial offerings | Chat, Edit, Apply, Embeddings |
|
||||
| [xAI](/customize/model-providers/top-level/xAI) | Grok models from xAI | Chat, Edit, Apply |
|
||||
| [Vertex AI](/customize/model-providers/top-level/vertexai) | Google Cloud's machine learning platform | Chat, Edit, Apply, Embeddings |
|
||||
| [Inception](/customize/model-providers/top-level/inception) | On-premises open-source model runners | Chat, Edit, Apply |
|
||||
|
||||
## Additional Model Providers
|
||||
|
||||
Beyond the top-level providers, Continue supports many other options:
|
||||
|
||||
### Hosted Services
|
||||
|
||||
| Provider | Description |
|
||||
| :--------------------------------------------------------------------- | :--------------------------------------------------------- |
|
||||
| [Groq](/customize/model-providers/more/groq) | Ultra-fast inference for various open models |
|
||||
| [Together AI](/customize/model-providers/more/together) | Platform for running a variety of open models |
|
||||
| [DeepInfra](/customize/model-providers/more/deepinfra) | Hosting for various open source models |
|
||||
| [OpenRouter](/customize/model-providers/more/openrouter) | Gateway to multiple model providers |
|
||||
| [Cohere](/customize/model-providers/more/cohere) | Models specialized for semantic search and text generation |
|
||||
| [NVIDIA](/customize/model-providers/more/nvidia) | GPU-accelerated model hosting |
|
||||
| [Cloudflare](/customize/model-providers/more/cloudflare) | Edge-based AI inference services |
|
||||
| [HuggingFace](/customize/model-providers/more/huggingfaceinferenceapi) | Platform for open source models |
|
||||
|
||||
### Local Model Options
|
||||
|
||||
| Provider | Description |
|
||||
| :------------------------------------------------------- | :-------------------------------------------- |
|
||||
| [LM Studio](/customize/model-providers/more/lmstudio) | Desktop app for running models locally |
|
||||
| [llama.cpp](/customize/model-providers/more/llamacpp) | Optimized C++ implementation for running LLMs |
|
||||
| [LlamaStack](/customize/model-providers/more/llamastack) | Stack for running Llama models locally |
|
||||
| [llamafile](/customize/model-providers/more/llamafile) | Self-contained executable model files |
|
||||
|
||||
### Enterprise Solutions
|
||||
|
||||
| Provider | Description |
|
||||
| :----------------------------------------------------- | :------------------------------------ |
|
||||
| [SambaNova](/customize/model-providers/more/SambaNova) | Enterprise AI platform |
|
||||
| [Watson x](/customize/model-providers/more/watsonx) | IBM's enterprise AI platform |
|
||||
| [Sagemaker](/customize/model-providers/more/sagemaker) | AWS machine learning platform |
|
||||
| [Nebius](/customize/model-providers/more/nebius) | Cloud-based machine learning platform |
|
||||
|
||||
## How to Choose a Model Provider
|
||||
|
||||
When selecting a model provider, consider:
|
||||
|
||||
1. **Hosting preference**: Do you need local models for offline use or privacy, or are you comfortable with cloud services?
|
||||
2. **Performance requirements**: Different providers offer varying levels of speed, quality, and context length.
|
||||
3. **Specific capabilities**: Some models excel at code generation, others at embeddings or reasoning tasks.
|
||||
4. **Pricing**: Costs vary significantly between providers, from free local options to premium cloud services.
|
||||
5. **API key requirements**: Most cloud providers require API keys that you'll need to configure.
|
||||
|
||||
## Configuration Format
|
||||
|
||||
You can add models to your `config.yaml` file like this:
|
||||
|
||||
```yaml
|
||||
models:
|
||||
- name: My Model
|
||||
provider: openai # Choose provider from the lists above
|
||||
model: gpt-4o # Specific model name
|
||||
apiKey: ${{ secrets.OPENAI_API_KEY }}
|
||||
roles:
|
||||
- chat
|
||||
- edit
|
||||
- apply
|
||||
```
|
||||
|
||||
For more detailed configuration, visit the specific provider pages linked above.
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Anthropic
|
||||
title: "How to Configure Anthropic Claude Models with Continue"
|
||||
slug: ../anthropic
|
||||
description: "Configure Anthropic's Claude models with Continue, including Claude 4 Sonnet with prompt caching capabilities to improve performance and reduce costs for chat applications"
|
||||
sidebarTitle: "Anthropic"
|
||||
---
|
||||
|
||||
<Info>
|
||||
|
|
@ -8,7 +10,7 @@ slug: ../anthropic
|
|||
console](https://console.anthropic.com/account/keys).
|
||||
</Info>
|
||||
|
||||
## Chat model
|
||||
## How to Set Up Anthropic Chat Models
|
||||
|
||||
We recommend configuring **Claude 4 Sonnet** as your chat model.
|
||||
|
||||
|
|
@ -38,25 +40,25 @@ We recommend configuring **Claude 4 Sonnet** as your chat model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Autocomplete model
|
||||
## Anthropic Autocomplete Model Availability
|
||||
|
||||
Anthropic currently does not offer any autocomplete models.
|
||||
|
||||
[Click here](../../model-roles/autocomplete.md) to see a list of autocomplete model providers.
|
||||
[Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers.
|
||||
|
||||
## Embeddings model
|
||||
## Anthropic Embeddings Model Availability
|
||||
|
||||
Anthropic currently does not offer any embeddings models.
|
||||
|
||||
[Click here](../../model-roles/embeddings.mdx) to see a list of embeddings model providers.
|
||||
|
||||
## Reranking model
|
||||
## Anthropic Reranking Model Availability
|
||||
|
||||
Anthropic currently does not offer any reranking models.
|
||||
|
||||
[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
|
||||
|
||||
## Prompt caching
|
||||
## How to Enable Prompt Caching with Claude
|
||||
|
||||
Anthropic supports [prompt caching with Claude](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching), which allows Claude models to cache system messages and conversation history between requests to improve performance and reduce costs.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,19 @@
|
|||
---
|
||||
title: Azure AI Foundry
|
||||
title: "How to Configure Azure AI Foundry with Continue"
|
||||
slug: ../azure
|
||||
description: "Configure Azure AI Foundry with Continue to access models from OpenAI and Mistral with Microsoft's enterprise security features, including setup for GPT-4o, Codestral, and embedding models"
|
||||
sidebarTitle: "Azure AI Foundry"
|
||||
---
|
||||
|
||||
Azure AI Foundry is a cloud-based service that provides access to models from OpenAI, Mistral AI, and others, integrated with the security and enterprise features of the Microsoft Azure platform. To get started, create an Azure AI Foundry resource in the [Azure portal](https://portal.azure.com).
|
||||
|
||||
## Chat model
|
||||
<Info>
|
||||
|
||||
For details on OpenAI model setup, see [Azure OpenAI Service configuration](#how-to-configure-azure-openai-service).
|
||||
|
||||
</Info>
|
||||
|
||||
## How to Set Up Azure AI Foundry Chat Models
|
||||
|
||||
We recommend configuring **GPT-4o** as your chat model.
|
||||
|
||||
|
|
@ -41,7 +49,7 @@ We recommend configuring **GPT-4o** as your chat model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Autocomplete model
|
||||
## How to Set Up Azure AI Foundry Autocomplete Models
|
||||
|
||||
We recommend configuring **Codestral** as your autocomplete model.
|
||||
|
||||
|
|
@ -82,7 +90,7 @@ If you use Azure Machine Learning Studio to deploy Codestral:
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Embeddings model
|
||||
## How to Configure Azure AI Foundry Embeddings Models
|
||||
|
||||
We recommend configuring **text-embedding-3-large** as your embeddings model.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
---
|
||||
title: Amazon Bedrock
|
||||
title: "How to Configure Amazon Bedrock with Continue"
|
||||
slug: ../bedrock
|
||||
description: "Configure Amazon Bedrock with Continue to access foundation models like Claude 3.7 Sonnet for chat, Titan for embeddings, and Cohere for reranking, with AWS credential authentication"
|
||||
sidebarTitle: "Amazon Bedrock"
|
||||
---
|
||||
|
||||
Amazon Bedrock is a fully managed service on AWS that provides access to foundation models from various AI companies through a single API.
|
||||
|
||||
## Chat model
|
||||
## How to Set Up Amazon Bedrock Chat Models
|
||||
|
||||
We recommend configuring **Claude 3.7 Sonnet** as your chat model.
|
||||
|
||||
|
|
@ -75,13 +77,13 @@ We recommend configuring **Claude 3.7 Sonnet** as your chat model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Autocomplete model
|
||||
## How to Set Up Amazon Bedrock Autocomplete Models
|
||||
|
||||
Bedrock currently does not offer any autocomplete models. However, [Codestral from Mistral](https://mistral.ai/news/codestral-2501/) and [Point from Poolside](https://aws.amazon.com/bedrock/poolside/) will be supported in the near future.
|
||||
|
||||
In the meantime, you can view a list of autocomplete model providers [here](../../model-roles/autocomplete.md).
|
||||
In the meantime, you can view a list of autocomplete model providers [here](../../model-roles/autocomplete).
|
||||
|
||||
## Embeddings model
|
||||
## How to Configure Amazon Bedrock Embeddings Models
|
||||
|
||||
We recommend configuring [`amazon.titan-embed-text-v2:0`](https://docs.aws.amazon.com/bedrock/latest/devguide/models.html#amazon.titan-embed-text-v2-0) as your embeddings model.
|
||||
|
||||
|
|
@ -112,7 +114,7 @@ We recommend configuring [`amazon.titan-embed-text-v2:0`](https://docs.aws.amazo
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Reranking model
|
||||
## How to Configure Amazon Bedrock Reranking Models
|
||||
|
||||
We recommend configuring `cohere.rerank-v3-5:0` as your reranking model, you may also use `amazon.rerank-v1:0`.
|
||||
|
||||
|
|
@ -144,7 +146,7 @@ We recommend configuring `cohere.rerank-v3-5:0` as your reranking model, you may
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Prompt caching
|
||||
## How to Enable Prompt Caching with Amazon Bedrock
|
||||
|
||||
Bedrock allows Claude models to cache tool payloads, system messages, and chat
|
||||
messages between requests. Enable this behavior by adding
|
||||
|
|
@ -174,7 +176,7 @@ models:
|
|||
|
||||
Prompt caching is not supported in JSON configuration files, so use the YAML syntax above to enable it.
|
||||
|
||||
## Authentication
|
||||
## How to Set Up Authentication for Amazon Bedrock
|
||||
|
||||
Authentication will be through temporary or long-term credentials in
|
||||
`~/.aws/credentials` under a configured profile (e.g. "bedrock").
|
||||
|
|
@ -221,7 +223,7 @@ You can also use an AWS `accessKeyId` and `secretAccessKey` for authentication i
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Custom Imported Models
|
||||
## How to Configure Custom Imported Models with Amazon Bedrock
|
||||
|
||||
To setup Bedrock using custom imported models, add the following to your config file:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,15 @@
|
|||
---
|
||||
title: DeepSeek
|
||||
title: "How to Configure DeepSeek with Continue"
|
||||
slug: ../deepseek
|
||||
description: "Configure DeepSeek models with Continue, including DeepSeek Chat for general conversations and DeepSeek Coder specifically optimized for code autocomplete and programming tasks"
|
||||
sidebarTitle: "DeepSeek"
|
||||
---
|
||||
|
||||
<Info>
|
||||
You can get an API key from the [DeepSeek console](https://www.deepseek.com/).
|
||||
</Info>
|
||||
|
||||
## Chat model
|
||||
## How to Set Up DeepSeek Chat Models
|
||||
|
||||
We recommend configuring **DeepSeek Chat** as your chat model.
|
||||
|
||||
|
|
@ -37,7 +39,7 @@ We recommend configuring **DeepSeek Chat** as your chat model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Autocomplete model
|
||||
## How to Set Up DeepSeek Autocomplete Models
|
||||
|
||||
We recommend configuring **DeepSeek Coder** as your autocomplete model.
|
||||
|
||||
|
|
@ -67,13 +69,13 @@ We recommend configuring **DeepSeek Coder** as your autocomplete model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Embeddings model
|
||||
## How to Configure DeepSeek Embeddings Models
|
||||
|
||||
DeepSeek currently does not offer any embeddings models.
|
||||
|
||||
[Click here](../../model-roles/embeddings.mdx) to see a list of embeddings model providers.
|
||||
|
||||
## Reranking model
|
||||
## How to Configure DeepSeek Reranking Models
|
||||
|
||||
DeepSeek currently does not offer any reranking models.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Gemini
|
||||
title: "How to Configure Gemini with Continue"
|
||||
slug: ../gemini
|
||||
description: "Configure Google's Gemini models with Continue to access Gemini 2.0 Flash for chat and text-embedding-004 for embeddings with simple API key authentication"
|
||||
sidebarTitle: "Gemini"
|
||||
---
|
||||
|
||||
<Info>
|
||||
|
|
@ -8,7 +10,7 @@ slug: ../gemini
|
|||
Studio](https://aistudio.google.com/).
|
||||
</Info>
|
||||
|
||||
## Chat model
|
||||
## How to Set Up Gemini Chat Models
|
||||
|
||||
We recommend configuring **Gemini 2.0 Flash** as your chat model.
|
||||
|
||||
|
|
@ -38,13 +40,13 @@ We recommend configuring **Gemini 2.0 Flash** as your chat model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Autocomplete model
|
||||
## How to Set Up Gemini Autocomplete Models
|
||||
|
||||
Gemini currently does not offer any autocomplete models.
|
||||
|
||||
[Click here](../../model-roles/autocomplete.md) to see a list of autocomplete model providers.
|
||||
[Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers.
|
||||
|
||||
## Embeddings model
|
||||
## How to Configure Gemini Embeddings Models
|
||||
|
||||
We recommend configuring **text-embedding-004** as your embeddings model.
|
||||
|
||||
|
|
@ -73,7 +75,7 @@ We recommend configuring **text-embedding-004** as your embeddings model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Reranking model
|
||||
## How to Configure Gemini Reranking Models
|
||||
|
||||
Gemini currently does not offer any reranking models.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Inception
|
||||
title: "How to Configure Inception with Continue"
|
||||
slug: ../inception
|
||||
description: "Configure Inception Labs models with Continue, featuring Mercury Coder Small for both chat and autocomplete functions, optimized for programming and code generation tasks"
|
||||
sidebarTitle: "Inception"
|
||||
---
|
||||
|
||||
<Info>
|
||||
|
|
@ -8,7 +10,7 @@ slug: ../inception
|
|||
Dashboard](https://platform.inceptionlabs.ai/dashboard/api-keys).
|
||||
</Info>
|
||||
|
||||
## Chat model
|
||||
## How to Set Up Inception Chat Models
|
||||
|
||||
We recommend configuring **Mercury Coder Small** as your chat model.
|
||||
|
||||
|
|
@ -37,7 +39,7 @@ We recommend configuring **Mercury Coder Small** as your chat model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Autocomplete model
|
||||
## How to Set Up Inception Autocomplete Models
|
||||
|
||||
We also recommend configuring **Mercury Coder Small** as your autocomplete model.
|
||||
|
||||
|
|
@ -66,13 +68,13 @@ We also recommend configuring **Mercury Coder Small** as your autocomplete model
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Embeddings model
|
||||
## How to Configure Inception Embeddings Models
|
||||
|
||||
Inception currently does not offer any embeddings models.
|
||||
|
||||
[Click here](../../model-roles/embeddings.mdx) to see a list of embeddings model providers.
|
||||
|
||||
## Reranking model
|
||||
## How to Configure Inception Reranking Models
|
||||
|
||||
Inception currently does not offer any reranking models.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Mistral
|
||||
title: "How to Configure Mistral with Continue"
|
||||
slug: ../mistral
|
||||
description: "Configure Mistral AI models with Continue, including Mistral Large for chat, Codestral for code autocomplete, and Mistral Embed for embeddings with separate API key options"
|
||||
sidebarTitle: "Mistral"
|
||||
---
|
||||
|
||||
<Info>
|
||||
|
|
@ -12,7 +14,7 @@ slug: ../mistral
|
|||
using `https://api.mistral.ai/v1`.
|
||||
</Info>
|
||||
|
||||
## Chat model
|
||||
## How to Set Up Mistral Chat Models
|
||||
|
||||
We recommend configuring **Mistral Large** as your chat model.
|
||||
|
||||
|
|
@ -44,7 +46,7 @@ We recommend configuring **Mistral Large** as your chat model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Autocomplete model
|
||||
## How to Set Up Mistral Autocomplete Models
|
||||
|
||||
We recommend configuring **Codestral** as your autocomplete model.
|
||||
|
||||
|
|
@ -74,7 +76,7 @@ We recommend configuring **Codestral** as your autocomplete model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Embeddings model
|
||||
## How to Configure Mistral Embeddings Models
|
||||
|
||||
We recommend configuring **Mistral Embed** as your embeddings model.
|
||||
|
||||
|
|
@ -105,7 +107,7 @@ We recommend configuring **Mistral Embed** as your embeddings model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Reranking model
|
||||
## How to Configure Mistral Reranking Models
|
||||
|
||||
Mistral currently does not offer any reranking models.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
---
|
||||
title: Ollama
|
||||
title: "How to Configure Ollama with Continue"
|
||||
slug: ../ollama
|
||||
description: "Configure Ollama with Continue to run powerful open source models locally including Llama3.1 for chat, Qwen2.5-Coder for autocomplete, and Nomic Embed Text for embeddings"
|
||||
sidebarTitle: "Ollama"
|
||||
---
|
||||
|
||||
Ollama is an open-source tool that allows to run large language models (LLMs) locally on their own computers. To use Ollama, you can install it [here](https://ollama.ai/download) and download the model you want to run with the `ollama run` command.
|
||||
|
||||
## Chat model
|
||||
## How to Set Up Ollama Chat Models
|
||||
|
||||
We recommend configuring **Llama3.1 8B** as your chat model.
|
||||
|
||||
|
|
@ -33,7 +35,7 @@ We recommend configuring **Llama3.1 8B** as your chat model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Autocomplete model
|
||||
## How to Configure Ollama Autocomplete Models
|
||||
|
||||
We recommend configuring **Qwen2.5-Coder 1.5B** as your autocomplete model.
|
||||
|
||||
|
|
@ -61,7 +63,7 @@ We recommend configuring **Qwen2.5-Coder 1.5B** as your autocomplete model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Embeddings model
|
||||
## How to Set Up Ollama Embeddings Models
|
||||
|
||||
We recommend configuring **Nomic Embed Text** as your embeddings model.
|
||||
|
||||
|
|
@ -88,13 +90,13 @@ We recommend configuring **Nomic Embed Text** as your embeddings model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Reranking model
|
||||
## Ollama Reranking Model Availability
|
||||
|
||||
Ollama currently does not offer any reranking models.
|
||||
|
||||
[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
|
||||
[Click here](../../model-roles/reranking) to see a list of reranking model providers.
|
||||
|
||||
## Using a remote instance
|
||||
## How to Configure Remote Ollama Instance
|
||||
|
||||
To configure a remote instance of Ollama, add the `"apiBase"` property to your model in config.json:
|
||||
|
||||
|
|
@ -124,7 +126,7 @@ To configure a remote instance of Ollama, add the `"apiBase"` property to your m
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Model Capabilities
|
||||
## How to Configure Model Capabilities in Ollama
|
||||
|
||||
Ollama models usually have their capabilities auto-detected correctly. However, if you're using custom model names or experiencing issues with tools/images not working, you can explicitly set capabilities:
|
||||
|
||||
|
|
@ -160,5 +162,6 @@ Ollama models usually have their capabilities auto-detected correctly. However,
|
|||
</Tabs>
|
||||
|
||||
<Note>
|
||||
Most standard Ollama models (like llama3.1, mistral, etc.) support tool use by default. Vision models (like llava) also support image input.
|
||||
Most standard Ollama models (like llama3.1, mistral, etc.) support tool use by
|
||||
default. Vision models (like llava) also support image input.
|
||||
</Note>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: OpenAI
|
||||
title: "How to Configure OpenAI Models with Continue"
|
||||
slug: ../openai
|
||||
description: "Configure OpenAI models with Continue, including GPT-4o for chat and text-embedding-3-large for embeddings, with support for OpenAI-compatible servers and APIs"
|
||||
sidebarTitle: "OpenAI"
|
||||
---
|
||||
|
||||
<Info>
|
||||
|
|
@ -8,7 +10,7 @@ slug: ../openai
|
|||
console](https://platform.openai.com/account/api-keys)
|
||||
</Info>
|
||||
|
||||
## Chat model
|
||||
## How to Set Up OpenAI Chat Models
|
||||
|
||||
We recommend configuring **GPT-4o** as your chat model.
|
||||
|
||||
|
|
@ -38,13 +40,13 @@ We recommend configuring **GPT-4o** as your chat model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Autocomplete model
|
||||
## OpenAI Autocomplete Model Availability
|
||||
|
||||
OpenAI currently does not offer any autocomplete models.
|
||||
|
||||
[Click here](../../model-roles/autocomplete.md) to see a list of autocomplete model providers.
|
||||
[Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers.
|
||||
|
||||
## Embeddings model
|
||||
## How to Configure OpenAI Embeddings Models
|
||||
|
||||
We recommend configuring **text-embedding-3-large** as your embeddings model.
|
||||
|
||||
|
|
@ -73,13 +75,13 @@ We recommend configuring **text-embedding-3-large** as your embeddings model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Reranking model
|
||||
## OpenAI Reranking Model Availability
|
||||
|
||||
OpenAI currently does not offer any reranking models.
|
||||
|
||||
[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
|
||||
|
||||
## OpenAI compatible servers / APIs
|
||||
## How to Use OpenAI-Compatible Servers and APIs
|
||||
|
||||
OpenAI compatible servers
|
||||
|
||||
|
|
@ -97,6 +99,8 @@ OpenAI compatible APIs
|
|||
- [Anyscale Endpoints](https://github.com/continuedev/deploy-os-code-llm#others)
|
||||
- [Anyscale Private Endpoints](https://github.com/continuedev/deploy-os-code-llm#anyscale-private-endpoints)
|
||||
|
||||
### How to Configure Custom API Base for OpenAI-Compatible Services
|
||||
|
||||
If you are using an OpenAI compatible server / API, you can change the `apiBase` like this:
|
||||
|
||||
<Tabs>
|
||||
|
|
@ -127,6 +131,8 @@ If you are using an OpenAI compatible server / API, you can change the `apiBase`
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
### How to Force Legacy Completions Endpoint Usage
|
||||
|
||||
To force usage of `chat/completions` instead of `completions` endpoint you can set:
|
||||
|
||||
<Tabs>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Vertex AI
|
||||
title: "How to Configure Vertex AI with Continue"
|
||||
slug: ../vertexai
|
||||
description: "Configure Google Cloud's Vertex AI with Continue to access powerful models like Claude 3.5 Sonnet, Codestral, and text-embedding-004 for chat, autocomplete, and embeddings"
|
||||
sidebarTitle: "Vertex AI"
|
||||
---
|
||||
|
||||
<Info>
|
||||
|
|
@ -10,7 +12,7 @@ slug: ../vertexai
|
|||
Credentials](https://cloud.google.com/docs/authentication/provide-credentials-adc).
|
||||
</Info>
|
||||
|
||||
## Chat model
|
||||
## How to Set Up Vertex AI Chat Models
|
||||
|
||||
We recommend configuring **Claude 3.5 Sonnet** as your chat model.
|
||||
|
||||
|
|
@ -43,7 +45,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Autocomplete model
|
||||
## How to Set Up Vertex AI Autocomplete Models
|
||||
|
||||
We recommend configuring **Codestral** or **code-gecko** as your autocomplete model.
|
||||
|
||||
|
|
@ -77,7 +79,7 @@ We recommend configuring **Codestral** or **code-gecko** as your autocomplete mo
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Embeddings model
|
||||
## How to Configure Vertex AI Embeddings Models
|
||||
|
||||
We recommend configuring **text-embedding-004** as your embeddings model.
|
||||
|
||||
|
|
@ -109,13 +111,13 @@ We recommend configuring **text-embedding-004** as your embeddings model.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Reranking model
|
||||
## How to Configure Vertex AI Reranking Models
|
||||
|
||||
Vertex AI currently does not offer any reranking models.
|
||||
|
||||
[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
|
||||
|
||||
## Express mode
|
||||
## How to Enable Vertex AI Express Mode
|
||||
|
||||
You can use VertexAI in [express mode](https://cloud.google.com/vertex-ai/generative-ai/docs/start/express-mode/overview) by only providing an API Key. Only some Gemini models are supported in express mode for now.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,15 @@
|
|||
---
|
||||
title: xAI
|
||||
title: "How to Configure xAI with Continue"
|
||||
slug: ../xai
|
||||
description: "Configure xAI's Grok 4 model with Continue for advanced chat capabilities, with easy API key setup from the xAI console"
|
||||
sidebarTitle: "xAI"
|
||||
---
|
||||
|
||||
<Info>
|
||||
You can get an API key from the [xAI console](https://console.x.ai/)
|
||||
</Info>
|
||||
|
||||
## Chat model
|
||||
## How to Set Up xAI Chat Models
|
||||
|
||||
We recommend configuring **grok-4** as your chat model. For information on other available models, visit [xAI Documentation](https://docs.x.ai/docs/models).
|
||||
|
||||
|
|
@ -40,19 +42,19 @@ We recommend configuring **grok-4** as your chat model. For information on other
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Autocomplete model
|
||||
## How to Set Up xAI Autocomplete Models
|
||||
|
||||
xAI currently does not offer any autocomplete models.
|
||||
|
||||
[Click here](../../model-roles/autocomplete.md) to see a list of autocomplete model providers.
|
||||
[Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers.
|
||||
|
||||
## Embeddings model
|
||||
## How to Configure xAI Embeddings Models
|
||||
|
||||
xAI currently does not offer any embeddings models.
|
||||
|
||||
[Click here](../../model-roles/embeddings.mdx) to see a list of embeddings model providers.
|
||||
|
||||
## Reranking model
|
||||
## How to Configure xAI Reranking Models
|
||||
|
||||
xAI currently does not offer any reranking models.
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
title: "Model roles"
|
||||
sidebarTitle: Overview
|
||||
icon: "circle-info"
|
||||
description: "Learn about the different model roles in Continue including chat, autocomplete, edit, apply, embeddings, and reranking for customizing your AI coding assistant's capabilities"
|
||||
---
|
||||
|
||||
<CardGroup>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ sidebar_label: Introduction
|
|||
Models in Continue can be configured to be used for various roles in the extension.
|
||||
|
||||
- [`chat`](./chat.mdx): Used for chat conversations in the extension sidebar
|
||||
- [`autocomplete`](./autocomplete.md): Used for autocomplete code suggestions in the editor
|
||||
- [`autocomplete`](./autocomplete): Used for autocomplete code suggestions in the editor
|
||||
- [`edit`](./edit.mdx): Used to generate code based on edit prompts
|
||||
- [`apply`](./apply.mdx): Used to decide how to apply edits to a file
|
||||
- [`embed`](./embeddings.mdx): Used to generate embeddings used for vector search (@Codebase and @Docs context providers)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Autocomplete Role
|
||||
description: Autocomplete model role
|
||||
title: "Autocomplete Role in Continue Models"
|
||||
sidebarTitle: "Autocomplete Role"
|
||||
description: "Learn how the autocomplete role works in Continue, which models to use, and how to customize prompt templates for inline code suggestions."
|
||||
keywords: [autocomplete, model, role]
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
|
@ -11,7 +12,7 @@ In Continue, autocomplete models are used to display inline [Autocomplete](../..
|
|||
|
||||
## Recommended Autocomplete models
|
||||
|
||||
Visit the [Autocomplete Deep Dive](../deep-dives/autocomplete.mdx) for recommended models and more details.
|
||||
Visit the [Autocomplete Deep Dive](../deep-dives/autocomplete) for recommended models and more details.
|
||||
|
||||
## Prompt templating
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ sidebar_position: 1
|
|||
|
||||
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](../../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.
|
||||
In Continue, these models are used for normal [Chat](../../features/chat/quick-start) and [VS Code actions](../deep-dives/vscode-actions). The selected chat model will also be used for [Edit](../../features/edit/quick-start) and [Apply](./apply) if no `edit` or `apply` models are specified, respectively.
|
||||
|
||||
## Recommended Chat models
|
||||
|
||||
|
|
@ -17,7 +17,7 @@ For the best overall Chat experience, you will want to use a 400B+ parameter mod
|
|||
|
||||
### Claude Sonnet 3.7 from Anthropic
|
||||
|
||||
Our current top recommendation is Claude 3.7 Sonnet from [Anthropic](../model-providers/top-level/anthropic.mdx).
|
||||
Our current top recommendation is Claude 3.7 Sonnet from [Anthropic](../model-providers/top-level/anthropic).
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
|
|
@ -50,7 +50,7 @@ Our current top recommendation is Claude 3.7 Sonnet from [Anthropic](../model-pr
|
|||
|
||||
### Gemma from Google DeepMind
|
||||
|
||||
If you prefer to use an open-weight model, then the Gemma family of Models from Google DeepMind is a good choice. You will need to decide if you use it through a SaaS model provider, e.g. [Together](../model-providers/more/together.mdx), or self-host it, e.g. [Ollama](../model-providers/top-level/ollama.mdx).
|
||||
If you prefer to use an open-weight model, then the Gemma family of Models from Google DeepMind is a good choice. You will need to decide if you use it through a SaaS model provider, e.g. [Together](../model-providers/more/together), or self-host it, e.g. [Ollama](../model-providers/top-level/ollama).
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
|
|
@ -119,7 +119,7 @@ If you prefer to use an open-weight model, then the Gemma family of Models from
|
|||
|
||||
### GPT-4o from OpenAI
|
||||
|
||||
If you prefer to use a model from [OpenAI](../model-providers/top-level/openai.mdx), then we recommend GPT-4o.
|
||||
If you prefer to use a model from [OpenAI](../model-providers/top-level/openai), then we recommend GPT-4o.
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
|
|
@ -152,7 +152,7 @@ If you prefer to use a model from [OpenAI](../model-providers/top-level/openai.m
|
|||
|
||||
### Grok-2 from xAI
|
||||
|
||||
If you prefer to use a model from [xAI](../model-providers/top-level/xAI.mdx), then we recommend Grok-2.
|
||||
If you prefer to use a model from [xAI](../model-providers/top-level/xAI), then we recommend Grok-2.
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
|
|
@ -185,7 +185,7 @@ If you prefer to use a model from [xAI](../model-providers/top-level/xAI.mdx), t
|
|||
|
||||
### Gemini 2.0 Flash from Google
|
||||
|
||||
If you prefer to use a model from [Google](../model-providers/top-level/gemini.mdx), then we recommend Gemini 2.0 Flash.
|
||||
If you prefer to use a model from [Google](../model-providers/top-level/gemini), then we recommend Gemini 2.0 Flash.
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
|
|
@ -222,7 +222,7 @@ For the best local, offline Chat experience, you will want to use a model that i
|
|||
|
||||
### Llama 3.1 8B
|
||||
|
||||
If your local machine can run an 8B parameter model, then we recommend running Llama 3.1 8B on your machine (e.g. using [Ollama](../model-providers/top-level/ollama.mdx) or [LM Studio](../model-providers/more/lmstudio.mdx)).
|
||||
If your local machine can run an 8B parameter model, then we recommend running Llama 3.1 8B on your machine (e.g. using [Ollama](../model-providers/top-level/ollama) or [LM Studio](../model-providers/more/lmstudio)).
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Hub">
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ sidebar_position: 5
|
|||
|
||||
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](../context/codebase.mdx) to perform similarity search over your codebase.
|
||||
In Continue, embeddings are generated during indexing and then used by [@Codebase](../context/codebase) 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.
|
||||
|
||||
|
|
@ -118,7 +118,7 @@ See [here](../model-providers/top-level/ollama#embeddings-model) for instruction
|
|||
|
||||
### OpenAI
|
||||
|
||||
See [here](../model-providers/top-level/openai#embeddings-model) for instructions on how to use OpenAI for embeddings.
|
||||
See [here](../model-providers/top-level/openai#how-to-configure-openai-embeddings-models) for instructions on how to use OpenAI for embeddings.
|
||||
|
||||
### Cohere
|
||||
|
||||
|
|
@ -126,15 +126,15 @@ See [here](../model-providers/more/cohere#embeddings-model) for instructions on
|
|||
|
||||
### Gemini
|
||||
|
||||
See [here](../model-providers/top-level/gemini#embeddings-model) for instructions on how to use Gemini for embeddings.
|
||||
See [here](../model-providers/top-level/gemini#how-to-configure-gemini-embeddings-models) for instructions on how to use Gemini for embeddings.
|
||||
|
||||
### Vertex
|
||||
|
||||
See [here](../model-providers/top-level/vertexai#embeddings-model) for instructions on how to use Vertex for embeddings.
|
||||
See [here](../model-providers/top-level/vertexai#how-to-configure-vertex-ai-embeddings-models) for instructions on how to use Vertex for embeddings.
|
||||
|
||||
### Mistral
|
||||
|
||||
See [here](../model-providers/top-level/mistral#embeddings-model) for instructions on how to use Mistral for embeddings.
|
||||
See [here](../model-providers/top-level/mistral#how-to-configure-mistral-embeddings-models) for instructions on how to use Mistral for embeddings.
|
||||
|
||||
### NVIDIA
|
||||
|
||||
|
|
@ -142,7 +142,7 @@ See [here](../model-providers/more/nvidia#embeddings-model) for instructions on
|
|||
|
||||
### Bedrock
|
||||
|
||||
See [here](../model-providers/top-level/bedrock#embeddings-model) for instructions on how to use Bedrock for embeddings.
|
||||
See [here](../model-providers/top-level/bedrock#how-to-configure-amazon-bedrock-embeddings-models) for instructions on how to use Bedrock for embeddings.
|
||||
|
||||
### WatsonX
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ sidebar_position: 6
|
|||
|
||||
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](../context/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) in order to select the most relevant code snippets after vector search.
|
||||
|
||||
## Recommended reranking models
|
||||
|
||||
|
|
|
|||
|
|
@ -13,19 +13,19 @@ Master how Continue understands your codebase with powerful context providers fo
|
|||
|
||||
Specialized context features for codebase understanding and documentation integration.
|
||||
|
||||
[Browse Context Features →](/customization/overview#codebase-context)
|
||||
[Browse Context Features →](customize/context/codebase)
|
||||
|
||||
## Deep Dives
|
||||
|
||||
Detailed technical explanations of Continue's internal workings and advanced configuration options.
|
||||
|
||||
[Read Deep Dives →](/customization/overview#configuration)
|
||||
[Read Deep Dives →](/customize/deep-dives/configuration)
|
||||
|
||||
## Model Providers
|
||||
|
||||
Configure and optimize different AI model providers for your specific needs and infrastructure.
|
||||
|
||||
[Configure Providers →](/customization/models#openai)
|
||||
[Configure Providers →](/customize/model-providers/overview)
|
||||
|
||||
## Model Roles
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Telemetry"
|
||||
description: "Learn about Continue's anonymous telemetry collection practices, what usage data is collected, and how to opt out if you prefer not to share your usage information"
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@
|
|||
"group": "Model Providers",
|
||||
"icon": "server",
|
||||
"pages": [
|
||||
"customize/model-providers/overview",
|
||||
{
|
||||
"group": "Popular Providers",
|
||||
"pages": [
|
||||
|
|
@ -1008,6 +1009,10 @@
|
|||
{
|
||||
"source": "/customization/overview#documentation-context",
|
||||
"destination": "/customize/context/documentation"
|
||||
},
|
||||
{
|
||||
"source": "/customize/model-providers",
|
||||
"destination": "/customize/model-providers/overview"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
---
|
||||
title: "Context Selection"
|
||||
description: "Learn how Continue's agent mode selects relevant code context using file content, language server definitions, imports, and recent file history."
|
||||
---
|
||||
|
||||
You can use the same methods to manually add context as [Chat](/features/chat/context-selection).
|
||||
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
title: "How Agent Works"
|
||||
title: "How Agent Mode Works"
|
||||
description: "Agent offers the same functionality as Chat, while also including tools in the request to the model and an interface for handling tool calls and responses."
|
||||
---
|
||||
|
||||
## The tool handshake
|
||||
## How the Tool Handshake Works
|
||||
|
||||
Tools provide a flexible, powerful way for models to interface with the external world. They are provided to the model as a JSON object with a name and an arguments schema. For example, a `read_file` tool with a `filepath` argument will give the model the ability to request the contents of a specific file.
|
||||
|
||||
|
|
@ -17,19 +17,18 @@ The following handshake describes how Agent uses tools:
|
|||
6. The model responds, potentially with another tool call and step 2 begins again
|
||||
|
||||
<Info>
|
||||
Tool availability varies by mode:
|
||||
- **Chat mode**: No tools included
|
||||
- **Plan mode**: Only read-only tools included
|
||||
- **Agent mode**: All tools included
|
||||
Tool availability varies by mode: - **Chat mode**: No tools included - **Plan
|
||||
mode**: Only read-only tools included - **Agent mode**: All tools included
|
||||
</Info>
|
||||
|
||||
## Built-in tools
|
||||
## What Built-in Tools Are Available
|
||||
|
||||
Continue includes several built-in tools which provide the model access to IDE functionality.
|
||||
|
||||
### Plan mode tools (read-only)
|
||||
### What Tools Are Available in Plan Mode (Read-Only)
|
||||
|
||||
In Plan mode, only these read-only tools are available:
|
||||
|
||||
- **Read file** (`read_file`)
|
||||
- **Read currently open file** (`read_currently_open_file`)
|
||||
- **List directory** (`ls`)
|
||||
|
|
@ -42,7 +41,7 @@ In Plan mode, only these read-only tools are available:
|
|||
- **View subdirectory** (`view_subdirectory`)
|
||||
- **Codebase tool** (`codebase_tool`)
|
||||
|
||||
### Agent mode tools (all tools)
|
||||
### What Tools Are Available in Agent Mode (All Tools)
|
||||
|
||||
In Agent mode, all tools are available including the read-only tools above plus:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,14 @@
|
|||
## Add Rules Blocks
|
||||
---
|
||||
title: "How to Customize Agent Mode"
|
||||
description: "Learn how to customize Agent Mode in Continue to better fit your workflow and coding style."
|
||||
sidebarTitle: "Customize Agent"
|
||||
---
|
||||
|
||||
## How to Add Rules Blocks
|
||||
|
||||
Adding Rules can be done in your assistant locally or in the Hub. You can explore Rules on the Continue Hub and refer to the [Rules deep dive](/customize/deep-dives/rules) for more details.
|
||||
|
||||
## Customize System Messages
|
||||
## How to Customize System Messages
|
||||
|
||||
You can customize the system messages for Chat, Agent, and Plan modes using model-level configuration:
|
||||
|
||||
|
|
@ -17,11 +23,11 @@ models:
|
|||
basePlanSystemMessage: "You are a planning assistant. Create clear, actionable steps."
|
||||
```
|
||||
|
||||
## Add MCP Tools
|
||||
## How to 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) and consult the [MCP guide](/customize/deep-dives/mcp) for more details.
|
||||
|
||||
## Tool Policies
|
||||
## How to Configure Tool Policies
|
||||
|
||||
You can adjust the Agent's tool usage behavior to three options:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
---
|
||||
title: "Model Setup for Agent Mode"
|
||||
description: "Learn how to set up models for Agent Mode in Continue, including recommended models and configuration options for optimal performance"
|
||||
sidebarTitle: "Model Setup"
|
||||
---
|
||||
|
||||
The models you set up for Chat mode will be used with Agent mode if the model supports tool calling. The recommended models and how to set them up can be found [here](/features/chat/model-setup).
|
||||
|
||||
## System Message Tools
|
||||
## How System Message Tools Work
|
||||
|
||||
<Info>
|
||||
System message tools are experimental and may change in future releases.
|
||||
|
|
@ -8,7 +14,7 @@ The models you set up for Chat mode will be used with Agent mode if the model su
|
|||
|
||||
Continue implements an innovative approach called **system message tools** that ensures consistent tool functionality across all models, regardless of their native capabilities. This allows Agent mode to work seamlessly with a wider range of models and providers.
|
||||
|
||||
### How It Works
|
||||
### How System Message Tools Function
|
||||
|
||||
Instead of relying solely on native tool calling APIs (which vary between providers), Continue converts tools into XML format and includes them in the system message. The model generates tool calls as structured XML within its response, which Continue then parses and executes. This approach provides:
|
||||
|
||||
|
|
@ -17,21 +23,23 @@ Instead of relying solely on native tool calling APIs (which vary between provid
|
|||
- **Better reliability** - Models that struggle with native tools often perform better with system message tools
|
||||
- **Seamless switching** - Change between providers without modifying your workflow
|
||||
|
||||
### Recommended Models
|
||||
### What Models Are Recommended for Agent Mode
|
||||
|
||||
For the best Agent mode experience, we recommend models with strong reasoning and instruction-following capabilities:
|
||||
|
||||
**Premium Models:**
|
||||
|
||||
- **Claude Sonnet 4** (Anthropic) - Our top recommendation for its exceptional tool use and reasoning
|
||||
- **GPT-4** models (OpenAI) - Excellent native tool support
|
||||
- **DeepSeek** models - Strong performance with competitive pricing
|
||||
|
||||
**Local Models:**
|
||||
While more limited in capabilities, these models can work with system message tools:
|
||||
|
||||
- Qwen2.5-Coder 32B - Best local option for Agent mode
|
||||
- Devstral 27B - Good for code-specific tasks
|
||||
- Smaller models (7B-13B) - May struggle with complex tool interactions
|
||||
|
||||
### Configuration
|
||||
### How to Configure Agent Mode
|
||||
|
||||
Agent mode automatically determines whether to use native or system message tools based on the model's capabilities. No additional configuration is required - simply select your model and Continue handles the rest.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: "Plan Mode"
|
||||
description: "Explore and understand code safely with read-only tools"
|
||||
title: "Plan Mode in Continue – Safe, Read-Only Code Exploration"
|
||||
sidebarTitle: "Plan Mode"
|
||||
description: "Learn how to use Plan Mode in Continue to explore and understand codebases safely with read-only tools, search, and analysis before making changes"
|
||||
---
|
||||
|
||||
## What is Plan mode?
|
||||
|
|
@ -9,16 +10,17 @@ Plan mode is a restricted environment that provides read-only access to your cod
|
|||
|
||||

|
||||
|
||||
### Key features
|
||||
### What Are the Key Features of Plan Mode?
|
||||
|
||||
- **Read-only tools**: Access files, search, and analyze without risk
|
||||
- **Safe exploration**: Perfect for understanding unfamiliar codebases
|
||||
- **Planning focus**: Develop implementation strategies before execution
|
||||
- **MCP support**: Works with all MCP tools alongside built-in read-only tools
|
||||
|
||||
### How it works
|
||||
### How Plan Mode Works
|
||||
|
||||
Plan mode filters the available tools to only include read-only operations. This means you can:
|
||||
|
||||
- Read any file in your project
|
||||
- Search through code with grep and glob patterns
|
||||
- View repository structure and diffs
|
||||
|
|
@ -26,11 +28,12 @@ Plan mode filters the available tools to only include read-only operations. This
|
|||
- Use all MCP tools
|
||||
|
||||
But you cannot:
|
||||
|
||||
- Create, edit, or delete files
|
||||
- Run terminal commands
|
||||
- Make any system changes
|
||||
|
||||
### Getting started
|
||||
### How to Get Started with Plan Mode
|
||||
|
||||
Select "Plan" from the mode selector below the chat input, or use `Cmd/Ctrl + .` to cycle through modes.
|
||||
|
||||
|
|
@ -38,12 +41,14 @@ Select "Plan" from the mode selector below the chat input, or use `Cmd/Ctrl + .`
|
|||
|
||||
For detailed information about tools and usage, see the [Agent documentation](/features/agent/how-it-works), which covers both Agent and Plan modes.
|
||||
|
||||
### Common workflow
|
||||
### What Is the Common Workflow for Plan Mode?
|
||||
|
||||
1. **Start in Plan mode** to explore and understand
|
||||
2. **Develop your approach** with the model's help
|
||||
3. **Switch to Agent mode** when ready to implement
|
||||
|
||||
<Tip>
|
||||
Plan mode shares the same interface and context features as Chat and Agent modes. You can use `@` context providers and highlight code just like in other modes.
|
||||
</Tip>
|
||||
Plan mode shares the same interface and context features as Chat and Agent
|
||||
modes. You can use `@` context providers and highlight code just like in other
|
||||
modes.
|
||||
</Tip>
|
||||
|
|
|
|||
|
|
@ -1,28 +1,46 @@
|
|||
---
|
||||
title: "Quick Start"
|
||||
description: "Get started with Continue's Agent mode to automatically implement code changes, fix bugs, and run commands using AI-powered tools that can modify your codebase based on natural language instructions"
|
||||
---
|
||||
|
||||
## How to use it
|
||||
|
||||
Agent equips the Chat model with the tools needed to handle a wide range of coding tasks, allowing the model to make decisions and save you the work of manually finding context and performing actions.
|
||||
|
||||
### When to use each mode
|
||||
<Accordion title="Learn how to choose the right mode" icon="lightbulb">
|
||||
<Columns cols={3}>
|
||||
<Card title="Chat Mode" icon="comments">
|
||||
*Learn and discuss without changing code.*
|
||||
|
||||
- **Plan mode**: Use when you want to explore code, understand systems, or plan changes without making modifications. Perfect for:
|
||||
- Understanding unfamiliar codebases
|
||||
- Planning complex refactors
|
||||
- Debugging and investigation
|
||||
- Creating implementation strategies
|
||||
|
||||
- **Agent mode**: Use when you're ready to make changes. Ideal for:
|
||||
- Implementing features
|
||||
- Fixing bugs
|
||||
- Running tests and commands
|
||||
- Executing plans developed in Plan mode
|
||||
**Mental Model:** Talking to a knowledgeable colleague
|
||||
|
||||
### Use Agent
|
||||
**Best For:** Explaining concepts, comparing approaches, code review discussions.
|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="Plan Mode" icon="binoculars">
|
||||
*Safely explore and plan with read-only tools.*
|
||||
|
||||
**Mental Model:** Architect surveying before renovation
|
||||
|
||||
**Best For:** Understanding a codebase, bug investigation, planning implementations.
|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="Agent Mode" icon="hammer">
|
||||
*Make actual changes with full tool access.*
|
||||
|
||||
**Mental Model:** Contractor executing approved blueprints
|
||||
|
||||
**Best For:** Implementing features, fixing bugs, running tests and commands.
|
||||
|
||||
</Card>
|
||||
|
||||
</Columns>
|
||||
</Accordion>
|
||||
|
||||
### How to Use Agent Mode
|
||||
|
||||
You can switch to `Agent` in the mode selector below the chat input box. The mode selector offers three options:
|
||||
|
||||
- **Chat**: No tools available, pure conversation
|
||||
- **Plan**: Read-only tools for safe exploration and planning
|
||||
- **Agent**: All tools available for making changes
|
||||
|
|
@ -30,20 +48,20 @@ You can switch to `Agent` in the mode selector below the chat input box. The mod
|
|||

|
||||
|
||||
<Info>
|
||||
If Agent or Plan is disabled with a `Not Supported` message, the selected model or
|
||||
provider doesn't support tools, or Continue doesn't yet support tools with it.
|
||||
See [Model Blocks](/customization/models) for more information.
|
||||
If Agent or Plan is disabled with a `Not Supported` message, the selected
|
||||
model or provider doesn't support tools, or Continue doesn't yet support tools
|
||||
with it. See [Model Blocks](/customization/models) for more information.
|
||||
</Info>
|
||||
|
||||
<Tip>
|
||||
Use the keyboard shortcut `Cmd/Ctrl + .` to quickly cycle between modes.
|
||||
</Tip>
|
||||
|
||||
### Chat with Agent
|
||||
### How to Chat with Agent
|
||||
|
||||
Agent lives within the same interface as [Chat](/features/chat/how-it-works), so the same [input](/features/chat/quick-start#1-start-a-conversation) is used to send messages and you can still use the same manual methods of providing context, such as [`@` context providers](/features/chat/quick-start#3-use--for-additional-context) or adding [highlighted code from the editor](/features/chat/quick-start#2-include-code-context).
|
||||
Agent lives within the same interface as [Chat](/features/chat/how-it-works), so the same [input](/features/chat/quick-start#how-to-start-a-conversation) is used to send messages and you can still use the same manual methods of providing context, such as [`@` context providers](/features/chat/quick-start#how-to-use--for-additional-context) or adding [highlighted code from the editor](/features/chat/quick-start#how-to-include-code-context).
|
||||
|
||||
#### Use natural language
|
||||
#### How to Use Natural Language with Agent
|
||||
|
||||
With Agent, you can provide natural language instruction and let the model do the work. As an example, you might say
|
||||
|
||||
|
|
@ -51,7 +69,7 @@ With Agent, you can provide natural language instruction and let the model do th
|
|||
|
||||
Agent will then decide which tools to use to get the job done.
|
||||
|
||||
## Give Agent permission
|
||||
## How to Give Agent Permission
|
||||
|
||||
By default, Agent will ask permission when it wants to use a tool. Click `Continue` to allow Agent mode to proceed with the tool call or `Cancel` to reject it.
|
||||
|
||||
|
|
@ -59,7 +77,7 @@ By default, Agent will ask permission when it wants to use a tool. Click `Contin
|
|||
|
||||
You can use tool policies to exclude or make usage automatic for specific tools. See [MCP Tools](/customization/mcp-tools) for more background.
|
||||
|
||||
## View Tool Responses
|
||||
## How to View Tool Responses
|
||||
|
||||
Any data returned from a tool call is automatically fed back into the model as a context item. Most errors are also caught and returned, so that Agent mode can decide how to proceed.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,17 +1,22 @@
|
|||
---
|
||||
title: "Context Selection"
|
||||
description: "Learn how Continue's autocomplete selects relevant code context using file content, language server definitions, imports, and recent file history."
|
||||
---
|
||||
|
||||
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
|
||||
## File Prefix and Suffix Context
|
||||
|
||||
We will always include the code from your file prior to and after the cursor position.
|
||||
|
||||
## Definitions from the Language Server Protocol
|
||||
## Language Server Protocol (LSP) Definitions
|
||||
|
||||
Similar to how you can use cmd/ctrl + 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
|
||||
## Imported File Context
|
||||
|
||||
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
|
||||
## Recent File Context
|
||||
|
||||
We automatically consider recently opened or edited files and include snippets that are relevant to the current completion.
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
---
|
||||
title: "How Autocomplete Works"
|
||||
description: "Autocomplete is a that uses a combination of retrieval methods and response processing techniques. The system can be understood in roughly three parts."
|
||||
title: "How Autocomplete Works in Continue"
|
||||
sidebarTitle: "How Autocomplete Works"
|
||||
description: "Understand how Continue's autocomplete works, including timing optimization, context retrieval from your codebase, and filtering to improve AI code suggestions."
|
||||
---
|
||||
|
||||
## Timing
|
||||
## Timing Optimization for Autocomplete
|
||||
|
||||
In order to display suggestions quickly, without sending too many requests, we do the following:
|
||||
|
||||
- Debouncing: If you are typing quickly, we won't make a request on each keystroke. Instead, we wait until you have finished.
|
||||
- Caching: If your cursor is in a position that we've already generated a completion for, this completion is reused. For example, if you backspace, we'll be able to immediately show the suggestion you saw before.
|
||||
|
||||
## Context
|
||||
## Context Retrieval from Your Codebase
|
||||
|
||||
Continue uses a number of retrieval methods to find relevant snippets from your codebase to include in the prompt.
|
||||
|
||||
## Filtering
|
||||
## Filtering and Post-Processing AI Suggestions
|
||||
|
||||
Language models aren't perfect, but can be made much closer by adjusting their output. We do extensive post-processing on responses before displaying a suggestion, including:
|
||||
|
||||
- filtering out special tokens
|
||||
- stopping early when re-generating code
|
||||
- fixing indentation
|
||||
|
||||
We will also occasionally entirely filter out responses if they are bad. This is often due to extreme repetition.
|
||||
- Removing special tokens
|
||||
- Stopping early when regenerating code to avoid long, irrelevant output
|
||||
- Fixing indentation for proper formatting
|
||||
- Occasionally discarding low-quality responses, such as those with excessive repetition
|
||||
|
||||
You can learn more about how it works in the [Autocomplete deep dive](/customization/models#autocomplete).
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
Continue offers a handful of settings to customize autocomplete behavior. Visit the [User Settings Page](/customize/deep-dives/settings/) to manage these settings.
|
||||
---
|
||||
title: “Customize Autocomplete Settings in Continue”
|
||||
description: “Learn how to customize autocomplete behavior in Continue, including user settings, configuration options, and adjustments to improve AI code suggestions in your IDE.”
|
||||
---
|
||||
|
||||
Continue offers a handful of settings to customize autocomplete behavior. Visit the [User Settings Page](/customize/settings) to manage these settings.
|
||||
|
||||
For a comprehensive guide on all configuration options and their impacts, see the [Autocomplete deep dive](/customize/deep-dives/autocomplete).
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
---
|
||||
title: "Recommended Models for Autocomplete in Continue"
|
||||
description: "Choose the best autocomplete model for Continue, including hosted high-performance options, fast speed/quality tradeoffs, and local privacy-first models."
|
||||
sidebarTitle: "Recommended Autocomplete Models"
|
||||
---
|
||||
|
||||
Setting up the right model for autocomplete is crucial for a smooth coding experience. Here are our top recommendations:
|
||||
|
||||
## Recommended Models
|
||||
## Recommended Models for Autocomplete in Continue
|
||||
|
||||
### Hosted (Best Performance)
|
||||
|
||||
|
|
@ -46,4 +52,4 @@ If you're not seeing any completions or need more detailed configuration options
|
|||
|
||||
## Model Compatibility
|
||||
|
||||
To see a complete list of models and their capabilities, visit our [Model Capabilities guide](/customize/deep-dives/model-capabilities#model-compatibility-matrix).
|
||||
To see a complete list of models and their capabilities, visit our [Model Capabilities guide](/customize/deep-dives/model-capabilities).
|
||||
|
|
|
|||
|
|
@ -1,23 +1,27 @@
|
|||
---
|
||||
title: "Quick Start"
|
||||
title: "Quick Start with Continue Autocomplete"
|
||||
description: "Learn how to quickly start using Continue's AI autocomplete in your IDE, including enabling inline code suggestions and keyboard shortcuts for accepting, rejecting, or partially accepting completions."
|
||||
sidebarTitle: "Autocomplete Quick Start"
|
||||
---
|
||||
|
||||
## How to use it
|
||||
## How to Enable and Use Continue Autocomplete
|
||||
|
||||
Autocomplete provides inline code suggestions as you type. To enable it, simply click the "Continue" button in the status bar at the bottom right of your IDE or ensure the "Enable Tab Autocomplete" option is checked in your IDE settings.
|
||||
|
||||
### Accepting a full suggestion
|
||||
## Keyboard Shortcuts for Autocomplete
|
||||
|
||||
### Accept a Full Suggestion
|
||||
|
||||
Accept a full suggestion by pressing `Tab`
|
||||
|
||||
### Rejecting a full suggestion
|
||||
### Reject a Full Suggestion
|
||||
|
||||
Reject a full suggestion with `Esc`
|
||||
|
||||
### Partially accepting a suggestion
|
||||
### Partially Accept a Suggestion
|
||||
|
||||
For more granular control, use `cmd/ctrl` + `→` to accept parts of the suggestion word-by-word.
|
||||
|
||||
### Forcing a suggestion (VS Code)
|
||||
### Force a Suggestion (VS Code)
|
||||
|
||||
If you want to trigger a suggestion immediately without waiting, or if you've dismissed a suggestion and want a new one, you can force it by using the keyboard shortcut **`cmd/ctrl` + `alt` + `space`**.
|
||||
|
|
|
|||
|
|
@ -1,39 +1,45 @@
|
|||
## Input
|
||||
---
|
||||
title: "Chat Mode Context Selection"
|
||||
sidebarTitle: "Context Selection"
|
||||
description: "Learn how Continue selects relevant context for your chat requests, including text input, highlighted code, active files."
|
||||
---
|
||||
|
||||
## How to Use Text Input
|
||||
|
||||
Typing a question or instructions into the input box is the only required context.
|
||||
|
||||
## Highlighted Code
|
||||
## How to Include Highlighted Code
|
||||
|
||||
The highlighted code you've selected by pressing cmd/ctrl + L (VS Code) or cmd/ctrl + J (JetBrains) will be included in your prompt.
|
||||
|
||||
## Active File
|
||||
## How to Include the Active File
|
||||
|
||||
You can include the currently open file as context by pressing opt/alt + enter when you send your request.
|
||||
|
||||
## Specific File
|
||||
## How to Include a Specific File
|
||||
|
||||
You can include a specific file in your current workspace by typing '@Files' and selecting the file.
|
||||
|
||||
## Specific Folder
|
||||
## How to Include a Specific Folder
|
||||
|
||||
You can include a folder in your current workspace by typing '@Folder' and selecting the directory.
|
||||
|
||||
## Codebase Search
|
||||
## How to Use Codebase Search
|
||||
|
||||
You can automatically include relevant files from your codebase by typing '@Codebase'.
|
||||
|
||||
## Documentation Site
|
||||
## How to Include Documentation Sites
|
||||
|
||||
You can include a documentation site as context by typing '@Docs' and selecting the site.
|
||||
|
||||
## Terminal Contents
|
||||
## How to Include Terminal Contents
|
||||
|
||||
You can include the contents of the terminal in your IDE by typing '@Terminal'.
|
||||
|
||||
## Git Diff
|
||||
## How to Include Git Diff
|
||||
|
||||
You can include all of the changes you've made to your current branch by typing '@Git Diff'.
|
||||
|
||||
## Other Context
|
||||
## How to Use Other Context Providers
|
||||
|
||||
You can see a full list of built-in context providers [here](/customize/custom-providers) and learn about how to create your own context provider [here](/guides/build-your-own-context-provider).
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ title: "How Chat Works"
|
|||
description: "Continue's Chat feature provides a conversational interface with AI models directly in your IDE sidebar."
|
||||
---
|
||||
|
||||
## Core Functionality
|
||||
## How Chat Core Functionality Works
|
||||
|
||||
When you start a chat conversation, Continue:
|
||||
|
||||
|
|
@ -12,22 +12,22 @@ When you start a chat conversation, Continue:
|
|||
3. **Sends to Model**: Prompts the configured AI model for a response
|
||||
4. **Streams Response**: Returns the AI response in real-time to the sidebar
|
||||
|
||||
## Context Management
|
||||
## How Context Management Works
|
||||
|
||||
### Automatic Context
|
||||
### What Context Is Automatically Included
|
||||
|
||||
- Selected code in your editor
|
||||
- Current file context when relevant
|
||||
- Previous conversation history in the session
|
||||
|
||||
### Manual Context
|
||||
### How to Add Manual Context
|
||||
|
||||
- `@Codebase` - Search and include relevant code from your project
|
||||
- `@Docs` - Include documentation context
|
||||
- `@Files` - Reference specific files
|
||||
- Custom context providers
|
||||
|
||||
## Response Handling
|
||||
## How Response Handling Works
|
||||
|
||||
Each code section in the AI response includes action buttons:
|
||||
|
||||
|
|
@ -35,19 +35,19 @@ Each code section in the AI response includes action buttons:
|
|||
- **Insert at cursor** - Add code at cursor position
|
||||
- **Copy** - Copy code to clipboard
|
||||
|
||||
## Session Management
|
||||
## How Session Management Works
|
||||
|
||||
- Use `Cmd/Ctrl + L` (VS Code) or `Cmd/Ctrl + J` (JetBrains) to start a new session
|
||||
- Clears all previous context for a fresh start
|
||||
- Helpful for switching between different tasks
|
||||
|
||||
## Advanced Features
|
||||
## What Advanced Features Are Available
|
||||
|
||||
### Prompt Inspection
|
||||
### How to Use Prompt Inspection
|
||||
|
||||
View the exact prompt sent to the AI model in the [prompt logs](/troubleshooting) for debugging and optimization.
|
||||
|
||||
### Context Providers
|
||||
### How to Learn More About Context Providers
|
||||
|
||||
Learn more about how context providers work:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
---
|
||||
title: "How to Customize Chat"
|
||||
description: "Learn how to customize the Chat feature in Continue to better suit your workflow."
|
||||
---
|
||||
|
||||
## How to Customize Chat
|
||||
|
||||
There are a number of different ways to customize Chat:
|
||||
|
||||
- Add a `rules` block to give the model persistent instructions through the system prompt
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ The model you use for for Chat mode will be
|
|||
- used with Edit mode by default but can be switched
|
||||
- always used with Agent mode if the model supports tool calling
|
||||
|
||||
## Recommended Models
|
||||
## What Models Are Recommended for Chat?
|
||||
|
||||
Our strong recommendation is to use [Claude Sonnet 4](https://hub.continue.dev/anthropic/claude-4-sonnet) from Anthropic.
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ Its strong tool calling and reasoning capabilities make it the best model for Ag
|
|||
3. Add `ANTHROPIC_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
|
||||
4. Click `Reload config` in the assistant selector in the Continue IDE extension
|
||||
|
||||
#### Other hosted models
|
||||
### What Other Hosted Models Are Available?
|
||||
|
||||
These models have varying tool calling and reasoning capabilities.
|
||||
|
||||
|
|
@ -67,7 +67,7 @@ These models have varying tool calling and reasoning capabilities.
|
|||
3. Add `TOGETHER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
|
||||
4. Click `Reload config` in the assistant selector in the Continue IDE extension
|
||||
|
||||
#### Local models
|
||||
### What Local Models Are Available?
|
||||
|
||||
These models can be run on your computer if you have enough VRAM.
|
||||
|
||||
|
|
@ -99,6 +99,6 @@ Their limited tool calling and reasoning capabilities will make it challenging t
|
|||
|
||||
For more detailed setup instructions, see [here](/getting-started/install#setup-your-first-model).
|
||||
|
||||
## Model Compatibility
|
||||
## How to Check Model Compatibility
|
||||
|
||||
To see which models support specific features like tool use (for Agent mode) and image input, check out our [Model Capabilities guide](/customize/deep-dives/model-capabilities#model-compatibility-matrix).
|
||||
To see which models support specific features like tool use (for Agent mode) and image input, check out our [Model Capabilities guide](/customize/deep-dives/model-capabilities).
|
||||
|
|
|
|||
|
|
@ -1,12 +1,14 @@
|
|||
---
|
||||
title: "Quick Start"
|
||||
title: "Chat Mode Quick Start"
|
||||
sidebarTitle: "Quick Start"
|
||||
description: "Get started with Continue's AI chat assistant to solve coding problems directly in your IDE, with features for code context sharing, codebase search, and applying generated solutions to your files"
|
||||
---
|
||||
|
||||
Chat makes it easy to ask for help from an AI without leaving your IDE. Get explanations, generate code, and iterate on solutions conversationally.
|
||||
|
||||
## Basic Usage
|
||||
## How to Use Chat - Basic Usage
|
||||
|
||||
### 1. Start a Conversation
|
||||
### How to Start a Conversation
|
||||
|
||||
Type your question or request in the chat input and press Enter.
|
||||
|
||||
|
|
@ -16,7 +18,7 @@ Type your question or request in the chat input and press Enter.
|
|||
- "How do I handle errors in this code?"
|
||||
- "Generate a test for this component"
|
||||
|
||||
### 2. Include Code Context
|
||||
### How to Include Code Context
|
||||
|
||||
Select code in your editor, then use the keyboard shortcut to include it in your chat:
|
||||
|
||||
|
|
@ -27,7 +29,7 @@ Press `Cmd/Ctrl + L` to send selected code to chat
|
|||
|
||||
Press `Cmd/Ctrl + J` to send selected code to chat
|
||||
|
||||
### 3. Use @ for Additional Context
|
||||
### How to Use @ for Additional Context
|
||||
|
||||
Type `@` to include specific context:
|
||||
|
||||
|
|
@ -36,7 +38,7 @@ Type `@` to include specific context:
|
|||
- `@Files` - Reference specific files
|
||||
- `@Terminal` - Include terminal output
|
||||
|
||||
## Working with Responses
|
||||
## How to Work with Responses
|
||||
|
||||
When the AI provides code in its response, you'll see action buttons:
|
||||
|
||||
|
|
@ -44,7 +46,7 @@ When the AI provides code in its response, you'll see action buttons:
|
|||
- **Insert at cursor** - Add code at your cursor position
|
||||
- **Copy** - Copy code to clipboard
|
||||
|
||||
## Pro Tips
|
||||
## What Are the Pro Tips for Chat
|
||||
|
||||
### Start Fresh
|
||||
|
||||
|
|
@ -66,7 +68,7 @@ If the first response isn't perfect:
|
|||
- Request modifications
|
||||
- Provide additional context
|
||||
|
||||
## Common Use Cases
|
||||
## What Are Common Use Cases for Chat
|
||||
|
||||
### Code Explanation
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,13 @@
|
|||
## Input
|
||||
---
|
||||
title: "Context Selection in Edit Mode"
|
||||
sidebarTitle: "Context Selection"
|
||||
description: "Learn how Continue's Edit mode selects relevant code context using file content, language server"
|
||||
---
|
||||
|
||||
The input you provide is included in the prompt.
|
||||
## How to Use Text Input
|
||||
|
||||
## Code to Edit
|
||||
Typing a question or instructions into the input box is the only required context.
|
||||
|
||||
## What Context is Included in Edit Mode
|
||||
|
||||
The **entire contents** of the current file are included in the prompt for context. The model will only attempt to edit the highlighted/specified ranges.
|
||||
|
|
|
|||
|
|
@ -3,7 +3,13 @@ title: "How Edit Works"
|
|||
description: "Using the highlighted code, the contents of the current file containing your highlight, and your input instructions, we prompt the model to edit the code according to your instructions. No other additional context is provided to the model."
|
||||
---
|
||||
|
||||
The model response is then streamed directly back to the highlighted range in your code, where we apply a diff formatting to show the proposed changes.
|
||||
## How Edit Functionality Works
|
||||
|
||||
When you start an edit session, Continue:
|
||||
|
||||
1. **Gathers Context**: Uses the highlighted code and the current file contents
|
||||
2. **Prompts the Model**: Sends the gathered context and your input instructions to the model
|
||||
3. **Applies Changes**: The model response is then streamed directly back to the highlighted range in your code, where we apply a diff formatting to show the proposed changes.
|
||||
|
||||
If you accept the diff, we remove the previously highlighted lines, and if you reject the diff, we remove the proposed changes.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
## Setting active Edit/Apply model
|
||||
---
|
||||
title: "How to Customize Edit Functionality"
|
||||
description: "Learn how to customize the Edit functionality in Continue to better suit your workflow."
|
||||
sidebarTitle: "Customize Edit"
|
||||
---
|
||||
|
||||
## How to Set Active Edit/Apply Model
|
||||
|
||||
You can configure particular models from your Assistant to be used for Edit and Apply requests.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,14 @@
|
|||
---
|
||||
title: "How to Set Up Edit Models"
|
||||
sidebarTitle: "Set Up Edit Models"
|
||||
description: "Learn how to set up and customize models for Edit functionality in Continue."
|
||||
---
|
||||
|
||||
The model you set up for Chat mode will be used for Edit mode by default.
|
||||
|
||||
The recommended models and how to set them up can be found [here](/features/chat/model-setup).
|
||||
|
||||
## Apply Model
|
||||
## How to Set Up an Apply Model
|
||||
|
||||
We also recommend setting up an Apply model for the best Edit experience.
|
||||
|
||||
|
|
@ -11,6 +17,6 @@ We also recommend setting up an Apply model for the best Edit experience.
|
|||
- [Morph v3](https://hub.continue.dev/morphllm/morph-v2)
|
||||
- [Relace Instant Apply](https://hub.continue.dev/relace/instant-apply)
|
||||
|
||||
## Model Compatibility
|
||||
## How to Determine Model Compatibility
|
||||
|
||||
For a complete overview of which models support various features, see our [Model Capabilities guide](/customize/deep-dives/model-capabilities#model-compatibility-matrix).
|
||||
For a complete overview of which models support various features, see our [Model Capabilities guide](/customize/deep-dives/model-capabilities).
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
---
|
||||
title: "Quick Start"
|
||||
title: "Quick Start with Continue Edit"
|
||||
sideBarTitle: "Quick Start"
|
||||
description: "Get started with Continue's Edit feature for making quick, targeted code changes directly in your file using AI suggestions, with keyboard shortcuts for accepting or rejecting modifications"
|
||||
---
|
||||
|
||||
## How to use it
|
||||
## How to Continue Edit
|
||||
|
||||
Edit is a convenient way to make quick changes to specific code and files. Select code, describe your code changes, and a diff will be streamed inline to your file which you can accept or reject.
|
||||
|
||||
|
|
@ -12,15 +14,17 @@ Edit is recommended for small, targeted changes, such as
|
|||
- Generating unit tests
|
||||
- Refactoring functions or methods
|
||||
|
||||
## Highlight code and activate
|
||||
## How to Activate Edit
|
||||
|
||||
Highlight the block of code you would like to modify and press `Cmd+I` (Mac) or `Ctrl+I` (Windows/Linux) to activate Edit mode. You can also press `Cmd/Ctrl+I` with no code highlighted, which will default to inserting code at the current cursor location.
|
||||
|
||||
## Describe code changes
|
||||
Once you've activated Edit, you're ready to provide instructions.
|
||||
|
||||
### How to Provide Instructions
|
||||
|
||||
Describe the changes you would like the model to make to your highlighted code. For edits, a good prompt should be relatively short and concise. For longer, more complex tasks, we recommend using [Chat](/features/chat/quick-start).
|
||||
|
||||
## Accept or reject changes
|
||||
### How to Accept or Reject Changes
|
||||
|
||||
Proposed changes appear as inline diffs within your highlighted text.
|
||||
|
||||
|
|
@ -30,7 +34,6 @@ You can also accept or reject all changes at once using `Cmd+Shift+Enter` (Mac)
|
|||
|
||||
If you want to request a new suggestion for the same highlighted code section, you can use `Cmd+I` (Mac) or `Ctrl+I` (Windows/Linux) to re-prompt the model.
|
||||
|
||||
|
||||
## Jetbrains
|
||||
## How to Use Edit in Jetbrains
|
||||
|
||||
In Jetbrains, Edit is implemented as an inline popup. See the header GIF example.
|
||||
|
|
|
|||
|
|
@ -46,7 +46,10 @@ Plan mode includes these read-only built-in tools:
|
|||
In addition to built-in read-only tools, Plan mode also supports all MCP (Model Context Protocol) tools. This allows integration with external services that provide additional context or analysis capabilities without modifying your local environment.
|
||||
|
||||
<Info>
|
||||
While Plan mode restricts built-in tools to read-only operations, MCP tools are not filtered by Continue. Some MCP tools may have write capabilities that could modify your system or external services. Always verify what actions your MCP tools can perform before using them in Plan mode.
|
||||
While Plan mode restricts built-in tools to read-only operations, MCP tools
|
||||
are not filtered by Continue. Some MCP tools may have write capabilities that
|
||||
could modify your system or external services. Always verify what actions your
|
||||
MCP tools can perform before using them in Plan mode.
|
||||
</Info>
|
||||
|
||||
## The planning workflow
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Quick Start"
|
||||
description: "Get started with Continue's Plan mode to safely explore codebases, plan refactors, debug issues, and develop implementation strategies without modifying code before switching to execution"
|
||||
---
|
||||
|
||||
## How to use it
|
||||
|
|
@ -14,17 +15,18 @@ You can switch to `Plan` in the mode selector below the chat input box.
|
|||
|
||||
<Info>
|
||||
If Plan is disabled with a `Not Supported` message, the selected model or
|
||||
provider doesn't support tools. See [Model Setup](/features/plan/model-setup)
|
||||
provider doesn't support tools. See [Model Setup](/features/agent/model-setup)
|
||||
for more information.
|
||||
</Info>
|
||||
|
||||
### Chat with Plan
|
||||
|
||||
Plan mode lives within the same interface as [Chat](/features/chat/how-it-works) and [Agent](/features/agent/how-it-works), so the same [input](/features/chat/quick-start#1-start-a-conversation) is used to send messages and you can still use the same manual methods of providing context, such as [`@` context providers](/features/chat/quick-start#3-use--for-additional-context) or adding [highlighted code from the editor](/features/chat/quick-start#2-include-code-context).
|
||||
Plan mode lives within the same interface as [Chat](/features/chat/how-it-works) and [Agent](/features/agent/how-it-works), so the same [input](/features/chat/quick-start#how-to-start-a-conversation) is used to send messages and you can still use the same manual methods of providing context, such as [`@` context providers](/features/chat/quick-start#how-to-use--for-additional-context) or adding [highlighted code from the editor](/features/chat/quick-start#how-to-include-code-context).
|
||||
|
||||
#### What makes Plan different
|
||||
|
||||
Unlike Agent mode, Plan mode:
|
||||
|
||||
- Only uses read-only tools (file reading, searching, analysis)
|
||||
- Cannot modify, create, or delete files
|
||||
- Focuses on understanding and planning rather than execution
|
||||
|
|
@ -33,6 +35,7 @@ Unlike Agent mode, Plan mode:
|
|||
### Common use cases
|
||||
|
||||
Plan mode is ideal for:
|
||||
|
||||
- **Code exploration**: Understanding how a codebase works
|
||||
- **Planning refactors**: Analyzing impact before making changes
|
||||
- **Debugging**: Investigating issues without modifying code
|
||||
|
|
@ -56,5 +59,6 @@ Plan mode will analyze the existing code, understand the current implementation,
|
|||
When you're ready to implement your plan, simply switch to Agent mode using the mode selector or keyboard shortcut (`Cmd/Ctrl + .`). The conversation context carries over, so Agent mode can immediately start implementing the plan you developed.
|
||||
|
||||
<Tip>
|
||||
Use the keyboard shortcut `Cmd/Ctrl + .` to quickly cycle between Agent, Chat, and Plan modes.
|
||||
</Tip>
|
||||
Use the keyboard shortcut `Cmd/Ctrl + .` to quickly cycle between Agent, Chat,
|
||||
and Plan modes.
|
||||
</Tip>
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue