Merge branch 'dev' into pe/docs-update-slash-commands
This commit is contained in:
commit
380a48488a
44 changed files with 225 additions and 179 deletions
4
.changes/extensions/vscode/0.8.52.md
Normal file
4
.changes/extensions/vscode/0.8.52.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
## 0.8.52 - 2024-09-16
|
||||
### Changed
|
||||
* Use Chromium only as a fallback after asking user
|
||||
* Redesigned onboarding flow
|
||||
|
|
@ -7,7 +7,7 @@ sidebar_position: 3
|
|||
|
||||
## Slash commands
|
||||
|
||||
Slash commands can be combined with additional instructions, including [context providers](../chat/context-selection.md) or [highlighted code](../chat/context-selection.md).
|
||||
Slash commands can be combined with additional instructions, including [context providers](chat/context-selection.md) or [highlighted code](chat/context-selection.md).
|
||||
|
||||
For example, with the “/edit” slash command you should describe the edit that you want the LLM to perform.
|
||||
|
||||
|
|
@ -7,6 +7,6 @@ sidebar_position: 4
|
|||
|
||||
While many Actions are based on templated prompts and can be customized with .prompt files, there are a number that execute more complex code under the hood.
|
||||
|
||||
Actions that generate inline diffs, like “/edit”, “/comment”, or right click actions, use the same prompt and response processing logic as [Edit](../edit/how-it-works.md).
|
||||
Actions that generate inline diffs, like “/edit”, “/comment”, or right click actions, use the same prompt and response processing logic as [Edit](edit/how-it-works.md).
|
||||
|
||||
To learn how other slash commands work, see the full reference [here](../../customize/slash-commands.md).
|
||||
To learn how other slash commands work, see the full reference [here](../customize/slash-commands.md).
|
||||
|
|
@ -7,20 +7,20 @@ sidebar_position: 5
|
|||
|
||||
## Built-in slash commands
|
||||
|
||||
Continue has a large library of built-in slash commands, but when you first install we only display the most commonly used ones, like “/edit”, “/comment”, and “/share”. To add more actions, you can open [config.json](../../customize/config.mdx) and add them to the `slashCommands` array.
|
||||
Continue has a large library of built-in slash commands, but when you first install we only display the most commonly used ones, like “/edit”, “/comment”, and “/share”. To add more actions, you can open [config.json](../customize/config.mdx) and add them to the `slashCommands` array.
|
||||
|
||||
## Custom slash commands
|
||||
|
||||
There are two ways to add custom slash commands:
|
||||
|
||||
1. With `.prompt` files - this is recommended in most cases. See the full reference [here](../../customize/deep-dives/prompt-files.md).
|
||||
1. With `.prompt` files - this is recommended in most cases. See the full reference [here](../customize/deep-dives/prompt-files.md).
|
||||
2. With `config.ts` - this gives you full programmatic access to the LLM, IDE, and other important entities by writing a JavaScript/TypeScript function
|
||||
|
||||
### Custom Slash Commands with `config.ts`
|
||||
|
||||
<!-- TODO: We need a config.ts reference -->
|
||||
<!-- :::tip[config.ts]
|
||||
Before adding a custom slash command, we recommend reading the [introduction to `config.ts`](../../customize/config.mdx).
|
||||
Before adding a custom slash command, we recommend reading the [introduction to `config.ts`](../customize/config.mdx).
|
||||
::: -->
|
||||
|
||||
If you want to go a step further than writing custom commands with natural language, you can write a custom function that returns the response. This requires using `config.ts` instead of `config.json`.
|
||||
|
|
@ -49,7 +49,7 @@ export function modifyConfig(config: Config): Config {
|
|||
```
|
||||
|
||||
<!-- TODO: We need a config.ts reference -->
|
||||
<!-- For full `config.ts` reference, see [here](../reference/config-ts.md). -->
|
||||
<!-- For full `config.ts` reference, see [here](reference/config-ts.md). -->
|
||||
|
||||
## Other custom actions
|
||||
|
||||
|
|
@ -18,13 +18,13 @@ The most common way to invoke an action is with a slash command. These are short
|
|||
|
||||

|
||||
|
||||
A few of the most useful slash commands are available by default, like “/edit”, “/comment”, and “/share”, but Continue has a large built-in library of other options. To enable these, learn more [here](../../customize/slash-commands.md).
|
||||
A few of the most useful slash commands are available by default, like “/edit”, “/comment”, and “/share”, but Continue has a large built-in library of other options. To enable these, learn more [here](../customize/slash-commands.md).
|
||||
|
||||
### 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.
|
||||
|
||||
The full .prompt file reference can be found [here](../../customize/deep-dives/prompt-files.md).
|
||||
The full .prompt file reference can be found [here](../customize/deep-dives/prompt-files.md).
|
||||
|
||||
:::tip[Prompt library]
|
||||
To assist you in getting started, [we've curated a small library of `.prompt` files](https://github.com/continuedev/prompt-file-examples). We encourage community contributions to this repository, so please consider opening up a pull request with your own prompts!
|
||||
8
docs/docs/actions/model-setup.md
Normal file
8
docs/docs/actions/model-setup.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Model setup
|
||||
description: Actions model setup
|
||||
keywords: [model]
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
By default, Actions uses the same model as [Chat](chat/model-setup.mdx) since we recommend a similar, 400B+ parameter model or one of the frontier models for the complex instructions that will be carried out.
|
||||
|
|
@ -28,4 +28,4 @@ Language models aren't perfect, but can be made much closer by adjusting their o
|
|||
|
||||
We will also occasionally entirely filter out responses if they are bad. This is often due to extreme repetition.
|
||||
|
||||
You can learn more about how it works in the [Autocomplete deep dive](../../customize/deep-dives/autocomplete.md).
|
||||
You can learn more about how it works in the [Autocomplete deep dive](../customize/deep-dives/autocomplete.md).
|
||||
|
|
@ -5,7 +5,7 @@ keywords: [customize]
|
|||
sidebar_position: 5
|
||||
---
|
||||
|
||||
Continue offers a handful of parameters in [`config.json`](../../customize/config.mdx) that can be tuned to find the perfect balance between suggestion quality and system performance for your specific needs and hardware capabilities:
|
||||
Continue offers a handful of parameters in [`config.json`](../customize/config.mdx) that can be tuned to find the perfect balance between suggestion quality and system performance for your specific needs and hardware capabilities:
|
||||
|
||||
```json title="config.json"
|
||||
"tabAutocompleteOptions": {
|
||||
|
|
@ -21,4 +21,4 @@ Continue offers a handful of parameters in [`config.json`](../../customize/confi
|
|||
- `prefixPercentage`: Defines the proportion of the prompt dedicated to the code before the cursor.
|
||||
- `multilineCompletions`: Controls whether suggestions can span multiple lines ("always", "never", or "auto").
|
||||
|
||||
For a comprehensive guide on all configuration options and their impacts, see the [Autocomplete deep dive](../../customize/deep-dives/autocomplete.md).
|
||||
For a comprehensive guide on all configuration options and their impacts, see the [Autocomplete deep dive](../customize/deep-dives/autocomplete.md).
|
||||
|
|
@ -51,4 +51,4 @@ For LM Studio users, navigate to the "My Models" section, find your desired mode
|
|||
|
||||
## Other experiences
|
||||
|
||||
There are many more models and providers you can use with Autocomplete. Check them out [here](../../customize/model-types/autocomplete.md).
|
||||
There are many more models and providers you can use with Autocomplete. Check them out [here](../customize/model-types/autocomplete.md).
|
||||
|
|
@ -19,28 +19,28 @@ You can include the currently open file as context by pressing `cmd/ctrl + opt +
|
|||
|
||||
## Specific file
|
||||
|
||||
You can include a specific file in your current workspace as context by typing [`@Files`](../../customize/context-providers.md#files) and selecting the file.
|
||||
You can include a specific file in your current workspace as context by typing [`@Files`](../customize/context-providers.md#files) and selecting the file.
|
||||
|
||||
## Specific folder
|
||||
|
||||
You can include a folder in your current workspace as context by typing [`@directory`](../../customize/context-providers.md#folders) and selecting the directory. It [works like `@Codebase`](../../customize/deep-dives/codebase.md) but only includes the files in the selected directory.
|
||||
You can include a folder in your current workspace as context by typing [`@Folder`](../customize/context-providers.md#folders) and selecting the directory. It [works like `@Codebase`](../customize/deep-dives/codebase.md) but only includes the files in the selected folder.
|
||||
|
||||
## Entire codebase
|
||||
|
||||
You can include your entire codebase as context by typing [`@Codebase`](../../customize/context-providers.md#codebase-retrieval). You can learn about how @Codebase works [here](../../customize/deep-dives/codebase.md).
|
||||
You can include your entire codebase as context by typing [`@Codebase`](../customize/context-providers.md#codebase-retrieval). You can learn about how @Codebase works [here](../customize/deep-dives/codebase.md).
|
||||
|
||||
## Documentation site
|
||||
|
||||
You can include a documentation site as context by typing [`@Docs`](../../customize/context-providers.md#documentation) and selecting the documentation site. You can learn about how @Docs works [here](../../customize/deep-dives/docs.md).
|
||||
You can include a documentation site as context by typing [`@Docs`](../customize/context-providers.md#documentation) and selecting the documentation site. You can learn about how @Docs works [here](../customize/deep-dives/docs.md).
|
||||
|
||||
## Terminal contents
|
||||
|
||||
You can include the contents of the terminal in your IDE as context by typing [`@Terminal`](../../customize/context-providers.md#terminal).
|
||||
You can include the contents of the terminal in your IDE as context by typing [`@Terminal`](../customize/context-providers.md#terminal).
|
||||
|
||||
## Git diff
|
||||
|
||||
You can include all of the changes you've made to your current branch by typing [`@Git Diff`](../../customize/context-providers.md#git-diff).
|
||||
You can include all of the changes you've made to your current branch by typing [`@Git Diff`](../customize/context-providers.md#git-diff).
|
||||
|
||||
## Other context
|
||||
|
||||
You can see a full list of built-in context providers [here](../../customize/context-providers.md) and how to create your own custom context provider [here](../../customize/tutorials/build-your-own-context-provider.md).
|
||||
You can see a full list of built-in context providers [here](../customize/context-providers.md) and how to create your own custom context provider [here](../customize/tutorials/build-your-own-context-provider.md).
|
||||
|
|
@ -9,6 +9,6 @@ Using any selected code sections, all context that you have selected with @, and
|
|||
|
||||
The model response is then streamed directly back to the sidebar. Each code section included in the response will be placed into its own code block, which gives you buttons to either “Apply to current file”, “Insert at cursor”, or “Copy” for each section. When you press `cmd/ctrl + L` (VS Code) or `cmd/ctrl + J` (JetBrains) at the end of a session, all context is cleared and a new session is started, so that you can begin a new task.
|
||||
|
||||
If you would like to view the exact prompt that is sent to the model during Chat, you can [view this in the prompt logs](../troubleshooting.md#llm-prompt-logs).
|
||||
If you would like to view the exact prompt that is sent to the model during Chat, you can [view this in the prompt logs](troubleshooting.md#llm-prompt-logs).
|
||||
|
||||
You can learn more about how `@Codebase` works [here](../../customize/deep-dives/codebase.md) and `@Docs` [here](../../customize/deep-dives/docs.md).
|
||||
You can learn more about how `@Codebase` works [here](../customize/deep-dives/codebase.md) and `@Docs` [here](../customize/deep-dives/docs.md).
|
||||
13
docs/docs/chat/how-to-customize.md
Normal file
13
docs/docs/chat/how-to-customize.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
title: How to customize
|
||||
description: How to customize Chat
|
||||
keywords: [customize, chat]
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
There are a number of different ways to customize Chat
|
||||
|
||||
- You can configure [`@codebase`](../customize/deep-dives/codebase.md)
|
||||
- You can create your own [custom code RAG](../customize/tutorials/custom-code-rag.md)
|
||||
- You can configure [`@docs`](../customize/deep-dives/docs.md)
|
||||
- You can [build your own context provider](../customize/tutorials/build-your-own-context-provider.md)
|
||||
|
|
@ -9,7 +9,7 @@ import Tabs from "@theme/Tabs";
|
|||
import TabItem from "@theme/TabItem";
|
||||
|
||||
:::info
|
||||
This page recommends models and providers for Chat. Read more about how to set up your `config.json` [here](../../customize/config.mdx).
|
||||
This page recommends models and providers for Chat. Read more about how to set up your `config.json` [here](../customize/config.mdx).
|
||||
:::
|
||||
|
||||
## Best overall experience
|
||||
|
|
@ -18,7 +18,7 @@ For the best overall Chat experience, you will want to use a 400B+ parameter mod
|
|||
|
||||
### Claude Sonnet 3.5 from Anthropic
|
||||
|
||||
Our current top recommendation is Claude Sonnet 3.5 from [Anthropic](../../customize/model-providers/top-level/anthropic.md).
|
||||
Our current top recommendation is Claude Sonnet 3.5 from [Anthropic](../customize/model-providers/top-level/anthropic.md).
|
||||
|
||||
```json title="config.json"
|
||||
"models": [
|
||||
|
|
@ -33,7 +33,7 @@ Our current top recommendation is Claude Sonnet 3.5 from [Anthropic](../../custo
|
|||
|
||||
### Llama 3.1 405B from Meta
|
||||
|
||||
If you prefer to use an open-weight model, then Llama 3.1 405B from Meta is your best option right now. You will need to decide if you use it through a SaaS model provider (e.g. [Together](../../customize/model-providers/more/together.md) or [Groq](../../customize/model-providers/more/groq.md)) or self-host it (e.g. using [vLLM](../../customize/model-providers//more/vllm.md) or [Ollama](../../customize/model-providers/top-level/ollama.md)).
|
||||
If you prefer to use an open-weight model, then Llama 3.1 405B from Meta is your best option right now. You will need to decide if you use it through a SaaS model provider (e.g. [Together](../customize/model-providers/more/together.md) or [Groq](../customize/model-providers/more/groq.md)) or self-host it (e.g. using [vLLM](../customize/model-providers//more/vllm.md) or [Ollama](../customize/model-providers/top-level/ollama.md)).
|
||||
|
||||
<Tabs groupId="providers">
|
||||
<TabItem value="Together">
|
||||
|
|
@ -86,7 +86,7 @@ If you prefer to use an open-weight model, then Llama 3.1 405B from Meta is your
|
|||
|
||||
### GPT-4o from OpenAI
|
||||
|
||||
If you prefer to use a model from [OpenAI](../../customize/model-providers/top-level/openai.md), then we recommend GPT-4o.
|
||||
If you prefer to use a model from [OpenAI](../customize/model-providers/top-level/openai.md), then we recommend GPT-4o.
|
||||
|
||||
```json title="config.json"
|
||||
"models": [
|
||||
|
|
@ -101,7 +101,7 @@ If you prefer to use a model from [OpenAI](../../customize/model-providers/top-l
|
|||
|
||||
### Gemini 1.5 Pro from Google
|
||||
|
||||
If you prefer to use a model from [Google](../../customize/model-providers/top-level/gemini.md), then we recommend Gemini 1.5 Pro.
|
||||
If you prefer to use a model from [Google](../customize/model-providers/top-level/gemini.md), then we recommend Gemini 1.5 Pro.
|
||||
|
||||
```json title="config.json"
|
||||
"models": [
|
||||
|
|
@ -120,7 +120,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](../../customize/model-providers/top-level/ollama.md) or [LM Studio](../../customize/model-providers/more/lmstudio.md)).
|
||||
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](../customize/model-providers/top-level/ollama.md) or [LM Studio](../customize/model-providers/more/lmstudio.md)).
|
||||
|
||||
<Tabs groupId="providers">
|
||||
<TabItem value="Ollama">
|
||||
|
|
@ -149,7 +149,7 @@ If your local machine can run an 8B parameter model, then we recommend running L
|
|||
|
||||
### DeepSeek Coder 2 16B
|
||||
|
||||
If your local machine can run a 16B parameter model, then we recommend running DeepSeek Coder 2 16B (e.g. using [Ollama](../../customize/model-providers/top-level/ollama.md) or [LM Studio](../../customize/model-providers/more/lmstudio.md)).
|
||||
If your local machine can run a 16B parameter model, then we recommend running DeepSeek Coder 2 16B (e.g. using [Ollama](../customize/model-providers/top-level/ollama.md) or [LM Studio](../customize/model-providers/more/lmstudio.md)).
|
||||
|
||||
<Tabs groupId="providers">
|
||||
<TabItem value="Ollama">
|
||||
|
|
@ -181,4 +181,4 @@ If your local machine can run a 16B parameter model, then we recommend running D
|
|||
|
||||
## Other experiences
|
||||
|
||||
There are many more models and providers you can use with Chat beyond those mentioned above. Read more [here](../../customize/model-types/chat.md)
|
||||
There are many more models and providers you can use with Chat beyond those mentioned above. Read more [here](../customize/model-types/chat.md)
|
||||
|
|
@ -7,10 +7,10 @@ sidebar_position: 1
|
|||
|
||||
An "autocomplete model" is an LLM that is trained on a special format called fill-in-the-middle (FIM). This format is designed to be given the prefix and suffix of a code file and predict what goes between. This task is very specific, which on one hand means that the models can be smaller (even a 3B parameter model can perform well). On the other hand, this means that Chat models, though larger, will perform poorly.
|
||||
|
||||
In Continue, these models are used to display inline [Autocomplete](../../docs/chat/how-to-use-it.md) suggestions as you type.
|
||||
In Continue, these models are used to display inline [Autocomplete](../../chat/how-to-use-it.md) suggestions as you type.
|
||||
|
||||
## Recommended Autocomplete models
|
||||
|
||||
If you have the ability to use any model, we recommend [Codestral](../model-providers/top-level/mistral.md) from Mistral.
|
||||
|
||||
If you want to run a model locally, we recommend [Starcoder2-3B] with [Ollama](../model-providers/top-level/ollama.md).
|
||||
If you want to run a model locally, we recommend [Starcoder2-3B] with [Ollama]../model-providers/top-level/ollama.md).
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ keywords: [chat]
|
|||
sidebar_position: 2
|
||||
---
|
||||
|
||||
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 [Chat](../../docs/chat/how-to-use-it.md), [Edit](../../docs/edit/how-to-use-it.md), and [Actions](../../docs/actions/how-to-use-it.md).
|
||||
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 [Chat](../../chat/how-to-use-it.md), [Edit](../../edit/how-to-use-it.md), and [Actions](../../actions/how-to-use-it.md).
|
||||
|
||||
## Recommended Chat models
|
||||
|
||||
|
|
@ -15,4 +15,4 @@ Otherwise, some of the next best options are:
|
|||
|
||||
- [GPT-4o](../model-providers/top-level/openai.md)
|
||||
- [Gemini 1.5 Pro](../model-providers/top-level/gemini.md)
|
||||
- [Llama3.1 405B](../tutorials/llama3.1.md)
|
||||
- [Llama3.1 405B](../tutorials/llama3.1.md)
|
||||
|
|
|
|||
|
|
@ -110,4 +110,4 @@ SambaNova Cloud provides world record Llama3.1 70B/405B serving.
|
|||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
```
|
||||
|
|
|
|||
|
|
@ -7,6 +7,6 @@ keywords: [no internet, air-gapped, local model]
|
|||
Continue can be run even on an air-gapped computer if you use a local model. Only a few adjustments are required for this to work.
|
||||
|
||||
1. Download the latest .vsix file from the [Open VSX Registry](https://open-vsx.org/extension/Continue/continue) and [install it to VS Code](https://code.visualstudio.com/docs/editor/extension-marketplace#_install-from-a-vsix).
|
||||
2. Open `~/.continue/config.json` and set `"allowAnonymousTelemetry": false`. This will stop Continue from attempting requests to PostHog for [anonymous telemetry](../../docs/telemetry.md).
|
||||
2. Open `~/.continue/config.json` and set `"allowAnonymousTelemetry": false`. This will stop Continue from attempting requests to PostHog for [anonymous telemetry](../../telemetry.md).
|
||||
3. Also in `config.json`, set the default model to a local model. You can available options [here](../model-providers/).
|
||||
4. Restart VS Code to ensure that the changes to `config.json` take effect.
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ keywords: [codestral, mistral, model setup]
|
|||
|
||||
**Here is a step-by-step guide on how to set up Codestral with Continue using the Mistral AI API:**
|
||||
|
||||
1. Install the Continue VS Code or JetBrains extension following the instructions [here](../../docs/getting-started/install.md)
|
||||
1. Install the Continue VS Code or JetBrains extension following the instructions [here](../../getting-started/install.md)
|
||||
|
||||
2. Click on the gear icon in the bottom right corner of the Continue window to open `~/.continue/config.json` (MacOS) / `%userprofile%\.continue\config.json` (Windows)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
title: Model setup
|
||||
description: Actions model setup
|
||||
keywords: [model]
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
By default, Actions uses the same model as [Chat](../chat/model-setup.mdx) since we recommend a similar, 400B+ parameter model or one of the frontier models for the complex instructions that will be carried out.
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
---
|
||||
title: How to customize
|
||||
description: How to customize Chat
|
||||
keywords: [customize, chat]
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
There are a number of different ways to customize Chat
|
||||
|
||||
- You can configure [`@Codebase`](../../customize/deep-dives/codebase.md)
|
||||
- You can create your own [custom code RAG](../../customize/tutorials/custom-code-rag.md)
|
||||
- You can configure [`@Docs`](../../customize/deep-dives/docs.md)
|
||||
- You can [build your own context provider](../../customize/tutorials/build-your-own-context-provider.md)
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
---
|
||||
title: Model setup
|
||||
sidebar_position: 2
|
||||
description: How to set up an Edit model
|
||||
keywords: [edit, cmd l, model]
|
||||
---
|
||||
|
||||
By default, Edit uses the [same model as Chat](../chat/model-setup.mdx) since we recommend a similar, 400B+ parameter model or one of the frontier models for code edits.
|
||||
|
||||
You can configure a different model to be used for edits by updating your [`config.json`](../../customize/config.mdx).
|
||||
|
|
@ -11,4 +11,4 @@ The model response is then streamed directly back to the highlighted range in yo
|
|||
|
||||
If you accept the diff, we remove the previously highlighted lines, and if you reject the diff, we remove the proposed changes.
|
||||
|
||||
If you would like to view the exact prompt that is sent to the model during an edit, you can [view this in the prompt logs](../troubleshooting.md#check-the-logs).
|
||||
If you would like to view the exact prompt that is sent to the model during an edit, you can [view this in the prompt logs](troubleshooting.md#check-the-logs).
|
||||
|
|
@ -4,7 +4,6 @@ sidebar_position: 1
|
|||
sidebar_label: How to use it
|
||||
description: How to use Edit
|
||||
keywords: [edit, cmd l, use]
|
||||
slug: /docs/edit
|
||||
---
|
||||
|
||||

|
||||
|
|
@ -25,7 +24,7 @@ Highlight the block of code you would like to modify, and press `cmd/ctrl + i` t
|
|||
|
||||
## Describe code changes
|
||||
|
||||
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](../chat/how-to-use-it.md).
|
||||
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](chat/how-to-use-it.md).
|
||||
|
||||
## Accept or reject changes
|
||||
|
||||
10
docs/docs/edit/model-setup.md
Normal file
10
docs/docs/edit/model-setup.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: Model setup
|
||||
sidebar_position: 2
|
||||
description: How to set up an Edit model
|
||||
keywords: [edit, cmd l, model]
|
||||
---
|
||||
|
||||
By default, Edit uses the [same model as Chat](chat/model-setup.mdx) since we recommend a similar, 400B+ parameter model or one of the frontier model for code edits.
|
||||
|
||||
You can configure a different model to be used for edits by updating your [`config.json`](../customize/config.mdx).
|
||||
|
|
@ -15,7 +15,7 @@ keywords: [install, installation, getting started, vs code, jetbrains]
|
|||

|
||||
|
||||
:::info[Troubleshooting]
|
||||
If you have any problems, see the [troubleshooting guide](../troubleshooting.md) or ask for help in [our Discord](https://discord.gg/NWtdYexhMs)
|
||||
If you have any problems, see the [troubleshooting guide](troubleshooting.md) or ask for help in [our Discord](https://discord.gg/NWtdYexhMs)
|
||||
:::
|
||||
|
||||
## JetBrains
|
||||
|
|
@ -29,5 +29,5 @@ If you have any problems, see the [troubleshooting guide](../troubleshooting.md)
|
|||

|
||||
|
||||
:::info[Troubleshooting]
|
||||
If you have any problems, see the [troubleshooting guide](../troubleshooting.md) or ask for help in [our Discord](https://discord.com/invite/EfJEfdFnDQ)
|
||||
If you have any problems, see the [troubleshooting guide](troubleshooting.md) or ask for help in [our Discord](https://discord.com/invite/EfJEfdFnDQ)
|
||||
:::
|
||||
|
|
@ -19,7 +19,7 @@ keywords:
|
|||
|
||||
**Continue is the leading open-source AI code assistant inside of [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) and [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension)**
|
||||
|
||||
- [Chat](./chat/how-to-use-it.md) to understand and iterate on code in the sidebar
|
||||
- [Autocomplete](./autocomplete/how-to-use-it.md) to recieve inline code suggestions as you type
|
||||
- [Edit](./edit/how-to-use-it.md) to modify code without leaving your current file
|
||||
- [Actions](./actions/how-to-use-it.md) to establish shortcuts for common use cases
|
||||
- [Chat](chat/how-to-use-it.md) to understand and iterate on code in the sidebar
|
||||
- [Autocomplete](autocomplete/how-to-use-it.md) to recieve inline code suggestions as you type
|
||||
- [Edit](edit/how-to-use-it.md) to modify code without leaving your current file
|
||||
- [Actions](actions/how-to-use-it.md) to establish shortcuts for common use cases
|
||||
|
|
@ -48,7 +48,7 @@ Open `~/.continue/logs/core.log`. The most recent logs are found at the bottom o
|
|||
|
||||
We are constantly making fixes and improvements to Continue, but the latest changes remain in a "pre-release" version for roughly a week so that we can test their stability. If you are experiencing issues, you can try the pre-release by going to the Continue extension page in VS Code and selecting "Switch to Pre-Release" as shown below.
|
||||
|
||||

|
||||

|
||||
|
||||
### JetBrains
|
||||
|
||||
|
|
@ -178,15 +178,19 @@ const config = {
|
|||
from: "/customization",
|
||||
},
|
||||
{
|
||||
to: "/docs/getting-started/install",
|
||||
to: "/getting-started/install",
|
||||
from: ["/install/vscode", "/install/jetbrains"],
|
||||
},
|
||||
// {
|
||||
// to: "/getting-started/install",
|
||||
// from: "/getting-started",
|
||||
// },
|
||||
{
|
||||
to: "/customize/model-types",
|
||||
from: "/setup/overview",
|
||||
},
|
||||
{
|
||||
to: "/docs/getting-started/overview",
|
||||
to: "/getting-started/overview",
|
||||
from: [
|
||||
"/model-setup/overview",
|
||||
"/model-setup/select-model",
|
||||
|
|
@ -218,7 +222,7 @@ const config = {
|
|||
from: ["/walkthroughs/prompt-files", "/features/prompt-files"],
|
||||
},
|
||||
{
|
||||
to: "/docs/actions/how-to-use-it#quick-actions",
|
||||
to: "/actions/how-to-use-it#quick-actions",
|
||||
from: "/walkthroughs/quick-actions",
|
||||
},
|
||||
{
|
||||
|
|
@ -301,14 +305,6 @@ const config = {
|
|||
to: "/",
|
||||
from: "/intro",
|
||||
},
|
||||
{
|
||||
to: "/docs/telemetry",
|
||||
from: "/telemetry",
|
||||
},
|
||||
{
|
||||
to: "/docs/troubleshooting",
|
||||
from: "/troubleshooting",
|
||||
},
|
||||
{
|
||||
to: "/customize/model-providers/more/cloudflare",
|
||||
from: "/reference/Model Providers/cloudflare",
|
||||
|
|
@ -381,6 +377,27 @@ const config = {
|
|||
to: "/customize/model-providers/more/watsonx",
|
||||
from: "/reference/Model Providers/watsonx",
|
||||
},
|
||||
// Sidebar items that should route directly to a subpage
|
||||
{
|
||||
to: "/chat/how-to-use-it",
|
||||
from: "/chat",
|
||||
},
|
||||
{
|
||||
to: "/edit/how-to-use-it",
|
||||
from: "/edit",
|
||||
},
|
||||
{
|
||||
to: "/actions/how-to-use-it",
|
||||
from: "/actions",
|
||||
},
|
||||
{
|
||||
to: "/autocomplete/how-to-use-it",
|
||||
from: "/autocomplete",
|
||||
},
|
||||
{
|
||||
to: "/getting-started/install",
|
||||
from: "/getting-started",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
[[redirects]]
|
||||
from = "/"
|
||||
to = "/docs"
|
||||
status = 200
|
||||
force = true
|
||||
|
|
@ -3,19 +3,19 @@
|
|||
|
||||
const sidebars = {
|
||||
docsSidebar: [
|
||||
"docs/introduction",
|
||||
"introduction",
|
||||
{
|
||||
type: "category",
|
||||
label: "Getting started",
|
||||
collapsed: false,
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "docs/getting-started/install",
|
||||
id: "getting-started/install",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "autogenerated",
|
||||
dirName: "docs/getting-started",
|
||||
dirName: "getting-started",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
@ -24,12 +24,12 @@ const sidebars = {
|
|||
label: "Chat",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "docs/chat/how-to-use-it",
|
||||
id: "chat/how-to-use-it",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "autogenerated",
|
||||
dirName: "docs/chat",
|
||||
dirName: "chat",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
@ -38,12 +38,12 @@ const sidebars = {
|
|||
label: "Autocomplete",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "docs/autocomplete/how-to-use-it",
|
||||
id: "autocomplete/how-to-use-it",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "autogenerated",
|
||||
dirName: "docs/autocomplete",
|
||||
dirName: "autocomplete",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
@ -52,12 +52,12 @@ const sidebars = {
|
|||
label: "Edit",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "docs/edit/how-to-use-it",
|
||||
id: "edit/how-to-use-it",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "autogenerated",
|
||||
dirName: "docs/edit",
|
||||
dirName: "edit",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
@ -66,17 +66,17 @@ const sidebars = {
|
|||
label: "Actions",
|
||||
link: {
|
||||
type: "doc",
|
||||
id: "docs/actions/how-to-use-it",
|
||||
id: "actions/how-to-use-it",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: "autogenerated",
|
||||
dirName: "docs/actions",
|
||||
dirName: "actions",
|
||||
},
|
||||
],
|
||||
},
|
||||
"docs/telemetry",
|
||||
"docs/troubleshooting",
|
||||
"telemetry",
|
||||
"troubleshooting",
|
||||
{
|
||||
type: "link",
|
||||
label: "Customize",
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
export default function RecommendedModels({ isLocal }) {
|
||||
return (
|
||||
<div>
|
||||
<div>
|
||||
<h2>Recommended chat model</h2>
|
||||
<p>Test</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2>Recommended autocomplete model</h2>
|
||||
<p>Test</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2>Recommended embeddings model</h2>
|
||||
<p>Test</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2>Recommended reranking model</h2>
|
||||
<p>Test</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
6
docs/src/theme/NotFound/Content/index.js
Normal file
6
docs/src/theme/NotFound/Content/index.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import React from "react";
|
||||
import { Redirect } from "@docusaurus/router";
|
||||
|
||||
export default function ContentWrapper(props) {
|
||||
return <Redirect to="/" />;
|
||||
}
|
||||
15
docs/static/schemas/config.json
vendored
15
docs/static/schemas/config.json
vendored
|
|
@ -2476,16 +2476,13 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"inlineEdit": {
|
||||
"description": "The 'title' property of the model you wish to use for inline edits",
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/ModelTitle"
|
||||
},
|
||||
"applyCodeBlock": {
|
||||
"description": "The 'title' property of the model you wish to use for applying code blocks",
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/ModelTitle"
|
||||
},
|
||||
"repoMapFileSelection": {
|
||||
"description": "The 'title' property of the model you wish to use for repo map file selections",
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/ModelTitle"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -2548,6 +2545,12 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ModelTitle": {
|
||||
"type": "string",
|
||||
"enum": {
|
||||
"$data": "/models/title"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2476,16 +2476,13 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"inlineEdit": {
|
||||
"description": "The 'title' property of the model you wish to use for inline edits",
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/ModelTitle"
|
||||
},
|
||||
"applyCodeBlock": {
|
||||
"description": "The 'title' property of the model you wish to use for applying code blocks",
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/ModelTitle"
|
||||
},
|
||||
"repoMapFileSelection": {
|
||||
"description": "The 'title' property of the model you wish to use for repo map file selections",
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/ModelTitle"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -2548,6 +2545,12 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ModelTitle": {
|
||||
"type": "string",
|
||||
"enum": {
|
||||
"$data": "/models/title"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,69 +4,93 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
||||
and is generated by [Changie](https://github.com/miniscruff/changie).
|
||||
|
||||
## 0.8.52 - 2024-09-16
|
||||
|
||||
## 0.9.210 - 2024-09-15
|
||||
### Added
|
||||
* NVIDIA NIMs embeddings provider
|
||||
* SambaNova LLM Provider
|
||||
* Support for OpenAI's new o1-preview and o1-mini models
|
||||
### Changed
|
||||
|
||||
* Use Chromium only as a fallback after asking user
|
||||
### Fixed
|
||||
* Increased default maxTokens, and autodetect for common models
|
||||
* Redesigned onboarding flow
|
||||
|
||||
## 0.8.51 - 2024-09-05
|
||||
|
||||
### Fixed
|
||||
|
||||
* Fixed CRLF bug causing diff streams to treat every line as changed on Windows
|
||||
|
||||
## 0.8.50 - 2024-09-02
|
||||
|
||||
### Fixed
|
||||
|
||||
* Hotfix for ability to use more than one inline context provider
|
||||
|
||||
## 0.8.49 - 2024-09-01
|
||||
|
||||
### Fixed
|
||||
|
||||
* Hotfix: submenu context providers
|
||||
|
||||
## 0.8.48 - 2024-09-01
|
||||
|
||||
### Added
|
||||
|
||||
* Improved indexing progress UI
|
||||
* Improved @codebase using repomap
|
||||
* Repo map context provider
|
||||
|
||||
### Fixed
|
||||
|
||||
* Many small UI improvements
|
||||
* Fixes db.search not a function
|
||||
|
||||
## 0.8.47 - 2024-08-27
|
||||
|
||||
### Added
|
||||
|
||||
* Use headless browser for crawling to get better results
|
||||
* TTS support in the chat window
|
||||
|
||||
### Changed
|
||||
|
||||
* Improved support for WatsonX models
|
||||
|
||||
### Fixed
|
||||
|
||||
* Fixed several small indexing bugs
|
||||
|
||||
## 0.8.46 - 2024-08-11
|
||||
|
||||
### Added
|
||||
|
||||
* new /onboard slash command
|
||||
|
||||
### Fixed
|
||||
|
||||
* Fixed problem loading config.ts
|
||||
* Fixed bug causing duplicate indexing work
|
||||
|
||||
## 0.8.45 - 2024-08-05
|
||||
|
||||
### Added
|
||||
|
||||
* Support for Llama 3.1 and gpt-4o-mini
|
||||
* Support for WatsonX+Granite models
|
||||
|
||||
### Changed
|
||||
|
||||
* Significant improvements to indexing performance
|
||||
* Improved @codebase quality by more accurately searching over file names and paths
|
||||
* Improved @codebase accuracy
|
||||
* Further improvements to indexing performance
|
||||
|
||||
### Fixed
|
||||
|
||||
* Improved docs indexing and management
|
||||
* Fixed Gemini embeddings provider
|
||||
|
||||
## 0.8.43 - 2024-07-08
|
||||
|
||||
### Added
|
||||
|
||||
* Improved indexing reliability and testing
|
||||
* Quick Actions: use CodeLens to quickly take common actions like adding docstrings
|
||||
|
||||
|
|
@ -74,46 +98,60 @@ and is generated by [Changie](https://github.com/miniscruff/changie).
|
|||
|
||||
### Added
|
||||
|
||||
- Support for Gemini 1.5 Pro
|
||||
- Link to code in the sidebar when using codebase retrieval
|
||||
- Smoother onboarding experience
|
||||
- .prompt files, a way of saving and sharing slash commands
|
||||
- Support for Claude 3.5 Sonnet, Deepseek Coder v2, and other new models
|
||||
- Support for comments in config.json
|
||||
- Specify multiple autocomplete models and switch between them
|
||||
- Improved bracket matching strategy reduces noisy completions
|
||||
* Support for Gemini 1.5 Pro
|
||||
* Link to code in the sidebar when using codebase retrieval
|
||||
* Smoother onboarding experience
|
||||
* .prompt files, a way of saving and sharing slash commands
|
||||
* Support for Claude 3.5 Sonnet, Deepseek Coder v2, and other new models
|
||||
* Support for comments in config.json
|
||||
* Specify multiple autocomplete models and switch between them
|
||||
* Improved bracket matching strategy reduces noisy completions
|
||||
|
||||
### Fixed
|
||||
|
||||
- Numerous reliability upgrades to codebase indexing
|
||||
* Numerous reliability upgrades to codebase indexing
|
||||
|
||||
## 0.8.24 - 2024-04-12
|
||||
|
||||
### Added
|
||||
|
||||
* Support for improved retrieval models (Voyage embeddings/reranking)
|
||||
* New @code context provider
|
||||
* Personal usage analytics
|
||||
|
||||
## 0.8.15 - 2024-03-05
|
||||
|
||||
### Added
|
||||
|
||||
* Tab-autocomplete in beta
|
||||
|
||||
## 0.8.14 - 2024-03-03
|
||||
|
||||
### Added
|
||||
|
||||
* Image support
|
||||
* Full-text search index for retrieval
|
||||
* Docs context provider
|
||||
* CodeLlama-70b support
|
||||
|
||||
### Changed
|
||||
|
||||
* config.ts only runs in NodeJS, not browser
|
||||
|
||||
### Fixed
|
||||
|
||||
* Fixed proxy setting in config.json
|
||||
|
||||
## v0.8.2 - 2024-01-23
|
||||
|
||||
### Added
|
||||
|
||||
* Add codellama and gemini to free trial, using new server
|
||||
* Local codebase syncing and embeddings using LanceDB
|
||||
* Improved VS Code theme matching
|
||||
|
||||
### Changed
|
||||
|
||||
* Updates to packaging to download native modules for current platform (lancedb, sqlite, onnxruntime, tree-sitter wasms)
|
||||
* Context providers now run from the extension side (in Node.js instead of browser javascript)
|
||||
|
||||
|
|
@ -121,55 +159,55 @@ and is generated by [Changie](https://github.com/miniscruff/changie).
|
|||
|
||||
### Added
|
||||
|
||||
- disableSessionTitles option in config.json
|
||||
* disableSessionTitles option in config.json
|
||||
|
||||
### Changed
|
||||
|
||||
- Use Ollama /chat endpoint instead of raw completions by default, and /show endpoint to gather model parameters like context length and stop tokens
|
||||
* Use Ollama /chat endpoint instead of raw completions by default, and /show endpoint to gather model parameters like context length and stop tokens
|
||||
|
||||
## v0.6.19 - 2024-01-05
|
||||
|
||||
### Added
|
||||
|
||||
- support for .continuerc.json in root of workspace to override config.json
|
||||
- Inline context providers
|
||||
- cmd+shift+L with new diff streaming UI for edits
|
||||
* support for .continuerc.json in root of workspace to override config.json
|
||||
* Inline context providers
|
||||
* cmd+shift+L with new diff streaming UI for edits
|
||||
|
||||
### Changed
|
||||
|
||||
- Allow certain LLM servers to handle templating
|
||||
* Allow certain LLM servers to handle templating
|
||||
|
||||
## v0.6.16 - 2023-12-25
|
||||
|
||||
### Changed
|
||||
|
||||
- Context items are now kept around as a part of past messages, instead of staying at the main input
|
||||
- No more Python server - Continue runs entirely in Typescript
|
||||
* Context items are now kept around as a part of past messages, instead of staying at the main input
|
||||
* No more Python server - Continue runs entirely in Typescript
|
||||
|
||||
## v0.6.4 - 2023-11-19
|
||||
|
||||
### Changed
|
||||
|
||||
- migrated to .json config file format
|
||||
* migrated to .json config file format
|
||||
|
||||
## v0.6.0 - 2023-11-10
|
||||
|
||||
### Added
|
||||
|
||||
- Full screen mode
|
||||
- StackOverflow slash command to augment with web search
|
||||
- VS Code context menus: right click to add code to context, debug the terminal, or share your Continue session
|
||||
* Full screen mode
|
||||
* StackOverflow slash command to augment with web search
|
||||
* VS Code context menus: right click to add code to context, debug the terminal, or share your Continue session
|
||||
|
||||
### Fixed
|
||||
|
||||
- Reliability improvements to JetBrains by bringing up-to-date with the socket.io refactor
|
||||
* Reliability improvements to JetBrains by bringing up-to-date with the socket.io refactor
|
||||
|
||||
## v0.5.0 - 2023-11-09
|
||||
|
||||
### Added
|
||||
|
||||
- Codebase Retrieval: Use /codebase or cmd+enter and Continue will automatically gather the most important context
|
||||
* Codebase Retrieval: Use /codebase or cmd+enter and Continue will automatically gather the most important context
|
||||
|
||||
### Changed
|
||||
|
||||
- Switch from Websockets to Socket.io
|
||||
* Switch from Websockets to Socket.io
|
||||
|
|
|
|||
|
|
@ -2782,16 +2782,13 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"inlineEdit": {
|
||||
"description": "The 'title' property of the model you wish to use for inline edits",
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/ModelTitle"
|
||||
},
|
||||
"applyCodeBlock": {
|
||||
"description": "The 'title' property of the model you wish to use for applying code blocks",
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/ModelTitle"
|
||||
},
|
||||
"repoMapFileSelection": {
|
||||
"description": "The 'title' property of the model you wish to use for repo map file selections",
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/ModelTitle"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -2867,6 +2864,12 @@
|
|||
"markdownDescription": "If set to 'merge', .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."
|
||||
}
|
||||
}
|
||||
},
|
||||
"ModelTitle": {
|
||||
"type": "string",
|
||||
"enum": {
|
||||
"$data": "/models/title"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -124,7 +124,7 @@ function AddModelForm({
|
|||
<InputSubtext className="mb-0">
|
||||
Don't see your provider?{" "}
|
||||
<a
|
||||
href={null}
|
||||
href="https://docs.continue.dev/customize/model-providers"
|
||||
target="_blank"
|
||||
className="text-inherit underline cursor-pointer hover:text-inherit"
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue