diff --git a/docs/docs/autocomplete/how-to-customize.md b/docs/docs/autocomplete/how-to-customize.md index 8b0fd8d96..2df3ba73d 100644 --- a/docs/docs/autocomplete/how-to-customize.md +++ b/docs/docs/autocomplete/how-to-customize.md @@ -5,9 +5,9 @@ keywords: [customize] sidebar_position: 5 --- -Continue offers a handful of parameters in [`config.json` (Deprecated)](../json-reference.md) 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`](../json-reference.md) 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 (Deprecated)" +```json title="config.json"" "tabAutocompleteOptions": { "maxPromptTokens": 400, "prefixPercentage": 0.5, diff --git a/docs/docs/autocomplete/model-setup.mdx b/docs/docs/autocomplete/model-setup.mdx index 31330d5a9..cb2ad091d 100644 --- a/docs/docs/autocomplete/model-setup.mdx +++ b/docs/docs/autocomplete/model-setup.mdx @@ -29,7 +29,7 @@ For the best Autocomplete experience, we recommend using Codestral through the [ ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "tabAutocompleteModel": { "title": "Codestral", "provider": "mistral", @@ -60,7 +60,7 @@ For those preferring local execution or self-hosting,`Qwen2.5-Coder 1.5B` offers ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" { "tabAutocompleteModel": { "title": "Qwen2.5-Coder 1.5B", @@ -95,7 +95,7 @@ When using a remote instance you need to set the `"apiBase"` value in the config ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" { "tabAutocompleteModel": { "title": "Qwen2.5-Coder 1.5B", diff --git a/docs/docs/chat/model-setup.mdx b/docs/docs/chat/model-setup.mdx index 371696597..1f4cad4b5 100644 --- a/docs/docs/chat/model-setup.mdx +++ b/docs/docs/chat/model-setup.mdx @@ -31,7 +31,7 @@ Our current top recommendation is Claude Sonnet 3.5 from [Anthropic](../customiz ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Claude 3.5 Sonnet", @@ -90,7 +90,7 @@ If you prefer to use an open-weight model, then Llama 3.1 405B from Meta is your - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 405B", @@ -102,7 +102,7 @@ If you prefer to use an open-weight model, then Llama 3.1 405B from Meta is your ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 405B", @@ -114,7 +114,7 @@ If you prefer to use an open-weight model, then Llama 3.1 405B from Meta is your ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 405B", @@ -125,7 +125,7 @@ If you prefer to use an open-weight model, then Llama 3.1 405B from Meta is your ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 405B", @@ -154,7 +154,7 @@ If you prefer to use a model from [OpenAI](../customize/model-providers/top-leve ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "GPT-4o", @@ -182,7 +182,7 @@ If you prefer to use a model from [Google](../customize/model-providers/top-leve ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Gemini 1.5 Pro", @@ -227,7 +227,7 @@ If your local machine can run an 8B parameter model, then we recommend running L - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 8B", @@ -238,7 +238,7 @@ If your local machine can run an 8B parameter model, then we recommend running L ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 8B", @@ -280,7 +280,7 @@ If your local machine can run a 16B parameter model, then we recommend running D - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "DeepSeek Coder 2 16B", @@ -291,7 +291,7 @@ If your local machine can run a 16B parameter model, then we recommend running D ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "DeepSeek Coder 2 16B", diff --git a/docs/docs/customize/context-providers.mdx b/docs/docs/customize/context-providers.mdx index 2833d45a3..1a5ba97a1 100644 --- a/docs/docs/customize/context-providers.mdx +++ b/docs/docs/customize/context-providers.mdx @@ -29,7 +29,7 @@ Reference any file in your current workspace. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "file" @@ -51,7 +51,7 @@ Reference specific functions or classes from throughout your project. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "code" @@ -73,7 +73,7 @@ Reference all of the changes you've made to your current branch. This is useful ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "diff" @@ -95,7 +95,7 @@ Reference the currently open file. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "currentFile" @@ -117,7 +117,7 @@ Reference the last command you ran in your IDE's terminal and its output. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "terminal" @@ -139,7 +139,7 @@ Reference the contents from any documentation site. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "docs" @@ -167,7 +167,7 @@ Reference the contents of all of your open files. Set `onlyPinned` to `true` to ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "open", @@ -196,7 +196,7 @@ Optionally, set `n` to limit the number of results returned (default 6). ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "web", @@ -221,7 +221,7 @@ Reference the most relevant snippets from your codebase. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "codebase" @@ -245,7 +245,7 @@ Uses the same retrieval mechanism as `@Codebase`, but only on a single folder. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "folder" @@ -267,7 +267,7 @@ Reference the results of codebase search, just like the results you would get fr ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "search" @@ -291,7 +291,7 @@ Reference the markdown converted contents of a given URL. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "url" @@ -313,7 +313,7 @@ Reference recent clipboard items ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "clipboard" @@ -335,7 +335,7 @@ Reference the structure of your current workspace. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "tree" @@ -357,7 +357,7 @@ Get Problems from the current file. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "problems" @@ -381,7 +381,7 @@ Reference the contents of the local variables in the debugger. Currently only av ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "debugger", @@ -412,7 +412,7 @@ Reference the outline of your codebase. By default, signatures are included alon ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "repo-map", @@ -443,7 +443,7 @@ Reference the architecture and platform of your current operating system. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "os" @@ -470,7 +470,7 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "experimental": { "modelContextProtocolServers": [ { @@ -509,7 +509,7 @@ Reference the conversation in a GitHub issue. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "issue", @@ -563,7 +563,7 @@ Reference table schemas from Sqlite, Postgres, MSSQL, and MySQL databases. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "database", @@ -633,7 +633,7 @@ Reference the schema of a table, and some sample rows ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "postgres", @@ -672,7 +672,7 @@ Reference the results of a Google search. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "google", @@ -703,7 +703,7 @@ Reference an open MR for this branch on GitLab. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "gitlab-mr", @@ -733,7 +733,7 @@ You can specify the domain to communicate with by setting the `domain` parameter ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "gitlab-mr", @@ -766,7 +766,7 @@ Reference the conversation in a Jira issue. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "jira", @@ -798,7 +798,7 @@ to set the API Version to 2 using the `apiVersion` property. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "jira", @@ -841,7 +841,7 @@ Reference the messages in a Discord channel. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "discord", @@ -881,7 +881,7 @@ The HttpContextProvider makes a POST request to the url passed in the configurat ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "http", @@ -937,7 +937,7 @@ Reference specific git commit metadata and diff or all of the recent commits. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "commit", @@ -969,7 +969,7 @@ Query a [Greptile](https://www.greptile.com/) index of the current repo/branch. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "greptile", diff --git a/docs/docs/customize/deep-dives/autocomplete.mdx b/docs/docs/customize/deep-dives/autocomplete.mdx index d6d3755ef..bc44cafa2 100644 --- a/docs/docs/customize/deep-dives/autocomplete.mdx +++ b/docs/docs/customize/deep-dives/autocomplete.mdx @@ -23,7 +23,7 @@ If you want to have the best autocomplete experience, we recommend using Codestr ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" { "tabAutocompleteModel": { "title": "Codestral", @@ -63,7 +63,7 @@ All of the configuration options available for chat models are available to use ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "tabAutocompleteModel": { "title": "Tab Autocomplete Model", "provider": "ollama", @@ -114,7 +114,7 @@ This object allows you to customize the behavior of tab-autocomplete. The availa ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" { "tabAutocompleteModel": { "title": "Tab Autocomplete Model", diff --git a/docs/docs/customize/deep-dives/codebase.mdx b/docs/docs/customize/deep-dives/codebase.mdx index dfed9cda9..2c594078f 100644 --- a/docs/docs/customize/deep-dives/codebase.mdx +++ b/docs/docs/customize/deep-dives/codebase.mdx @@ -55,7 +55,7 @@ There are a few options that let you configure the behavior of the `@codebase` c ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "codebase", diff --git a/docs/docs/customize/deep-dives/docs.md b/docs/docs/customize/deep-dives/docs.md index 79d2735b3..a0b4d11fa 100644 --- a/docs/docs/customize/deep-dives/docs.md +++ b/docs/docs/customize/deep-dives/docs.md @@ -12,7 +12,7 @@ The [`@Docs` context provider](customize/context-providers.mdx#docs) allows you To enable the `@Docs` context provider, you need to add it to the list of context providers in your `config.json` file. -```json title="config.json (Deprecated)" +```json title="config.json"" { "contextProviders": [ { @@ -53,7 +53,7 @@ To add multiple documentation sites, we recommend adding them in bulk to your `c The [configuration schema for docs](https://github.com/continuedev/continue/blob/v0.9.212-vscode/extensions/vscode/config_schema.json#L1943-L1973) is as follows: -```json title="config.json (Deprecated)" +```json title="config.json"" "docs": [ { "title": "Continue", @@ -73,7 +73,7 @@ The [configuration schema for docs](https://github.com/continuedev/continue/blob As with [@Codebase context provider configuration](../deep-dives/codebase.mdx#configuration), you can adjust the behavior of the docs context provider with the `nRetrieve`, `nFinal`, and `useReranking` -```json title="config.json (Deprecated)" +```json title="config.json"" { "contextProviders": [ { @@ -94,7 +94,7 @@ By default, we use a lighter weight tool to crawl documentation sites that canno If you want to crawl a site that is dynamically generated, or you get an error while attempting to crawl a site, you can enable the experimental `useChromiumForDocsCrawling` feature in your `config.json`. This will download and install Chromium to `~/.continue/.utils`. -```json title="config.json (Deprecated)" +```json title="config.json"" "experimental": { "useChromiumForDocsCrawling": true } diff --git a/docs/docs/customize/model-providers/more/SambaNova.mdx b/docs/docs/customize/model-providers/more/SambaNova.mdx index 31147e252..49b5304e5 100644 --- a/docs/docs/customize/model-providers/more/SambaNova.mdx +++ b/docs/docs/customize/model-providers/more/SambaNova.mdx @@ -16,7 +16,7 @@ The SambaNova Cloud is a cloud platform for running large AI models with the wor ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "SambaNova Llama 3.1 405B", diff --git a/docs/docs/customize/model-providers/more/asksage.mdx b/docs/docs/customize/model-providers/more/asksage.mdx index eb8608e88..8bf11f7a0 100644 --- a/docs/docs/customize/model-providers/more/asksage.mdx +++ b/docs/docs/customize/model-providers/more/asksage.mdx @@ -23,7 +23,7 @@ To use the Ask Sage models, you can use the following ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "apiKey": "YOUR_API_KEY", diff --git a/docs/docs/customize/model-providers/more/cerebras.mdx b/docs/docs/customize/model-providers/more/cerebras.mdx index 9375c974f..b1bddc168 100644 --- a/docs/docs/customize/model-providers/more/cerebras.mdx +++ b/docs/docs/customize/model-providers/more/cerebras.mdx @@ -20,7 +20,7 @@ Cerebras Inference uses specialized silicon to provides fast inference. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Cerebras Llama 3.1 70B", diff --git a/docs/docs/customize/model-providers/more/cloudflare.mdx b/docs/docs/customize/model-providers/more/cloudflare.mdx index 5388e2a6a..3fe97f18c 100644 --- a/docs/docs/customize/model-providers/more/cloudflare.mdx +++ b/docs/docs/customize/model-providers/more/cloudflare.mdx @@ -39,7 +39,7 @@ Cloudflare Workers AI can be used for both chat and tab autocompletion in Contin ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3 8B", diff --git a/docs/docs/customize/model-providers/more/cohere.mdx b/docs/docs/customize/model-providers/more/cohere.mdx index 966964f53..d8c161302 100644 --- a/docs/docs/customize/model-providers/more/cohere.mdx +++ b/docs/docs/customize/model-providers/more/cohere.mdx @@ -20,7 +20,7 @@ We recommend configuring **Command-R Plus** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Cohere", @@ -56,7 +56,7 @@ We recommend configuring **embed-english-v3.0** as your embeddings model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "cohere", "model": "embed-english-v3.0", @@ -83,7 +83,7 @@ We recommend configuring **rerank-english-v3.0** as your reranking model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "reranker": { "name": "cohere", "params": { diff --git a/docs/docs/customize/model-providers/more/deepinfra.mdx b/docs/docs/customize/model-providers/more/deepinfra.mdx index 51e3943e7..db025bb8a 100644 --- a/docs/docs/customize/model-providers/more/deepinfra.mdx +++ b/docs/docs/customize/model-providers/more/deepinfra.mdx @@ -16,7 +16,7 @@ import TabItem from "@theme/TabItem"; ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "provider": "deepinfra", diff --git a/docs/docs/customize/model-providers/more/flowise.mdx b/docs/docs/customize/model-providers/more/flowise.mdx index d6abf9ee5..3c6867e54 100644 --- a/docs/docs/customize/model-providers/more/flowise.mdx +++ b/docs/docs/customize/model-providers/more/flowise.mdx @@ -16,7 +16,7 @@ import TabItem from "@theme/TabItem"; ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "provider": "flowise", diff --git a/docs/docs/customize/model-providers/more/function-network.mdx b/docs/docs/customize/model-providers/more/function-network.mdx index 751fdccb6..a24f845fc 100644 --- a/docs/docs/customize/model-providers/more/function-network.mdx +++ b/docs/docs/customize/model-providers/more/function-network.mdx @@ -33,7 +33,7 @@ Function Network supports a number of models for chat. We recommend using LLama ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 70b", @@ -65,7 +65,7 @@ Function Network supports a number of models for autocomplete. We recommend usin ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "tabAutocompleteModel": { "title": "Deepseek Coder 6.7b", "provider": "function-network", @@ -93,7 +93,7 @@ Function Network supports a number of models for embeddings. We recommend using ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "function-network", "model": "baai/bge-base-en-v1.5", diff --git a/docs/docs/customize/model-providers/more/groq.mdx b/docs/docs/customize/model-providers/more/groq.mdx index 4282b1293..f05aac8af 100644 --- a/docs/docs/customize/model-providers/more/groq.mdx +++ b/docs/docs/customize/model-providers/more/groq.mdx @@ -21,7 +21,7 @@ Groq provides the fastest available inference for open-source language models, i ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 405b", diff --git a/docs/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx b/docs/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx index 08b60c1cc..0ebcff983 100644 --- a/docs/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx +++ b/docs/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx @@ -17,7 +17,7 @@ Hugging Face Inference Endpoints are an easy way to setup instances of open-sour ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Hugging Face Inference API", diff --git a/docs/docs/customize/model-providers/more/ipex_llm.mdx b/docs/docs/customize/model-providers/more/ipex_llm.mdx index 2413aa6ce..248e155cb 100644 --- a/docs/docs/customize/model-providers/more/ipex_llm.mdx +++ b/docs/docs/customize/model-providers/more/ipex_llm.mdx @@ -19,7 +19,7 @@ IPEX-LLM supports accelerated Ollama backend to be hosted on Intel GPU. Refer to ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "IPEX-LLM", @@ -44,7 +44,7 @@ If you would like to reach the Ollama service from another machine, make sure yo ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "IPEX-LLM", diff --git a/docs/docs/customize/model-providers/more/kindo.mdx b/docs/docs/customize/model-providers/more/kindo.mdx index cb0c87922..64892d636 100644 --- a/docs/docs/customize/model-providers/more/kindo.mdx +++ b/docs/docs/customize/model-providers/more/kindo.mdx @@ -18,7 +18,7 @@ Kindo offers centralized control over your organization's AI operations, ensurin ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Claude 3.5 Sonnet", @@ -46,7 +46,7 @@ Kindo offers centralized control over your organization's AI operations, ensurin ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "tabAutocompleteModel": [ { "title": "WhiteRabbitNeo", diff --git a/docs/docs/customize/model-providers/more/llamacpp.mdx b/docs/docs/customize/model-providers/more/llamacpp.mdx index b8d43a830..72600c368 100644 --- a/docs/docs/customize/model-providers/more/llamacpp.mdx +++ b/docs/docs/customize/model-providers/more/llamacpp.mdx @@ -22,7 +22,7 @@ After it's up and running, change `~/.continue/config.json` to look like this: ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama CPP", diff --git a/docs/docs/customize/model-providers/more/llamafile.mdx b/docs/docs/customize/model-providers/more/llamafile.mdx index 4563bf630..6c4bb0e75 100644 --- a/docs/docs/customize/model-providers/more/llamafile.mdx +++ b/docs/docs/customize/model-providers/more/llamafile.mdx @@ -15,7 +15,7 @@ A [llamafile](https://github.com/Mozilla-Ocho/llamafile#readme) is a self-contai ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llamafile", diff --git a/docs/docs/customize/model-providers/more/lmstudio.mdx b/docs/docs/customize/model-providers/more/lmstudio.mdx index b3d5d31b2..bb093f749 100644 --- a/docs/docs/customize/model-providers/more/lmstudio.mdx +++ b/docs/docs/customize/model-providers/more/lmstudio.mdx @@ -15,7 +15,7 @@ import TabItem from "@theme/TabItem"; ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "LM Studio", @@ -43,7 +43,7 @@ LMStudio supports embeddings endpoints, and comes with the `nomic-ai/nomic-embed ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "lmstudio", "model": "nomic-ai/nomic-embed-text-v1.5-GGUF" @@ -68,7 +68,7 @@ To configure a remote instance of LM Studio, add the `"apiBase"` property to you ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "lmstudio", "model": "nomic-ai/nomic-embed-text-v1.5-GGUF" diff --git a/docs/docs/customize/model-providers/more/moonshot.mdx b/docs/docs/customize/model-providers/more/moonshot.mdx index e9e9d4f1a..7eeea1df0 100644 --- a/docs/docs/customize/model-providers/more/moonshot.mdx +++ b/docs/docs/customize/model-providers/more/moonshot.mdx @@ -23,7 +23,7 @@ To use Moonshot AI models, you need to: ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Moonshot", @@ -71,7 +71,7 @@ Here's a complete configuration example: ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Moonshot-8K", diff --git a/docs/docs/customize/model-providers/more/msty.mdx b/docs/docs/customize/model-providers/more/msty.mdx index b741a314d..b10cd7168 100644 --- a/docs/docs/customize/model-providers/more/msty.mdx +++ b/docs/docs/customize/model-providers/more/msty.mdx @@ -15,7 +15,7 @@ import TabItem from "@theme/TabItem"; ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Msty", @@ -55,7 +55,7 @@ If you need to send custom headers for authentication, you may use the `requestO ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Msty", diff --git a/docs/docs/customize/model-providers/more/nebius.mdx b/docs/docs/customize/model-providers/more/nebius.mdx index 5c010d38c..038cc182c 100644 --- a/docs/docs/customize/model-providers/more/nebius.mdx +++ b/docs/docs/customize/model-providers/more/nebius.mdx @@ -22,7 +22,7 @@ Available models can be found on the [Nebius AI Studio models page](https://stud ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 405b", @@ -52,7 +52,7 @@ Available models can be found on the [Nebius AI Studio embeddings page](https:// ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "nebius", "model": "BAAI/bge-en-icl", diff --git a/docs/docs/customize/model-providers/more/novita.mdx b/docs/docs/customize/model-providers/more/novita.mdx index 1fb2b2644..47b176fdb 100644 --- a/docs/docs/customize/model-providers/more/novita.mdx +++ b/docs/docs/customize/model-providers/more/novita.mdx @@ -16,7 +16,7 @@ import TabItem from "@theme/TabItem"; ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 8B", diff --git a/docs/docs/customize/model-providers/more/nvidia.mdx b/docs/docs/customize/model-providers/more/nvidia.mdx index b60c99a4e..6ec3b5640 100644 --- a/docs/docs/customize/model-providers/more/nvidia.mdx +++ b/docs/docs/customize/model-providers/more/nvidia.mdx @@ -24,7 +24,7 @@ We recommend configuring **Nemotron-4-340B-Instruct** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Nemotron-4-340B-Instruct", @@ -60,7 +60,7 @@ We recommend configuring **NVIDIA Retrieval QA Mistral 7B** as your embeddings m ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "nvidia", "model": "nvidia/nv-embedqa-mistral-7b-v2", diff --git a/docs/docs/customize/model-providers/more/openrouter.mdx b/docs/docs/customize/model-providers/more/openrouter.mdx index c112cda36..29155ed5a 100644 --- a/docs/docs/customize/model-providers/more/openrouter.mdx +++ b/docs/docs/customize/model-providers/more/openrouter.mdx @@ -19,7 +19,7 @@ Change `~/.continue/config.json` to look like the following. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "OpenRouter LLaMA 70 8B", @@ -50,7 +50,7 @@ For example, to prevent extra long prompts from being compressed, you can explic ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Example Model", diff --git a/docs/docs/customize/model-providers/more/replicatellm.mdx b/docs/docs/customize/model-providers/more/replicatellm.mdx index f226b082e..9a549c120 100644 --- a/docs/docs/customize/model-providers/more/replicatellm.mdx +++ b/docs/docs/customize/model-providers/more/replicatellm.mdx @@ -16,7 +16,7 @@ Replicate is a great option for newly released language models or models that yo ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Replicate CodeLLama", diff --git a/docs/docs/customize/model-providers/more/sagemaker.mdx b/docs/docs/customize/model-providers/more/sagemaker.mdx index 9a25b3990..69c87919a 100644 --- a/docs/docs/customize/model-providers/more/sagemaker.mdx +++ b/docs/docs/customize/model-providers/more/sagemaker.mdx @@ -25,7 +25,7 @@ Here is an example Sagemaker configuration setup: ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "deepseek-6.7b-instruct", diff --git a/docs/docs/customize/model-providers/more/scaleway.mdx b/docs/docs/customize/model-providers/more/scaleway.mdx index 46681134b..9a55e4a60 100644 --- a/docs/docs/customize/model-providers/more/scaleway.mdx +++ b/docs/docs/customize/model-providers/more/scaleway.mdx @@ -27,7 +27,7 @@ We recommend configuring **Qwen2.5-Coder-32B-Instruct** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Qwen2.5-Coder-32B-Instruct", @@ -63,7 +63,7 @@ We recommend configuring **BGE-Multilingual-Gemma2** as your embeddings model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "scaleway", "model": "bge-multilingual-gemma2", diff --git a/docs/docs/customize/model-providers/more/siliconflow.mdx b/docs/docs/customize/model-providers/more/siliconflow.mdx index 2dba25ec8..c6e54fec2 100644 --- a/docs/docs/customize/model-providers/more/siliconflow.mdx +++ b/docs/docs/customize/model-providers/more/siliconflow.mdx @@ -26,7 +26,7 @@ We recommend configuring **Qwen/Qwen2.5-Coder-32B-Instruct** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Qwen", @@ -56,7 +56,7 @@ We recommend configuring **Qwen/Qwen2.5-Coder-7B-Instruct** as your autocomplete ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Qwen", diff --git a/docs/docs/customize/model-providers/more/textgenwebui.mdx b/docs/docs/customize/model-providers/more/textgenwebui.mdx index a61230bf2..804529ba8 100644 --- a/docs/docs/customize/model-providers/more/textgenwebui.mdx +++ b/docs/docs/customize/model-providers/more/textgenwebui.mdx @@ -16,7 +16,7 @@ TextGenWebUI is a comprehensive, open-source language model UI and local server. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Text Generation WebUI", diff --git a/docs/docs/customize/model-providers/more/together.mdx b/docs/docs/customize/model-providers/more/together.mdx index 2e776da1c..67e026897 100644 --- a/docs/docs/customize/model-providers/more/together.mdx +++ b/docs/docs/customize/model-providers/more/together.mdx @@ -16,7 +16,7 @@ The Together API is a cloud platform for running large AI models. You can sign u ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Together Qwen2.5 Coder", diff --git a/docs/docs/customize/model-providers/more/vllm.mdx b/docs/docs/customize/model-providers/more/vllm.mdx index ec962347a..ecbc7e3db 100644 --- a/docs/docs/customize/model-providers/more/vllm.mdx +++ b/docs/docs/customize/model-providers/more/vllm.mdx @@ -24,7 +24,7 @@ We recommend configuring **Llama3.1 8B** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama3.1 8B Instruct", @@ -54,7 +54,7 @@ We recommend configuring **Qwen2.5-Coder 1.5B** as your autocomplete model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "tabAutocompleteModel": { "title": "Qwen2.5-Coder 1.5B", "provider": "vllm", @@ -82,7 +82,7 @@ We recommend configuring **Nomic Embed Text** as your embeddings model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "vllm", "model": "nomic-ai/nomic-embed-text-v1", diff --git a/docs/docs/customize/model-providers/more/watsonx.mdx b/docs/docs/customize/model-providers/more/watsonx.mdx index f468af6e1..3409479bd 100644 --- a/docs/docs/customize/model-providers/more/watsonx.mdx +++ b/docs/docs/customize/model-providers/more/watsonx.mdx @@ -57,7 +57,7 @@ Add the following configuration: ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "model": "model ID", @@ -91,7 +91,7 @@ If you are using a custom deployment endpoint, set `deploymentID` to the model's ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "model": "model ID", @@ -137,7 +137,7 @@ You can also configure generation parameters, such as temperature, topP, topK, f ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "model": "ibm/granite-20b-code-instruct", @@ -183,7 +183,7 @@ Granite models are recommended for tab auto complete. The configuration is simil ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "tabAutocompleteModel": { "model": "ibm/granite-8b-code-instruct", "title": "Granite Code 8b", @@ -218,7 +218,7 @@ To view the list of available embeddings models, visit [this page](https://datap ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "watsonx", "model": "ibm/slate-30m-english-rtrvr-v2", diff --git a/docs/docs/customize/model-providers/top-level/anthropic.mdx b/docs/docs/customize/model-providers/top-level/anthropic.mdx index 6cfc9d06c..141cf7782 100644 --- a/docs/docs/customize/model-providers/top-level/anthropic.mdx +++ b/docs/docs/customize/model-providers/top-level/anthropic.mdx @@ -25,7 +25,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Claude 3.5 Sonnet", @@ -78,7 +78,7 @@ To enable caching of the system message and the turn-by-turn conversation, updat ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "cacheBehavior": { diff --git a/docs/docs/customize/model-providers/top-level/azure.mdx b/docs/docs/customize/model-providers/top-level/azure.mdx index 79e4c7522..b42479aeb 100644 --- a/docs/docs/customize/model-providers/top-level/azure.mdx +++ b/docs/docs/customize/model-providers/top-level/azure.mdx @@ -29,7 +29,7 @@ We recommend configuring **GPT-4o** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [{ "title": "GPT-4o", "provider": "azure", @@ -58,7 +58,7 @@ We recommend configuring **Codestral** as your autocomplete model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "tabAutocompleteModel": { "title": "Codestral", "provider": "mistral", @@ -86,7 +86,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "openai", "model": "text-embedding-3-large", @@ -137,7 +137,7 @@ For example, a Target URI of `https://just-an-example.openai.azure.com/openai/de ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" { "title": "GPT-4o Azure", "model": "gpt-4o", diff --git a/docs/docs/customize/model-providers/top-level/bedrock.mdx b/docs/docs/customize/model-providers/top-level/bedrock.mdx index be716081e..355bf0a64 100644 --- a/docs/docs/customize/model-providers/top-level/bedrock.mdx +++ b/docs/docs/customize/model-providers/top-level/bedrock.mdx @@ -26,7 +26,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Claude 3.5 Sonnet", @@ -58,7 +58,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Claude 3.5 Sonnet", @@ -95,7 +95,7 @@ We recommend configuring [`amazon.titan-embed-text-v2:0`](https://docs.aws.amazo ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "title": "Embeddings Model", "provider": "bedrock", @@ -123,7 +123,7 @@ We recommend configuring `cohere.rerank-v3-5:0` as your reranking model, you may ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "reranker": { "name": "bedrock", "params": { @@ -164,7 +164,7 @@ To setup Bedrock using custom imported models, add the following to your config ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "AWS Bedrock deepseek-coder-6.7b-instruct", diff --git a/docs/docs/customize/model-providers/top-level/deepseek.mdx b/docs/docs/customize/model-providers/top-level/deepseek.mdx index 703959473..e62eb018f 100644 --- a/docs/docs/customize/model-providers/top-level/deepseek.mdx +++ b/docs/docs/customize/model-providers/top-level/deepseek.mdx @@ -25,7 +25,7 @@ We recommend configuring **DeepSeek Chat** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "DeepSeek Chat", @@ -54,7 +54,7 @@ We recommend configuring **DeepSeek Coder** as your autocomplete model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "tabAutocompleteModel": { "title": "DeepSeek Coder", "provider": "deepseek", diff --git a/docs/docs/customize/model-providers/top-level/gemini.mdx b/docs/docs/customize/model-providers/top-level/gemini.mdx index eaf4e981d..a93685ff6 100644 --- a/docs/docs/customize/model-providers/top-level/gemini.mdx +++ b/docs/docs/customize/model-providers/top-level/gemini.mdx @@ -25,7 +25,7 @@ We recommend configuring **Gemini 1.5 Pro** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Gemini 1.5 Pro", @@ -61,7 +61,7 @@ We recommend configuring **text-embedding-004** as your embeddings model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "gemini", "model": "models/text-embedding-004", diff --git a/docs/docs/customize/model-providers/top-level/mistral.mdx b/docs/docs/customize/model-providers/top-level/mistral.mdx index 4a86454eb..14b40db58 100644 --- a/docs/docs/customize/model-providers/top-level/mistral.mdx +++ b/docs/docs/customize/model-providers/top-level/mistral.mdx @@ -27,7 +27,7 @@ We recommend configuring **Mistral Large** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Mistral Large", @@ -57,7 +57,7 @@ We recommend configuring **Codestral** as your autocomplete model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "tabAutocompleteModel": { "title": "Codestral", "provider": "mistral", @@ -86,7 +86,7 @@ We recommend configuring **Mistral Embed** as your embeddings model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "mistral", "model": "mistral-embed", diff --git a/docs/docs/customize/model-providers/top-level/ollama.mdx b/docs/docs/customize/model-providers/top-level/ollama.mdx index b3da6a978..33454a3ca 100644 --- a/docs/docs/customize/model-providers/top-level/ollama.mdx +++ b/docs/docs/customize/model-providers/top-level/ollama.mdx @@ -22,7 +22,7 @@ We recommend configuring **Llama3.1 8B** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama3.1 8B", @@ -50,7 +50,7 @@ We recommend configuring **Qwen2.5-Coder 1.5B** as your autocomplete model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "tabAutocompleteModel": { "title": "Qwen2.5-Coder 1.5B", "provider": "ollama", @@ -76,7 +76,7 @@ We recommend configuring **Nomic Embed Text** as your embeddings model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "ollama", "model": "nomic-embed-text" @@ -106,7 +106,7 @@ To configure a remote instance of Ollama, add the `"apiBase"` property to your m ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama3.1 8B", diff --git a/docs/docs/customize/model-providers/top-level/openai.mdx b/docs/docs/customize/model-providers/top-level/openai.mdx index e057cbd1f..a6e72c1e4 100644 --- a/docs/docs/customize/model-providers/top-level/openai.mdx +++ b/docs/docs/customize/model-providers/top-level/openai.mdx @@ -25,7 +25,7 @@ We recommend configuring **GPT-4o** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" { "models": [ { @@ -63,7 +63,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" { "embeddingsProvider": { "provider": "openai", @@ -113,7 +113,7 @@ If you are using an OpenAI compatible server / API, you can change the `apiBase` ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "OpenAI-compatible server / API", @@ -141,7 +141,7 @@ To force usage of `chat/completions` instead of `completions` endpoint you can s ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" { "models": [ { diff --git a/docs/docs/customize/model-providers/top-level/vertexai.mdx b/docs/docs/customize/model-providers/top-level/vertexai.mdx index 07be57891..9b302190b 100644 --- a/docs/docs/customize/model-providers/top-level/vertexai.mdx +++ b/docs/docs/customize/model-providers/top-level/vertexai.mdx @@ -26,7 +26,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Claude 3.5 Sonnet", @@ -58,7 +58,7 @@ We recommend configuring **Codestral** or **code-gecko** as your autocomplete mo ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "tabAutocompleteModel": { "title": "Codestral (Vertex AI)", "provider": "vertexai", @@ -88,7 +88,7 @@ We recommend configuring **text-embedding-004** as your embeddings model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "vertexai", "model": "text-embedding-004", diff --git a/docs/docs/customize/model-providers/top-level/xAI.mdx b/docs/docs/customize/model-providers/top-level/xAI.mdx index fea7b261d..1e943e9a1 100644 --- a/docs/docs/customize/model-providers/top-level/xAI.mdx +++ b/docs/docs/customize/model-providers/top-level/xAI.mdx @@ -25,7 +25,7 @@ We recommend configuring **grok-beta** as your chat model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Grok Beta", diff --git a/docs/docs/customize/model-types/embeddings.mdx b/docs/docs/customize/model-types/embeddings.mdx index edb6921f7..a584dad44 100644 --- a/docs/docs/customize/model-types/embeddings.mdx +++ b/docs/docs/customize/model-types/embeddings.mdx @@ -43,7 +43,7 @@ After obtaining an API key from [here](https://www.voyageai.com/), you can confi ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "voyage", "model": "voyage-code-3", @@ -72,7 +72,7 @@ See [here](../model-providers/top-level/ollama.mdx#embeddings-model) for instruc ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "transformers.js" } @@ -95,7 +95,7 @@ See [here](../model-providers/top-level/ollama.mdx#embeddings-model) for instruc ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "embeddingsProvider": { "provider": "huggingface-tei", "apiBase": "http://localhost:8080" diff --git a/docs/docs/customize/model-types/reranking.mdx b/docs/docs/customize/model-types/reranking.mdx index b824a2220..71ed1546a 100644 --- a/docs/docs/customize/model-types/reranking.mdx +++ b/docs/docs/customize/model-types/reranking.mdx @@ -33,7 +33,7 @@ Voyage AI offers the best reranking model for code with their `rerank-2` model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "reranker": { "name": "voyage", "params": { @@ -62,7 +62,7 @@ See Cohere's documentation for rerankers [here](https://docs.cohere.com/docs/rer ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "reranker": { "name": "cohere", "params": { @@ -90,7 +90,7 @@ If you only have access to a single LLM, then you can use it as a reranker. This ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "reranker": { "name": "llm", "params": { @@ -120,7 +120,7 @@ The `"modelTitle"` field must match one of the models in your "models" array in ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "reranker": { "name": "huggingface-tei", "params": { @@ -147,7 +147,7 @@ Continue offers a free trial of Voyage AI's reranking model. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "reranker": { "name": "free-trial" } diff --git a/docs/docs/customize/overview.md b/docs/docs/customize/overview.md index 6104799b9..33f671448 100644 --- a/docs/docs/customize/overview.md +++ b/docs/docs/customize/overview.md @@ -16,7 +16,7 @@ Whatever you choose, you'll probably start by editing `config.yaml`. ## Editing config.json -Most custom configuration is done by editing `config.yaml` (or Deprecated `config.json`). This is a YAML file that allows you to customize Continue to your liking. It is found at: +Most custom configuration is done by editing `config.yaml` (or the older `config.json`). This is a YAML file that allows you to customize Continue to your liking. It is found at: - MacOS and Linux: `~/.continue/config.yaml` - Windows: `%USERPROFILE%\.continue\config.yaml` diff --git a/docs/docs/customize/slash-commands.mdx b/docs/docs/customize/slash-commands.mdx index 661501097..bf1f072ab 100644 --- a/docs/docs/customize/slash-commands.mdx +++ b/docs/docs/customize/slash-commands.mdx @@ -8,7 +8,7 @@ import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; :::info -Slash commands can currently only be added using [`config.json`](../json-reference.md), which has been deprecated in favor of the [`YAML Config Format`](../reference.md). We recommend looking into [Prompt Files](../customize/deep-dives/prompt-files.md) to achieve similar functionality. +Slash commands can currently only be added using [`config.json`](../json-reference.md). The [`YAML Config Format`](../reference.md) is the new and preferred format. We recommend looking into [Prompt Files](../customize/deep-dives/prompt-files.md) to achieve similar functionality. ::: Slash commands are shortcuts that can be activated by typing '/' and selecting from the dropdown. For example, the built-in '/edit' slash command lets you stream edits directly into your editor. @@ -23,7 +23,7 @@ To use any of the built-in slash commands, open `config.json` and add it to the Generate a shareable markdown transcript of your current chat history. -```json title="config.json (Deprecated)" +```json title="config.json"" { "slashCommands": [ { @@ -41,7 +41,7 @@ Use the `outputDir` parameter to specify where you want to the markdown file to Generate a shell command from natural language and (only in VS Code) automatically paste it into the terminal. -```json title="config.json (Deprecated)" +```json title="config.json"" { "slashCommands": [ { @@ -56,7 +56,7 @@ Generate a shell command from natural language and (only in VS Code) automatical Shows the LLM your current git diff and asks it to generate a commit message. -```json title="config.json (Deprecated)" +```json title="config.json"" { "slashCommands": [ { @@ -71,7 +71,7 @@ Shows the LLM your current git diff and asks it to generate a commit message. Write a custom slash command at your own HTTP endpoint. Set 'url' in the params object for the endpoint you have setup. The endpoint should return a sequence of string updates, which will be streamed to the Continue sidebar. See our basic [FastAPI example](https://github.com/continuedev/continue/blob/74002369a5e435735b83278fb965e004ae38a97d/core/context/providers/context_provider_server.py#L34-L45) for reference. -```json title="config.json (Deprecated)" +```json title="config.json"" { "slashCommands": [ { @@ -87,7 +87,7 @@ Write a custom slash command at your own HTTP endpoint. Set 'url' in the params Describe the issue you'd like to generate, and Continue will turn into a well-formatted title and body, then give you a link to the draft so you can submit. Make sure to set the URL of the repository you want to generate issues for. -```json title="config.json (Deprecated)" +```json title="config.json"" { "slashCommands": [ { @@ -103,7 +103,7 @@ Describe the issue you'd like to generate, and Continue will turn into a well-fo The onboard slash command helps to familiarize yourself with a new project by analyzing the project structure, READMEs, and dependency files. It identifies key folders, explains their purpose, and highlights popular packages used. Additionally, it offers insights into the project's architecture. -```json title="config.json (Deprecated)" +```json title="config.json"" { "slashCommands": [ { @@ -131,7 +131,7 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "experimental": { "modelContextProtocolServers": [ { diff --git a/docs/docs/customize/tools.mdx b/docs/docs/customize/tools.mdx index 1c2d9a97a..4c910a02d 100644 --- a/docs/docs/customize/tools.mdx +++ b/docs/docs/customize/tools.mdx @@ -39,7 +39,7 @@ Currently custom tools can be configured using the [Model Context Protocol](http ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "experimental": { "modelContextProtocolServers": [ { diff --git a/docs/docs/customize/tutorials/build-your-own-context-provider.md b/docs/docs/customize/tutorials/build-your-own-context-provider.md index 00140013e..0c5c8eaf0 100644 --- a/docs/docs/customize/tutorials/build-your-own-context-provider.md +++ b/docs/docs/customize/tutorials/build-your-own-context-provider.md @@ -3,7 +3,7 @@ title: Build your own context provider --- :::info -Custom context providers are added through `~/config.ts`, which has been deprecated in favor of the [`YAML Config Format`](../../reference.md). We recommend looking into [Prompt Files](../deep-dives/prompt-files.md) and [MCP Servers](../context-providers.mdx#modelcontextprotocol) to achieve similar functionality. +Custom context providers are added through `~/config.ts`. The [`YAML Config Format`](../../reference.md) is the new and preferred config format. We recommend looking into [Prompt Files](../deep-dives/prompt-files.md) and [MCP Servers](../context-providers.mdx#modelcontextprotocol) to achieve similar functionality. ::: ## Introductory Example @@ -188,7 +188,7 @@ Continue will use [esbuild](https://esbuild.github.io/) to bundle your `config.t If you'd like to write a context provider in a language other than TypeScript, you can use the "http" context provider to call a server that hosts your own code. Add the context provider to `config.json` like this: -```json title="config.json (Deprecated)" +```json title="config.json"" { "name": "http", "params": { diff --git a/docs/docs/customize/tutorials/build-your-own-slash-command.md b/docs/docs/customize/tutorials/build-your-own-slash-command.md index d3f9d3c11..85a08cb32 100644 --- a/docs/docs/customize/tutorials/build-your-own-slash-command.md +++ b/docs/docs/customize/tutorials/build-your-own-slash-command.md @@ -3,7 +3,7 @@ title: Build your own slash command --- :::info -Slash commands can currently only be added using [`config.json`](../../json-reference.md) or `config.ts`, which have been deprecated in favor of the [`YAML Config Format`](../../reference.md). We recommend looking into [Prompt Files](../deep-dives/prompt-files.md) to achieve similar functionality. +Slash commands can currently only be added using [`config.json`](../../json-reference.md) or `config.ts`. The [`YAML Config Format`](../../reference.md) is the new and preferred format. We recommend looking into [Prompt Files](../deep-dives/prompt-files.md) to achieve similar functionality. ::: There are two ways to add custom slash commands: @@ -21,7 +21,7 @@ You can add custom slash commands by adding to the `customCommands` property in Custom commands are great when you are frequently reusing a prompt. For example, if you've crafted a great prompt and frequently ask the LLM to check for mistakes in your code, you could add a command like this: -```json title="config.json (Deprecated)" +```json title="config.json"" customCommands=[{ "name": "check", "description": "Check for mistakes in my code", diff --git a/docs/docs/customize/tutorials/custom-code-rag.mdx b/docs/docs/customize/tutorials/custom-code-rag.mdx index 82f41b396..13ab25ae9 100644 --- a/docs/docs/customize/tutorials/custom-code-rag.mdx +++ b/docs/docs/customize/tutorials/custom-code-rag.mdx @@ -140,7 +140,7 @@ After you've set up your server, you can configure Continue to use it by adding ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "contextProviders": [ { "name": "http", diff --git a/docs/docs/customize/tutorials/how-to-self-host-a-model.mdx b/docs/docs/customize/tutorials/how-to-self-host-a-model.mdx index 3652cd43c..139b58347 100644 --- a/docs/docs/customize/tutorials/how-to-self-host-a-model.mdx +++ b/docs/docs/customize/tutorials/how-to-self-host-a-model.mdx @@ -34,7 +34,7 @@ Basic authentication can be done with any provider using the `apiKey` field: ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Ollama", @@ -64,7 +64,7 @@ If you need to send custom headers for authentication, you may use the `requestO ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Ollama", @@ -98,7 +98,7 @@ Similarly if your model requires a Certificate for authentication, you may use t ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Ollama", diff --git a/docs/docs/customize/tutorials/llama3.1.mdx b/docs/docs/customize/tutorials/llama3.1.mdx index ed6a7bf18..763b20b6d 100644 --- a/docs/docs/customize/tutorials/llama3.1.mdx +++ b/docs/docs/customize/tutorials/llama3.1.mdx @@ -31,7 +31,7 @@ Ollama is the fastest way to get up and running with local language models. We r ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 8b", @@ -61,7 +61,7 @@ Groq provides the fastest available inference for open-source language models, i ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 405b", @@ -93,7 +93,7 @@ Together AI provides fast and reliable inference of open-source models. You'll b ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 405b", @@ -124,7 +124,7 @@ Replicate makes it easy to host and run open-source AI with an API. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Llama 3.1 405b", @@ -156,7 +156,7 @@ SambaNova Cloud provides world record Llama3.1 70B/405B serving. ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "SambaNova Llama 3.1 405B", @@ -188,7 +188,7 @@ Cerebras Inference uses specialized silicon to provides fast inference for the L ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Cerebras Llama 3.1 70B", diff --git a/docs/docs/customize/tutorials/set-up-codestral.mdx b/docs/docs/customize/tutorials/set-up-codestral.mdx index 026948f8a..7d4c7b66d 100644 --- a/docs/docs/customize/tutorials/set-up-codestral.mdx +++ b/docs/docs/customize/tutorials/set-up-codestral.mdx @@ -34,7 +34,7 @@ import TabItem from "@theme/TabItem"; ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "Codestral", diff --git a/docs/docs/edit/how-to-customize.mdx b/docs/docs/edit/how-to-customize.mdx index d7ebf4e77..ac54f8c3b 100644 --- a/docs/docs/edit/how-to-customize.mdx +++ b/docs/docs/edit/how-to-customize.mdx @@ -25,7 +25,7 @@ You can configure a particular model to be used for Edit: Set the `experimental.modelRoles.inlineEdit` property in `config.json`. - ```json title="config.json (Deprecated)" + ```json title="config.json"" { "models": { "name": "Claude 3.5 Sonnet", diff --git a/docs/docs/json-reference.md b/docs/docs/json-reference.md index 59a15d572..f90d62c66 100644 --- a/docs/docs/json-reference.md +++ b/docs/docs/json-reference.md @@ -5,7 +5,7 @@ keywords: [config, config_schema.json, json] --- :::info -`config.json` has been deprecated in favor of the [`YAML Config Format`](./reference). See the [migration guide](./yaml-migration). +`config.json` is the original Continue configuration format. The newer and preferred format is [`YAML Config`](./reference). See the [migration guide](./yaml-migration). ::: Below are details for each property that can be set in `config.json`. The config schema code is found in [`extensions/vscode/config_schema.json`](https://github.com/continuedev/continue/blob/main/extensions/vscode/config_schema.json). diff --git a/docs/docs/reference.md b/docs/docs/reference.md index c2c34b09f..f35d70fc7 100644 --- a/docs/docs/reference.md +++ b/docs/docs/reference.md @@ -13,7 +13,7 @@ Continue can be configured using a YAML file `config.yaml` which for local confi Below are details for each property that can be set in `config.yaml`. :::info -Config YAML replaces `config.json`, which has been deprecated. View the **[Migration Guide](/yaml-migration)**. `config.yaml` currently only works in VS Code pre-release. +Config YAML replaces `config.json`. View the **[Migration Guide](/yaml-migration)**. `config.yaml` currently only works in VS Code pre-release. ::: **All properties at all levels are optional unless explicitly marked as required.** diff --git a/docs/docs/troubleshooting.mdx b/docs/docs/troubleshooting.mdx index 4b0e35941..11e17f22b 100644 --- a/docs/docs/troubleshooting.mdx +++ b/docs/docs/troubleshooting.mdx @@ -101,7 +101,7 @@ If you're seeing a `fetch failed` error and your network requires custom certifi ``` - ```json title="config.json (Deprecated)" + ```json title="config.json"" "models": [ { "title": "My Model", diff --git a/docs/docs/yaml-migration.md b/docs/docs/yaml-migration.md index 79a3906fa..fd3b81f92 100644 --- a/docs/docs/yaml-migration.md +++ b/docs/docs/yaml-migration.md @@ -45,7 +45,7 @@ Model-level `completionOptions` are replaced by `defaultCompletionOptions`, with **Before** -```json title="config.json (Deprecated)" +```json title="config.json"" { "models": [ { @@ -150,12 +150,12 @@ Note that the `repoMapFileSelection` experimental model role has been deprecated The JSON `contextProviders` field is replaced by the YAML `context` array. -- JSON `name` maps to `uses` +- JSON `name` maps to `provider` - JSON `params` map to `with` **Before** -```json title="config.json (Deprecated)" +```json title="config.json"" { "contextProviders": [ { @@ -196,7 +196,7 @@ The `systemMessage` property has been replaced with a `rules` property that take **Before** -```json title="config.json (Deprecated)" +```json title="config.json"" { "systemMessage": "Always give concise responses" } @@ -215,7 +215,7 @@ Rather than with `customCommands`, you can now use the `prompts` field to define **Before** -```json title="config.json (Deprecated)" +```json title="config.json"" { "customCommands": [ { @@ -250,7 +250,7 @@ Documentation is largely the same, but the `title` property has been replaced wi **Before** -```json title="config.json (Deprecated)" +```json title="config.json"" { "docs": [ { @@ -287,7 +287,7 @@ docs: **Before** -```json title="config.json (Deprecated)" +```json title="config.json"" { "experimental": { "modelContextProtocolServers": [