diff --git a/docs/docs/docs/actions/context-selection.md b/docs/docs/actions/context-selection.md similarity index 93% rename from docs/docs/docs/actions/context-selection.md rename to docs/docs/actions/context-selection.md index d5010a36c..a63eeda38 100644 --- a/docs/docs/docs/actions/context-selection.md +++ b/docs/docs/actions/context-selection.md @@ -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. diff --git a/docs/docs/docs/actions/how-it-works.md b/docs/docs/actions/how-it-works.md similarity index 84% rename from docs/docs/docs/actions/how-it-works.md rename to docs/docs/actions/how-it-works.md index 302be6ba7..57afa90ea 100644 --- a/docs/docs/docs/actions/how-it-works.md +++ b/docs/docs/actions/how-it-works.md @@ -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). diff --git a/docs/docs/docs/actions/how-to-customize.md b/docs/docs/actions/how-to-customize.md similarity index 88% rename from docs/docs/docs/actions/how-to-customize.md rename to docs/docs/actions/how-to-customize.md index 66cf202bc..0170283d9 100644 --- a/docs/docs/docs/actions/how-to-customize.md +++ b/docs/docs/actions/how-to-customize.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` 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 { ``` - + ## Other custom actions diff --git a/docs/docs/docs/actions/how-to-use-it.md b/docs/docs/actions/how-to-use-it.md similarity index 96% rename from docs/docs/docs/actions/how-to-use-it.md rename to docs/docs/actions/how-to-use-it.md index 4a764038f..cffc0d65d 100644 --- a/docs/docs/docs/actions/how-to-use-it.md +++ b/docs/docs/actions/how-to-use-it.md @@ -18,13 +18,13 @@ The most common way to invoke an action is with a slash command. These are short ![slash-commands](/img/slash-commands.png) -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! diff --git a/docs/docs/actions/model-setup.md b/docs/docs/actions/model-setup.md new file mode 100644 index 000000000..7dd9a0213 --- /dev/null +++ b/docs/docs/actions/model-setup.md @@ -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. diff --git a/docs/docs/docs/autocomplete/context-selection.md b/docs/docs/autocomplete/context-selection.md similarity index 100% rename from docs/docs/docs/autocomplete/context-selection.md rename to docs/docs/autocomplete/context-selection.md diff --git a/docs/docs/docs/autocomplete/how-it-works.md b/docs/docs/autocomplete/how-it-works.md similarity index 96% rename from docs/docs/docs/autocomplete/how-it-works.md rename to docs/docs/autocomplete/how-it-works.md index 5840eb6a7..9d87819b3 100644 --- a/docs/docs/docs/autocomplete/how-it-works.md +++ b/docs/docs/autocomplete/how-it-works.md @@ -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). \ No newline at end of file +You can learn more about how it works in the [Autocomplete deep dive](../customize/deep-dives/autocomplete.md). diff --git a/docs/docs/docs/autocomplete/how-to-customize.md b/docs/docs/autocomplete/how-to-customize.md similarity index 70% rename from docs/docs/docs/autocomplete/how-to-customize.md rename to docs/docs/autocomplete/how-to-customize.md index 5d626d03e..df95b3201 100644 --- a/docs/docs/docs/autocomplete/how-to-customize.md +++ b/docs/docs/autocomplete/how-to-customize.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). diff --git a/docs/docs/docs/autocomplete/how-to-use-it.md b/docs/docs/autocomplete/how-to-use-it.md similarity index 100% rename from docs/docs/docs/autocomplete/how-to-use-it.md rename to docs/docs/autocomplete/how-to-use-it.md diff --git a/docs/docs/docs/autocomplete/model-setup.md b/docs/docs/autocomplete/model-setup.md similarity index 95% rename from docs/docs/docs/autocomplete/model-setup.md rename to docs/docs/autocomplete/model-setup.md index a5ec6cadf..05136e546 100644 --- a/docs/docs/docs/autocomplete/model-setup.md +++ b/docs/docs/autocomplete/model-setup.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). \ No newline at end of file +There are many more models and providers you can use with Autocomplete. Check them out [here](../customize/model-types/autocomplete.md). diff --git a/docs/docs/docs/chat/context-selection.md b/docs/docs/chat/context-selection.md similarity index 59% rename from docs/docs/docs/chat/context-selection.md rename to docs/docs/chat/context-selection.md index fe997056c..2e2e7aa3d 100644 --- a/docs/docs/docs/chat/context-selection.md +++ b/docs/docs/chat/context-selection.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 [`@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. ## 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 [`@diff`](../../customize/context-providers.md#git-diff). +You can include all of the changes you've made to your current branch by typing [`@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). \ No newline at end of file +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). diff --git a/docs/docs/docs/chat/how-it-works.md b/docs/docs/chat/how-it-works.md similarity index 78% rename from docs/docs/docs/chat/how-it-works.md rename to docs/docs/chat/how-it-works.md index e54cc10e2..7d0d382a5 100644 --- a/docs/docs/docs/chat/how-it-works.md +++ b/docs/docs/chat/how-it-works.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). diff --git a/docs/docs/chat/how-to-customize.md b/docs/docs/chat/how-to-customize.md new file mode 100644 index 000000000..a91720213 --- /dev/null +++ b/docs/docs/chat/how-to-customize.md @@ -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) diff --git a/docs/docs/docs/chat/how-to-use-it.md b/docs/docs/chat/how-to-use-it.md similarity index 100% rename from docs/docs/docs/chat/how-to-use-it.md rename to docs/docs/chat/how-to-use-it.md diff --git a/docs/docs/docs/chat/model-setup.mdx b/docs/docs/chat/model-setup.mdx similarity index 81% rename from docs/docs/docs/chat/model-setup.mdx rename to docs/docs/chat/model-setup.mdx index 25917e997..023e875c1 100644 --- a/docs/docs/docs/chat/model-setup.mdx +++ b/docs/docs/chat/model-setup.mdx @@ -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)). @@ -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)). @@ -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)). @@ -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) diff --git a/docs/docs/customize/context-providers.md b/docs/docs/customize/context-providers.md index 85433002a..23979bf94 100644 --- a/docs/docs/customize/context-providers.md +++ b/docs/docs/customize/context-providers.md @@ -54,7 +54,7 @@ Type `@docs` to index and retrieve snippets from any documentation site. { "name": "docs" } ``` -To learn more, visit `[@docs](../customize/deep-dives/docs.md)`. +To learn more, visit `[@docs](customize/deep-dives/docs.md)`. ### Open Files @@ -66,7 +66,7 @@ Type '@open' to reference the contents of all of your open files. Set `onlyPinne ### Codebase Retrieval -Type '@codebase' to automatically retrieve the most relevant snippets from your codebase. Read more about indexing and retrieval [here](../customize/deep-dives/codebase.md). +Type '@codebase' to automatically retrieve the most relevant snippets from your codebase. Read more about indexing and retrieval [here](customize/deep-dives/codebase.md). ```json { "name": "codebase" } diff --git a/docs/docs/customize/model-types/autocomplete.md b/docs/docs/customize/model-types/autocomplete.md index 3d5a98460..8e98c9186 100644 --- a/docs/docs/customize/model-types/autocomplete.md +++ b/docs/docs/customize/model-types/autocomplete.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). \ No newline at end of file +If you want to run a model locally, we recommend [Starcoder2-3B] with [Ollama]../model-providers/top-level/ollama.md). diff --git a/docs/docs/customize/model-types/chat.md b/docs/docs/customize/model-types/chat.md index 82ec06a52..fb6a91f15 100644 --- a/docs/docs/customize/model-types/chat.md +++ b/docs/docs/customize/model-types/chat.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) \ No newline at end of file +- [Llama3.1 405B](../tutorials/llama3.1.md) diff --git a/docs/docs/customize/tutorials/llama3.1.md b/docs/docs/customize/tutorials/llama3.1.md index 290a7abbc..bdcedccb0 100644 --- a/docs/docs/customize/tutorials/llama3.1.md +++ b/docs/docs/customize/tutorials/llama3.1.md @@ -110,4 +110,4 @@ SambaNova Cloud provides world record Llama3.1 70B/405B serving. } ] } -``` \ No newline at end of file +``` diff --git a/docs/docs/customize/tutorials/running-continue-without-internet.md b/docs/docs/customize/tutorials/running-continue-without-internet.md index ae95ca216..c945f8c43 100644 --- a/docs/docs/customize/tutorials/running-continue-without-internet.md +++ b/docs/docs/customize/tutorials/running-continue-without-internet.md @@ -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. diff --git a/docs/docs/customize/tutorials/set-up-codestral.md b/docs/docs/customize/tutorials/set-up-codestral.md index b13dea3f0..020f3db56 100644 --- a/docs/docs/customize/tutorials/set-up-codestral.md +++ b/docs/docs/customize/tutorials/set-up-codestral.md @@ -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) diff --git a/docs/docs/docs/actions/model-setup.md b/docs/docs/docs/actions/model-setup.md deleted file mode 100644 index e103cc9cb..000000000 --- a/docs/docs/docs/actions/model-setup.md +++ /dev/null @@ -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. \ No newline at end of file diff --git a/docs/docs/docs/chat/how-to-customize.md b/docs/docs/docs/chat/how-to-customize.md deleted file mode 100644 index 83d3c7a12..000000000 --- a/docs/docs/docs/chat/how-to-customize.md +++ /dev/null @@ -1,12 +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) \ No newline at end of file diff --git a/docs/docs/docs/edit/model-setup.md b/docs/docs/docs/edit/model-setup.md deleted file mode 100644 index 03b24e309..000000000 --- a/docs/docs/docs/edit/model-setup.md +++ /dev/null @@ -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 model for code edits. - -You can configure a different model to be used for edits by updating your [`config.json`](../../customize/config.mdx). diff --git a/docs/docs/docs/edit/context-selection.md b/docs/docs/edit/context-selection.md similarity index 100% rename from docs/docs/docs/edit/context-selection.md rename to docs/docs/edit/context-selection.md diff --git a/docs/docs/docs/edit/how-it-works.md b/docs/docs/edit/how-it-works.md similarity index 87% rename from docs/docs/docs/edit/how-it-works.md rename to docs/docs/edit/how-it-works.md index decd30f75..19f107782 100644 --- a/docs/docs/docs/edit/how-it-works.md +++ b/docs/docs/edit/how-it-works.md @@ -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). diff --git a/docs/docs/docs/edit/how-to-customize.md b/docs/docs/edit/how-to-customize.md similarity index 100% rename from docs/docs/docs/edit/how-to-customize.md rename to docs/docs/edit/how-to-customize.md diff --git a/docs/docs/docs/edit/how-to-use-it.md b/docs/docs/edit/how-to-use-it.md similarity index 96% rename from docs/docs/docs/edit/how-to-use-it.md rename to docs/docs/edit/how-to-use-it.md index 709a085fa..ac6f2ed4b 100644 --- a/docs/docs/docs/edit/how-to-use-it.md +++ b/docs/docs/edit/how-to-use-it.md @@ -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 --- ![edit](/img/edit.gif) @@ -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 diff --git a/docs/docs/edit/model-setup.md b/docs/docs/edit/model-setup.md new file mode 100644 index 000000000..ce5e18e18 --- /dev/null +++ b/docs/docs/edit/model-setup.md @@ -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). diff --git a/docs/docs/docs/getting-started/install.md b/docs/docs/getting-started/install.md similarity index 76% rename from docs/docs/docs/getting-started/install.md rename to docs/docs/getting-started/install.md index 0f32cddc1..da04e8468 100644 --- a/docs/docs/docs/getting-started/install.md +++ b/docs/docs/getting-started/install.md @@ -15,7 +15,7 @@ keywords: [install, installation, getting started, vs code, jetbrains] ![move-to-right-sidebar](/img/move-to-right-sidebar.gif) :::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) ![jetbrains-getting-started.png](/img/jetbrains-getting-started.png) :::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) ::: diff --git a/docs/docs/docs/getting-started/overview.mdx b/docs/docs/getting-started/overview.mdx similarity index 100% rename from docs/docs/docs/getting-started/overview.mdx rename to docs/docs/getting-started/overview.mdx diff --git a/docs/docs/docs/introduction.md b/docs/docs/introduction.md similarity index 58% rename from docs/docs/docs/introduction.md rename to docs/docs/introduction.md index 946c4807c..9f5bbe9be 100644 --- a/docs/docs/docs/introduction.md +++ b/docs/docs/introduction.md @@ -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 diff --git a/docs/docs/docs/telemetry.md b/docs/docs/telemetry.md similarity index 100% rename from docs/docs/docs/telemetry.md rename to docs/docs/telemetry.md diff --git a/docs/docs/docs/troubleshooting.md b/docs/docs/troubleshooting.md similarity index 99% rename from docs/docs/docs/troubleshooting.md rename to docs/docs/troubleshooting.md index 598981ab1..8852cf3f4 100644 --- a/docs/docs/docs/troubleshooting.md +++ b/docs/docs/troubleshooting.md @@ -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. -![Pre-Release](../../static/img/prerelease.png) +![Pre-Release](../static/img/prerelease.png) ### JetBrains diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index e9bf7563f..5af3b8a2d 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -82,7 +82,7 @@ const config = { sidebarId: "docsSidebar", position: "left", label: "Docs", - href: "/docs", + href: "/", }, { type: "docSidebar", @@ -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", }, { @@ -298,17 +302,9 @@ const config = { from: "/walkthroughs/set-up-codestral", }, { - to: "/docs", + 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", + }, ], }, ], diff --git a/docs/netlify.toml b/docs/netlify.toml index 684b4c29d..e69de29bb 100644 --- a/docs/netlify.toml +++ b/docs/netlify.toml @@ -1,5 +0,0 @@ -[[redirects]] - from = "/" - to = "/docs" - status = 200 - force = true \ No newline at end of file diff --git a/docs/sidebars.js b/docs/sidebars.js index a70e35281..196a6c832 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -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",