diff --git a/docs/docs/autocomplete/how-to-customize.md b/docs/docs/autocomplete/how-to-customize.md
index e843e8658..abf4c5b11 100644
--- a/docs/docs/autocomplete/how-to-customize.md
+++ b/docs/docs/autocomplete/how-to-customize.md
@@ -8,11 +8,13 @@ sidebar_position: 5
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"
- "tabAutocompleteOptions": {
- "maxPromptTokens": 400,
- "prefixPercentage": 0.5,
- "multilineCompletions": "always"
- }
+{
+ "tabAutocompleteOptions": {
+ "maxPromptTokens": 400,
+ "prefixPercentage": 0.5,
+ "multilineCompletions": "always"
+ }
+}
```
- `maxPromptTokens`: Sets the maximum number of tokens for the prompt, balancing context and speed.
diff --git a/docs/docs/autocomplete/model-setup.mdx b/docs/docs/autocomplete/model-setup.mdx
index 2db6f6e4d..8d37d39be 100644
--- a/docs/docs/autocomplete/model-setup.mdx
+++ b/docs/docs/autocomplete/model-setup.mdx
@@ -30,12 +30,14 @@ For the best Autocomplete experience, we recommend using Codestral through the [
```json title="config.json"
+ {
"tabAutocompleteModel": {
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest",
"apiKey": ""
}
+ }
```
diff --git a/docs/docs/chat/model-setup.mdx b/docs/docs/chat/model-setup.mdx
index cb50dab90..52dac63a2 100644
--- a/docs/docs/chat/model-setup.mdx
+++ b/docs/docs/chat/model-setup.mdx
@@ -24,14 +24,15 @@ Our current top recommendation is Claude Sonnet 3.5 from [Anthropic](../customiz
```yaml title="Package or config.yaml"
models:
- - name: Claude 3.5 Sonnet
- provider: anthropic
- model: claude-3-5-sonnet-latest
- apiKey:
+ - name: Claude 3.5 Sonnet
+ provider: anthropic
+ model: claude-3-5-sonnet-latest
+ apiKey:
```
```json title="config.json"
+ {
"models": [
{
"title": "Claude 3.5 Sonnet",
@@ -40,6 +41,7 @@ Our current top recommendation is Claude Sonnet 3.5 from [Anthropic](../customiz
"apiKey": ""
}
]
+ }
```
@@ -90,50 +92,58 @@ If you prefer to use an open-weight model, then Llama 3.1 405B from Meta is your
- ```json title="config.json"
- "models": [
- {
- "title": "Llama 3.1 405B",
- "provider": "together",
- "model": "llama3.1-405b",
- "apiKey": ""
- }
- ]
- ```
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Llama 3.1 405B",
+ "provider": "together",
+ "model": "llama3.1-405b",
+ "apiKey": ""
+ }
+ ]
+ }
+ ```
- ```json title="config.json"
- "models": [
- {
- "title": "Llama 3.1 405B",
- "provider": "groq",
- "model": "llama3.1-405b",
- "apiKey": ""
- }
- ]
- ```
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Llama 3.1 405B",
+ "provider": "groq",
+ "model": "llama3.1-405b",
+ "apiKey": ""
+ }
+ ]
+ }
+ ```
- ```json title="config.json"
- "models": [
- {
- "title": "Llama 3.1 405B",
- "provider": "vllm",
- "model": "llama3.1-405b"
- }
- ]
- ```
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Llama 3.1 405B",
+ "provider": "vllm",
+ "model": "llama3.1-405b"
+ }
+ ]
+ }
+ ```
- ```json title="config.json"
- "models": [
- {
- "title": "Llama 3.1 405B",
- "provider": "ollama",
- "model": "llama3.1:405b"
- }
- ]
- ```
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Llama 3.1 405B",
+ "provider": "ollama",
+ "model": "llama3.1:405b"
+ }
+ ]
+ }
+ ```
@@ -146,24 +156,26 @@ If you prefer to use a model from [OpenAI](../customize/model-providers/top-leve
```yaml title="Package or config.yaml"
- models:
- - name: GPT-4o
- provider: openai
- model: ''
- apiKey:
+ models:
+ - name: GPT-4o
+ provider: openai
+ model: ''
+ apiKey:
```
- ```json title="config.json"
+ ```json title="config.json"
+ {
"models": [
- {
+ {
"title": "GPT-4o",
"provider": "openai",
"model": "",
"apiKey": ""
- }
+ }
]
- ```
+ }
+ ```
@@ -171,16 +183,31 @@ If you prefer to use a model from [OpenAI](../customize/model-providers/top-leve
If you prefer to use a model from [xAI](../customize/model-providers/top-level/xAI.mdx), then we recommend Grok-2.
-```json title="config.json"
- "models": [
- {
- "title": "Grok-2",
- "provider": "xAI",
- "model": "grok-2-latest",
- "apiKey": ""
- }
- ]
-```
+
+
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Grok-2
+ provider: xAI
+ model: grok-2-latest
+ apiKey:
+ ```
+
+
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Grok-2",
+ "provider": "xAI",
+ "model": "grok-2-latest",
+ "apiKey": ""
+ }
+ ]
+ }
+ ```
+
+
### Gemini 1.5 Pro from Google
@@ -189,24 +216,26 @@ If you prefer to use a model from [Google](../customize/model-providers/top-leve
```yaml title="Package or config.yaml"
- models:
- - name: Gemini 1.5 Pro
- provider: gemini
- model: gemini-1.5-pro-latest
- apiKey:
+ models:
+ - name: Gemini 1.5 Pro
+ provider: gemini
+ model: gemini-1.5-pro-latest
+ apiKey:
```
- ```json title="config.json"
- "models": [
- {
- "title": "Gemini 1.5 Pro",
- "provider": "gemini",
- "model": "gemini-1.5-pro-latest",
- "apiKey": ""
- }
- ]
- ```
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Gemini 1.5 Pro",
+ "provider": "gemini",
+ "model": "gemini-1.5-pro-latest",
+ "apiKey": ""
+ }
+ ]
+ }
+ ```
@@ -221,48 +250,52 @@ If your local machine can run an 8B parameter model, then we recommend running L
-
- ```yaml title="Package or config.yaml"
- models:
- - name: Llama 3.1 8B
- provider: ollama
- model: llama3.1:8b
- ```
-
-
- ```yaml title="Package or config.yaml"
- models:
- - name: Llama 3.1 8B
- provider: lmstudio
- model: llama3.1:8b
- ```
-
+
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Llama 3.1 8B
+ provider: ollama
+ model: llama3.1:8b
+ ```
+
+
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Llama 3.1 8B
+ provider: lmstudio
+ model: llama3.1:8b
+ ```
+
-
- ```json title="config.json"
- "models": [
- {
- "title": "Llama 3.1 8B",
- "provider": "ollama",
- "model": "llama3.1:8b"
- }
- ]
- ```
-
-
- ```json title="config.json"
- "models": [
- {
- "title": "Llama 3.1 8B",
- "provider": "lmstudio",
- "model": "llama3.1-8b"
- }
- ]
- ```
-
+
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Llama 3.1 8B",
+ "provider": "ollama",
+ "model": "llama3.1:8b"
+ }
+ ]
+ }
+ ```
+
+
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Llama 3.1 8B",
+ "provider": "lmstudio",
+ "model": "llama3.1-8b"
+ }
+ ]
+ }
+ ```
+
@@ -294,29 +327,33 @@ If your local machine can run a 16B parameter model, then we recommend running D
-
- ```json title="config.json"
- "models": [
- {
- "title": "DeepSeek Coder 2 16B",
- "provider": "ollama",
- "model": "deepseek-coder-v2:16b",
- "apiBase": "http://localhost:11434"
- }
- ]
- ```
-
-
- ```json title="config.json"
- "models": [
- {
- "title": "DeepSeek Coder 2 16B",
- "provider": "lmstudio",
- "model": "deepseek-coder-v2:16b"
- }
- ]
- ```
-
+
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "DeepSeek Coder 2 16B",
+ "provider": "ollama",
+ "model": "deepseek-coder-v2:16b",
+ "apiBase": "http://localhost:11434"
+ }
+ ]
+ }
+ ```
+
+
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "DeepSeek Coder 2 16B",
+ "provider": "lmstudio",
+ "model": "deepseek-coder-v2:16b"
+ }
+ ]
+ }
+ ```
+
diff --git a/docs/docs/customize/context-providers.mdx b/docs/docs/customize/context-providers.mdx
index 08a8de84c..fe64a473f 100644
--- a/docs/docs/customize/context-providers.mdx
+++ b/docs/docs/customize/context-providers.mdx
@@ -30,11 +30,13 @@ Reference any file in your current workspace.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "file"
}
]
+ }
```
@@ -52,11 +54,13 @@ Reference specific functions or classes from throughout your project.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "code"
}
]
+ }
```
@@ -74,11 +78,13 @@ Reference all of the changes you've made to your current branch. This is useful
```json title="config.json"
+ {
"contextProviders": [
{
"name": "diff"
}
]
+ }
```
@@ -96,11 +102,13 @@ Reference the currently open file.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "currentFile"
}
]
+ }
```
@@ -118,11 +126,13 @@ Reference the last command you ran in your IDE's terminal and its output.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "terminal"
}
]
+ }
```
@@ -140,11 +150,13 @@ Reference the contents from any documentation site.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "docs"
}
]
+ }
```
@@ -168,6 +180,7 @@ Reference the contents of all of your open files. Set `onlyPinned` to `true` to
```json title="config.json"
+ {
"contextProviders": [
{
"name": "open",
@@ -176,6 +189,7 @@ Reference the contents of all of your open files. Set `onlyPinned` to `true` to
}
}
]
+ }
```
@@ -197,6 +211,7 @@ Optionally, set `n` to limit the number of results returned (default 6).
```json title="config.json"
+ {
"contextProviders": [
{
"name": "web",
@@ -205,6 +220,7 @@ Optionally, set `n` to limit the number of results returned (default 6).
}
}
]
+ }
```
@@ -222,11 +238,13 @@ Reference the most relevant snippets from your codebase.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "codebase"
}
]
+ }
```
@@ -246,11 +264,13 @@ Uses the same retrieval mechanism as `@Codebase`, but only on a single folder.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "folder"
}
]
+ }
```
@@ -268,11 +288,13 @@ Reference the results of codebase search, just like the results you would get fr
```json title="config.json"
+ {
"contextProviders": [
{
"name": "search"
}
]
+ }
```
@@ -292,11 +314,13 @@ Reference the markdown converted contents of a given URL.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "url"
}
]
+ }
```
@@ -314,11 +338,13 @@ Reference recent clipboard items
```json title="config.json"
+ {
"contextProviders": [
{
"name": "clipboard"
}
]
+ }
```
@@ -336,11 +362,13 @@ Reference the structure of your current workspace.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "tree"
}
]
+ }
```
@@ -358,11 +386,13 @@ Get Problems from the current file.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "problems"
}
]
+ }
```
@@ -382,6 +412,7 @@ Reference the contents of the local variables in the debugger. Currently only av
```json title="config.json"
+ {
"contextProviders": [
{
"name": "debugger",
@@ -390,6 +421,7 @@ Reference the contents of the local variables in the debugger. Currently only av
}
}
]
+ }
```
@@ -413,6 +445,7 @@ Reference the outline of your codebase. By default, signatures are included alon
```json title="config.json"
+ {
"contextProviders": [
{
"name": "repo-map",
@@ -421,6 +454,7 @@ Reference the outline of your codebase. By default, signatures are included alon
}
}
]
+ }
```
@@ -444,11 +478,13 @@ Reference the architecture and platform of your current operating system.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "os"
}
]
+ }
```
@@ -461,16 +497,17 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a
```yaml title="Package or config.yaml"
mcpServers:
- - name: My MCP Server
- command: uvx
- args:
- - mcp-server-sqlite
- - --db-path
- - /Users/NAME/test.db
+ - name: My MCP Server
+ command: uvx
+ args:
+ - mcp-server-sqlite
+ - --db-path
+ - /Users/NAME/test.db
```
```json title="config.json"
+ {
"experimental": {
"modelContextProtocolServers": [
{
@@ -482,6 +519,7 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a
}
]
}
+ }
```
@@ -510,6 +548,7 @@ Reference the conversation in a GitHub issue.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "issue",
@@ -524,6 +563,7 @@ Reference the conversation in a GitHub issue.
}
}
]
+ }
```
@@ -564,6 +604,7 @@ Reference table schemas from Sqlite, Postgres, MSSQL, and MySQL databases.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "database",
@@ -601,6 +642,7 @@ Reference table schemas from Sqlite, Postgres, MSSQL, and MySQL databases.
}
}
]
+ }
```
@@ -634,6 +676,7 @@ Reference the schema of a table, and some sample rows
```json title="config.json"
+ {
"contextProviders": [
{
"name": "postgres",
@@ -648,6 +691,7 @@ Reference the schema of a table, and some sample rows
}
}
]
+ }
```
@@ -673,6 +717,7 @@ Reference the results of a Google search.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "google",
@@ -681,6 +726,7 @@ Reference the results of a Google search.
}
}
]
+ }
```
@@ -704,6 +750,7 @@ Reference an open MR for this branch on GitLab.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "gitlab-mr",
@@ -712,6 +759,7 @@ Reference an open MR for this branch on GitLab.
}
}
]
+ }
```
@@ -734,6 +782,7 @@ You can specify the domain to communicate with by setting the `domain` parameter
```json title="config.json"
+ {
"contextProviders": [
{
"name": "gitlab-mr",
@@ -743,6 +792,7 @@ You can specify the domain to communicate with by setting the `domain` parameter
}
}
]
+ }
```
@@ -767,6 +817,7 @@ Reference the conversation in a Jira issue.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "jira",
@@ -776,6 +827,7 @@ Reference the conversation in a Jira issue.
}
}
]
+ }
```
@@ -799,6 +851,7 @@ to set the API Version to 2 using the `apiVersion` property.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "jira",
@@ -807,6 +860,7 @@ to set the API Version to 2 using the `apiVersion` property.
}
}
]
+ }
```
@@ -842,6 +896,7 @@ Reference the messages in a Discord channel.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "discord",
@@ -861,6 +916,7 @@ Reference the messages in a Discord channel.
}
}
]
+ }
```
@@ -882,6 +938,7 @@ The HttpContextProvider makes a POST request to the url passed in the configurat
```json title="config.json"
+ {
"contextProviders": [
{
"name": "http",
@@ -890,6 +947,7 @@ The HttpContextProvider makes a POST request to the url passed in the configurat
}
}
]
+ }
```
@@ -938,6 +996,7 @@ Reference specific git commit metadata and diff or all of the recent commits.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "commit",
@@ -947,6 +1006,7 @@ Reference specific git commit metadata and diff or all of the recent commits.
}
}
]
+ }
```
@@ -970,6 +1030,7 @@ Query a [Greptile](https://www.greptile.com/) index of the current repo/branch.
```json title="config.json"
+ {
"contextProviders": [
{
"name": "greptile",
@@ -979,6 +1040,7 @@ Query a [Greptile](https://www.greptile.com/) index of the current repo/branch.
}
}
]
+ }
```
diff --git a/docs/docs/customize/deep-dives/autocomplete.mdx b/docs/docs/customize/deep-dives/autocomplete.mdx
index 3812cd97e..6713e4653 100644
--- a/docs/docs/customize/deep-dives/autocomplete.mdx
+++ b/docs/docs/customize/deep-dives/autocomplete.mdx
@@ -64,12 +64,14 @@ All of the configuration options available for chat models are available to use
```json title="config.json"
+ {
"tabAutocompleteModel": {
"title": "Tab Autocomplete Model",
"provider": "ollama",
"model": "qwen2.5-coder:1.5b-base",
"apiBase": "https://"
}
+ }
```
diff --git a/docs/docs/customize/deep-dives/codebase.mdx b/docs/docs/customize/deep-dives/codebase.mdx
index 44987f8f1..acf19c4fc 100644
--- a/docs/docs/customize/deep-dives/codebase.mdx
+++ b/docs/docs/customize/deep-dives/codebase.mdx
@@ -56,6 +56,7 @@ There are a few options that let you configure the behavior of the `@codebase` c
```json title="config.json"
+ {
"contextProviders": [
{
"name": "codebase",
@@ -66,6 +67,7 @@ There are a few options that let you configure the behavior of the `@codebase` c
}
}
]
+ }
```
diff --git a/docs/docs/customize/deep-dives/docs.mdx b/docs/docs/customize/deep-dives/docs.mdx
index ffa16eb83..e48bac259 100644
--- a/docs/docs/customize/deep-dives/docs.mdx
+++ b/docs/docs/customize/deep-dives/docs.mdx
@@ -259,6 +259,7 @@ The following configuration example works out of the box for VS Code. This uses
```json title="config.json"
+ {
"contextProviders": [
{
"name": "docs",
@@ -269,7 +270,8 @@ The following configuration example works out of the box for VS Code. This uses
"title": "Nest.js",
"startUrl": "https://docs.nestjs.com/",
},
- ],
+ ]
+ }
```
@@ -296,6 +298,7 @@ Here is the equivalent minimal example for Jetbrains, which requires setting up
```json title="config.json"
+ {
"contextProviders": [
{
"name": "docs",
@@ -310,7 +313,8 @@ Here is the equivalent minimal example for Jetbrains, which requires setting up
"embeddingsProvider": {
"provider": "lmstudio",
"model": "nomic-ai/nomic-embed-text-v1.5-GGUF"
- },
+ }
+ }
```
diff --git a/docs/docs/customize/model-providers/more/SambaNova.mdx b/docs/docs/customize/model-providers/more/SambaNova.mdx
index e45042a3c..86c2e9e0b 100644
--- a/docs/docs/customize/model-providers/more/SambaNova.mdx
+++ b/docs/docs/customize/model-providers/more/SambaNova.mdx
@@ -17,6 +17,7 @@ The SambaNova Cloud is a cloud platform for running large AI models with the wor
```json title="config.json"
+ {
"models": [
{
"title": "SambaNova Llama 3.1 405B",
@@ -25,6 +26,7 @@ The SambaNova Cloud is a cloud platform for running large AI models with the wor
"apiKey": ""
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/more/asksage.mdx b/docs/docs/customize/model-providers/more/asksage.mdx
index 9403d652c..f6966a517 100644
--- a/docs/docs/customize/model-providers/more/asksage.mdx
+++ b/docs/docs/customize/model-providers/more/asksage.mdx
@@ -15,24 +15,26 @@ To use the Ask Sage models, you can use the following
```yaml title="Package or config.yaml"
models:
- - name: GPT-4 gov
- provider: askSage
- apiKey:
- apiBase: https://api.asksage.ai/server/
- model: gpt4-gov
+ - name: GPT-4 gov
+ provider: askSage
+ model: gpt4-gov
+ apiBase: https://api.asksage.ai/server/
+ apiKey:
```
```json title="config.json"
- "models": [
- {
- "title": "GPT-4 gov",
- "provider": "askSage",
- "model": "gpt4-gov",
- "apiBase": "https://api.asksage.ai/server/",
- "apiKey": ""
- }
- ]
+ {
+ "models": [
+ {
+ "title": "GPT-4 gov",
+ "provider": "askSage",
+ "model": "gpt4-gov",
+ "apiBase": "https://api.asksage.ai/server/",
+ "apiKey": ""
+ }
+ ]
+ }
```
diff --git a/docs/docs/customize/model-providers/more/cerebras.mdx b/docs/docs/customize/model-providers/more/cerebras.mdx
index eec853734..a0ffabc8b 100644
--- a/docs/docs/customize/model-providers/more/cerebras.mdx
+++ b/docs/docs/customize/model-providers/more/cerebras.mdx
@@ -21,6 +21,7 @@ Cerebras Inference uses specialized silicon to provides fast inference.
```json title="config.json"
+ {
"models": [
{
"title": "Cerebras Llama 3.1 70B",
@@ -29,6 +30,7 @@ Cerebras Inference uses specialized silicon to provides fast inference.
"apiKey": ""
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/more/cloudflare.mdx b/docs/docs/customize/model-providers/more/cloudflare.mdx
index d6a3b428d..fa95f4930 100644
--- a/docs/docs/customize/model-providers/more/cloudflare.mdx
+++ b/docs/docs/customize/model-providers/more/cloudflare.mdx
@@ -40,6 +40,7 @@ Cloudflare Workers AI can be used for both chat and tab autocompletion in Contin
```json title="config.json"
+ {
"models": [
{
"title": "Llama 3 8B",
@@ -71,6 +72,7 @@ Cloudflare Workers AI can be used for both chat and tab autocompletion in Contin
"apiKey": "YOUR CLOUDFLARE API KEY",
"model": "@hf/thebloke/deepseek-coder-6.7b-base-awq"
}
+ }
```
diff --git a/docs/docs/customize/model-providers/more/cohere.mdx b/docs/docs/customize/model-providers/more/cohere.mdx
index 3aa7b78fe..dd7de0321 100644
--- a/docs/docs/customize/model-providers/more/cohere.mdx
+++ b/docs/docs/customize/model-providers/more/cohere.mdx
@@ -21,6 +21,7 @@ We recommend configuring **Command-R Plus** as your chat model.
```json title="config.json"
+ {
"models": [
{
"title": "Cohere",
@@ -29,6 +30,7 @@ We recommend configuring **Command-R Plus** as your chat model.
"apiKey": ""
}
]
+ }
```
@@ -57,11 +59,13 @@ We recommend configuring **embed-english-v3.0** as your embeddings model.
```json title="config.json"
+ {
"embeddingsProvider": {
"provider": "cohere",
"model": "embed-english-v3.0",
"apiKey": ""
}
+ }
```
@@ -84,6 +88,7 @@ We recommend configuring **rerank-english-v3.0** as your reranking model.
```json title="config.json"
+ {
"reranker": {
"name": "cohere",
"params": {
@@ -91,6 +96,7 @@ We recommend configuring **rerank-english-v3.0** as your reranking model.
"apiKey": ""
}
}
+ }
```
diff --git a/docs/docs/customize/model-providers/more/deepinfra.mdx b/docs/docs/customize/model-providers/more/deepinfra.mdx
index 61e2fcdab..de3e09e23 100644
--- a/docs/docs/customize/model-providers/more/deepinfra.mdx
+++ b/docs/docs/customize/model-providers/more/deepinfra.mdx
@@ -17,6 +17,7 @@ import TabItem from "@theme/TabItem";
```json title="config.json"
+ {
"models": [
{
"provider": "deepinfra",
@@ -25,6 +26,7 @@ import TabItem from "@theme/TabItem";
"apiKey": ""
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/more/flowise.mdx b/docs/docs/customize/model-providers/more/flowise.mdx
index 68fb45f3f..546e6a716 100644
--- a/docs/docs/customize/model-providers/more/flowise.mdx
+++ b/docs/docs/customize/model-providers/more/flowise.mdx
@@ -17,6 +17,7 @@ import TabItem from "@theme/TabItem";
```json title="config.json"
+ {
"models": [
{
"provider": "flowise",
@@ -25,6 +26,7 @@ import TabItem from "@theme/TabItem";
"apiBase": ""
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/more/function-network.mdx b/docs/docs/customize/model-providers/more/function-network.mdx
index 0534fdd8b..d734fde08 100644
--- a/docs/docs/customize/model-providers/more/function-network.mdx
+++ b/docs/docs/customize/model-providers/more/function-network.mdx
@@ -22,18 +22,19 @@ Function Network supports a number of models for chat. We recommend using LLama
- ```yaml title="Package or config.yaml"
- models:
- - name: Llama 3.1 70b
- provider: function-network
- model: meta/llama-3.1-70b-instruct
- apiKey:
- roles:
- - chat
- ```
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Llama 3.1 70b
+ provider: function-network
+ model: meta/llama-3.1-70b-instruct
+ apiKey:
+ roles:
+ - chat
+ ```
- ```json title="config.json"
+ ```json title="config.json"
+ {
"models": [
{
"title": "Llama 3.1 70b",
@@ -42,7 +43,8 @@ Function Network supports a number of models for chat. We recommend using LLama
"apiKey": ""
}
]
- ```
+ }
+ ```
@@ -66,12 +68,14 @@ Function Network supports a number of models for autocomplete. We recommend usin
```json title="config.json"
+ {
"tabAutocompleteModel": {
"title": "Deepseek Coder 6.7b",
"provider": "function-network",
"model": "thebloke/deepseek-coder-6.7b-base-awq",
"apiKey": ""
}
+ }
```
@@ -94,11 +98,13 @@ Function Network supports a number of models for embeddings. We recommend using
```json title="config.json"
+ {
"embeddingsProvider": {
"provider": "function-network",
"model": "baai/bge-base-en-v1.5",
"apiKey": ""
}
+ }
```
diff --git a/docs/docs/customize/model-providers/more/groq.mdx b/docs/docs/customize/model-providers/more/groq.mdx
index 1f637df99..45cfd0a8a 100644
--- a/docs/docs/customize/model-providers/more/groq.mdx
+++ b/docs/docs/customize/model-providers/more/groq.mdx
@@ -14,18 +14,19 @@ Groq provides the fastest available inference for open-source language models, i
- ```yaml title="Package or config.yaml"
- models:
- - name: Llama 3.3 70b Versatile
- provider: groq
- model: llama-3.3-70b-versatile
- apiKey:
- roles:
- - chat
- ```
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Llama 3.3 70b Versatile
+ provider: groq
+ model: llama-3.3-70b-versatile
+ apiKey:
+ roles:
+ - chat
+ ```
- ```json title="config.json"
+ ```json title="config.json"
+ {
"models": [
{
"title": "Llama 3.3 70b Versatile",
@@ -34,6 +35,7 @@ Groq provides the fastest available inference for open-source language models, i
"apiKey": ""
}
]
- ```
+ }
+ ```
diff --git a/docs/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx b/docs/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx
index 8a3a4235f..91f37051a 100644
--- a/docs/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx
+++ b/docs/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx
@@ -6,29 +6,31 @@ import TabItem from "@theme/TabItem";
Hugging Face Inference Endpoints are an easy way to setup instances of open-source language models on any cloud. Sign up for an account and add billing [here](https://huggingface.co/settings/billing), access the Inference Endpoints [here](https://ui.endpoints.huggingface.co), click on “New endpoint”, and fill out the form (e.g. select a model like [WizardCoder-Python-34B-V1.0](https://huggingface.co/WizardLM/WizardCoder-Python-34B-V1.0)), and then deploy your model by clicking “Create Endpoint”. Change `~/.continue/config.json` to look like this:
-
- ```yaml title="config.yaml"
- models:
- - name: Hugging Face Inference API
- provider: huggingface-inference-api
- model: MODEL_NAME
- apiKey:
- apiBase:
- ```
-
-
- ```json title="config.json"
- "models": [
- {
- "title": "Hugging Face Inference API",
- "provider": "huggingface-inference-api",
- "model": "MODEL_NAME",
- "apiKey": "",
- "apiBase": ""
- }
- ]
- ```
-
+
+ ```yaml title="config.yaml"
+ models:
+ - name: Hugging Face Inference API
+ provider: huggingface-inference-api
+ model: MODEL_NAME
+ apiKey:
+ apiBase:
+ ```
+
+
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Hugging Face Inference API",
+ "provider": "huggingface-inference-api",
+ "model": "MODEL_NAME",
+ "apiKey": "",
+ "apiBase": ""
+ }
+ ]
+ }
+ ```
+
[View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/HuggingFaceInferenceAPI.ts)
diff --git a/docs/docs/customize/model-providers/more/ipex_llm.mdx b/docs/docs/customize/model-providers/more/ipex_llm.mdx
index fbdd0cb8b..02d20f89b 100644
--- a/docs/docs/customize/model-providers/more/ipex_llm.mdx
+++ b/docs/docs/customize/model-providers/more/ipex_llm.mdx
@@ -20,6 +20,7 @@ IPEX-LLM supports accelerated Ollama backend to be hosted on Intel GPU. Refer to
```json title="config.json"
+ {
"models": [
{
"title": "IPEX-LLM",
@@ -27,6 +28,7 @@ IPEX-LLM supports accelerated Ollama backend to be hosted on Intel GPU. Refer to
"model": "AUTODETECT"
}
]
+ }
```
@@ -45,6 +47,7 @@ If you would like to reach the Ollama service from another machine, make sure yo
```json title="config.json"
+ {
"models": [
{
"title": "IPEX-LLM",
@@ -53,6 +56,7 @@ If you would like to reach the Ollama service from another machine, make sure yo
"apiBase": "http://your-ollama-service-ip:11434"
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/more/kindo.mdx b/docs/docs/customize/model-providers/more/kindo.mdx
index 4b4b8a679..e788b7e39 100644
--- a/docs/docs/customize/model-providers/more/kindo.mdx
+++ b/docs/docs/customize/model-providers/more/kindo.mdx
@@ -19,6 +19,7 @@ Kindo offers centralized control over your organization's AI operations, ensurin
```json title="config.json"
+ {
"models": [
{
"title": "Claude 3.5 Sonnet",
@@ -27,6 +28,7 @@ Kindo offers centralized control over your organization's AI operations, ensurin
"apiKey": ""
}
]
+ }
```
@@ -35,28 +37,30 @@ Kindo offers centralized control over your organization's AI operations, ensurin
- ```yaml title="Package or config.yaml"
- models:
- - name: WhiteRabbitNeo
- provider: kindo
- model: /models/WhiteRabbitNeo-33B-DeepSeekCoder
- apiKey:
- roles:
- - autocomplete
- ```
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: WhiteRabbitNeo
+ provider: kindo
+ model: /models/WhiteRabbitNeo-33B-DeepSeekCoder
+ apiKey:
+ roles:
+ - autocomplete
+ ```
- ```json title="config.json"
- "tabAutocompleteModel": [
- {
- "title": "WhiteRabbitNeo",
- "provider": "kindo",
- "model": "/models/WhiteRabbitNeo-33B-DeepSeekCoder",
- "apiKey": "",
- "template": "none"
- }
- ]
- ```
+ ```json title="config.json"
+ {
+ "tabAutocompleteModel": [
+ {
+ "title": "WhiteRabbitNeo",
+ "provider": "kindo",
+ "model": "/models/WhiteRabbitNeo-33B-DeepSeekCoder",
+ "apiKey": "",
+ "template": "none"
+ }
+ ]
+ }
+ ```
diff --git a/docs/docs/customize/model-providers/more/llamacpp.mdx b/docs/docs/customize/model-providers/more/llamacpp.mdx
index c5449b0cd..291ed0a5a 100644
--- a/docs/docs/customize/model-providers/more/llamacpp.mdx
+++ b/docs/docs/customize/model-providers/more/llamacpp.mdx
@@ -23,6 +23,7 @@ After it's up and running, change `~/.continue/config.json` to look like this:
```json title="config.json"
+ {
"models": [
{
"title": "Llama CPP",
@@ -31,6 +32,7 @@ After it's up and running, change `~/.continue/config.json` to look like this:
"apiBase": "http://localhost:8080"
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/more/llamafile.mdx b/docs/docs/customize/model-providers/more/llamafile.mdx
index 90b43151a..e674d2f83 100644
--- a/docs/docs/customize/model-providers/more/llamafile.mdx
+++ b/docs/docs/customize/model-providers/more/llamafile.mdx
@@ -7,15 +7,16 @@ A [llamafile](https://github.com/Mozilla-Ocho/llamafile#readme) is a self-contai
- ```yaml title="config.yaml"
- models:
- - name: Llamafile
- provider: llamafile
- model: mistral-7b
- ```
+ ```yaml title="config.yaml"
+ models:
+ - name: Llamafile
+ provider: llamafile
+ model: mistral-7b
+ ```
- ```json title="config.json"
+ ```json title="config.json"
+ {
"models": [
{
"title": "Llamafile",
@@ -23,7 +24,8 @@ A [llamafile](https://github.com/Mozilla-Ocho/llamafile#readme) is a self-contai
"model": "mistral-7b"
}
]
- ```
+ }
+ ```
diff --git a/docs/docs/customize/model-providers/more/lmstudio.mdx b/docs/docs/customize/model-providers/more/lmstudio.mdx
index 0c27a7fe3..784c321cc 100644
--- a/docs/docs/customize/model-providers/more/lmstudio.mdx
+++ b/docs/docs/customize/model-providers/more/lmstudio.mdx
@@ -16,6 +16,7 @@ import TabItem from "@theme/TabItem";
```json title="config.json"
+ {
"models": [
{
"title": "LM Studio",
@@ -23,6 +24,7 @@ import TabItem from "@theme/TabItem";
"model": "llama2-7b"
}
]
+ }
```
@@ -44,10 +46,12 @@ LMStudio supports embeddings endpoints, and comes with the `nomic-ai/nomic-embed
```json title="config.json"
+ {
"embeddingsProvider": {
"provider": "lmstudio",
"model": "nomic-ai/nomic-embed-text-v1.5-GGUF"
}
+ }
```
@@ -69,10 +73,12 @@ To configure a remote instance of LM Studio, add the `"apiBase"` property to you
```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 3113e2c77..9fc429f6d 100644
--- a/docs/docs/customize/model-providers/more/moonshot.mdx
+++ b/docs/docs/customize/model-providers/more/moonshot.mdx
@@ -14,16 +14,17 @@ To use Moonshot AI models, you need to:
- ```yaml title="Package or config.yaml"
- models:
- - name: Moonshot
- provider: moonshot
- model: moonshot-v1-8k
- apiKey:
- ```
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Moonshot
+ provider: moonshot
+ model: moonshot-v1-8k
+ apiKey:
+ ```
- ```json title="config.json"
+ ```json title="config.json"
+ {
"models": [
{
"title": "Moonshot",
@@ -32,7 +33,8 @@ To use Moonshot AI models, you need to:
"apiKey": ""
}
]
- ```
+ }
+ ```
@@ -72,6 +74,7 @@ Here's a complete configuration example:
```json title="config.json"
+ {
"models": [
{
"title": "Moonshot-8K",
@@ -85,6 +88,7 @@ Here's a complete configuration example:
}
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/more/msty.mdx b/docs/docs/customize/model-providers/more/msty.mdx
index e8532d0a2..e08d2ffff 100644
--- a/docs/docs/customize/model-providers/more/msty.mdx
+++ b/docs/docs/customize/model-providers/more/msty.mdx
@@ -16,6 +16,7 @@ import TabItem from "@theme/TabItem";
```json title="config.json"
+ {
"models": [
{
"title": "Msty",
@@ -23,6 +24,7 @@ import TabItem from "@theme/TabItem";
"model": "deepseek-coder:6.7b",
}
]
+ }
```
@@ -56,6 +58,7 @@ If you need to send custom headers for authentication, you may use the `requestO
```json title="config.json"
+ {
"models": [
{
"title": "Msty",
@@ -68,6 +71,7 @@ If you need to send custom headers for authentication, you may use the `requestO
}
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/more/nebius.mdx b/docs/docs/customize/model-providers/more/nebius.mdx
index 87748b605..72af4334d 100644
--- a/docs/docs/customize/model-providers/more/nebius.mdx
+++ b/docs/docs/customize/model-providers/more/nebius.mdx
@@ -23,6 +23,7 @@ Available models can be found on the [Nebius AI Studio models page](https://stud
```json title="config.json"
+ {
"models": [
{
"title": "Llama 3.1 405b",
@@ -31,6 +32,7 @@ Available models can be found on the [Nebius AI Studio models page](https://stud
"apiKey": ""
}
]
+ }
```
@@ -53,11 +55,13 @@ Available models can be found on the [Nebius AI Studio embeddings page](https://
```json title="config.json"
+ {
"embeddingsProvider": {
"provider": "nebius",
"model": "BAAI/bge-en-icl",
"apiKey": ""
}
+ }
```
diff --git a/docs/docs/customize/model-providers/more/novita.mdx b/docs/docs/customize/model-providers/more/novita.mdx
index b9f647955..bf6e99421 100644
--- a/docs/docs/customize/model-providers/more/novita.mdx
+++ b/docs/docs/customize/model-providers/more/novita.mdx
@@ -17,6 +17,7 @@ import TabItem from "@theme/TabItem";
```json title="config.json"
+ {
"models": [
{
"title": "Llama 3.1 8B",
@@ -25,6 +26,7 @@ import TabItem from "@theme/TabItem";
"apiKey": ""
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/more/nvidia.mdx b/docs/docs/customize/model-providers/more/nvidia.mdx
index dcceaf31d..bc395cf0d 100644
--- a/docs/docs/customize/model-providers/more/nvidia.mdx
+++ b/docs/docs/customize/model-providers/more/nvidia.mdx
@@ -25,6 +25,7 @@ We recommend configuring **Nemotron-4-340B-Instruct** as your chat model.
```json title="config.json"
+ {
"models": [
{
"title": "Nemotron-4-340B-Instruct",
@@ -33,6 +34,7 @@ We recommend configuring **Nemotron-4-340B-Instruct** as your chat model.
"apiKey": ""
}
]
+ }
```
@@ -61,11 +63,13 @@ We recommend configuring **NVIDIA Retrieval QA Mistral 7B** as your embeddings m
```json title="config.json"
+ {
"embeddingsProvider": {
"provider": "nvidia",
"model": "nvidia/nv-embedqa-mistral-7b-v2",
"apiKey": ""
}
+ }
```
diff --git a/docs/docs/customize/model-providers/more/openrouter.mdx b/docs/docs/customize/model-providers/more/openrouter.mdx
index 3f3305aa0..637366d6e 100644
--- a/docs/docs/customize/model-providers/more/openrouter.mdx
+++ b/docs/docs/customize/model-providers/more/openrouter.mdx
@@ -9,27 +9,29 @@ Change `~/.continue/config.json` to look like the following.
- ```yaml title="Package or config.yaml"
- models:
- - name: OpenRouter LLaMA 70 8B
- provider: openrouter
- model: meta-llama/llama-3-70b-instruct
- apiBase: https://openrouter.ai/api/v1
- apiKey:
- ```
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: OpenRouter LLaMA 70 8B
+ provider: openrouter
+ model: meta-llama/llama-3-70b-instruct
+ apiBase: https://openrouter.ai/api/v1
+ apiKey:
+ ```
- ```json title="config.json"
- "models": [
- {
- "title": "OpenRouter LLaMA 70 8B",
- "provider": "openrouter",
- "model": "meta-llama/llama-3-70b-instruct",
- "apiBase": "https://openrouter.ai/api/v1",
- "apiKey": ""
- }
- ]
- ```
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "OpenRouter LLaMA 70 8B",
+ "provider": "openrouter",
+ "model": "meta-llama/llama-3-70b-instruct",
+ "apiBase": "https://openrouter.ai/api/v1",
+ "apiKey": ""
+ }
+ ]
+ }
+ ```
@@ -39,31 +41,33 @@ For example, to prevent extra long prompts from being compressed, you can explic
- ```yaml title="Package or config.yaml"
- models:
- - name: Example Model
- provider: exampleProvider
- model: example-model
- requestOptions:
- extraBodyProperties:
- transforms: []
- ```
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Example Model
+ provider: exampleProvider
+ model: example-model
+ requestOptions:
+ extraBodyProperties:
+ transforms: []
+ ```
- ```json title="config.json"
- "models": [
- {
- "title": "Example Model",
- "provider": "exampleProvider",
- "model": "example-model",
- "requestOptions": {
- "extraBodyProperties": {
- "transforms": []
- }
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Example Model",
+ "provider": "exampleProvider",
+ "model": "example-model",
+ "requestOptions": {
+ "extraBodyProperties": {
+ "transforms": []
}
}
- ]
- ```
+ }
+ ]
+ }
+ ```
diff --git a/docs/docs/customize/model-providers/more/replicatellm.mdx b/docs/docs/customize/model-providers/more/replicatellm.mdx
index 42993d683..958fc347a 100644
--- a/docs/docs/customize/model-providers/more/replicatellm.mdx
+++ b/docs/docs/customize/model-providers/more/replicatellm.mdx
@@ -17,6 +17,7 @@ Replicate is a great option for newly released language models or models that yo
```json title="config.json"
+ {
"models": [
{
"title": "Replicate CodeLLama",
@@ -25,6 +26,7 @@ Replicate is a great option for newly released language models or models that yo
"apiKey": ""
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/more/sagemaker.mdx b/docs/docs/customize/model-providers/more/sagemaker.mdx
index 78889f27a..33aa6e253 100644
--- a/docs/docs/customize/model-providers/more/sagemaker.mdx
+++ b/docs/docs/customize/model-providers/more/sagemaker.mdx
@@ -26,6 +26,7 @@ Here is an example Sagemaker configuration setup:
```json title="config.json"
+ {
"models": [
{
"title": "deepseek-6.7b-instruct",
@@ -38,6 +39,7 @@ Here is an example Sagemaker configuration setup:
"provider": "sagemaker",
"model": "mxbai-embed-large-v1-endpoint"
}
+ }
```
diff --git a/docs/docs/customize/model-providers/more/scaleway.mdx b/docs/docs/customize/model-providers/more/scaleway.mdx
index 64f43eb04..462c362b5 100644
--- a/docs/docs/customize/model-providers/more/scaleway.mdx
+++ b/docs/docs/customize/model-providers/more/scaleway.mdx
@@ -28,14 +28,16 @@ We recommend configuring **Qwen2.5-Coder-32B-Instruct** as your chat model.
```json title="config.json"
- "models": [
- {
- "title": "Qwen2.5-Coder-32B-Instruct",
- "provider": "scaleway",
- "model": "qwen2.5-coder-32b-instruct",
- "apiKey": ""
- }
- ]
+ {
+ "models": [
+ {
+ "title": "Qwen2.5-Coder-32B-Instruct",
+ "provider": "scaleway",
+ "model": "qwen2.5-coder-32b-instruct",
+ "apiKey": ""
+ }
+ ]
+ }
```
@@ -64,11 +66,13 @@ We recommend configuring **BGE-Multilingual-Gemma2** as your embeddings model.
```json title="config.json"
+ {
"embeddingsProvider": {
"provider": "scaleway",
"model": "bge-multilingual-gemma2",
"apiKey": ""
}
+ }
```
diff --git a/docs/docs/customize/model-providers/more/siliconflow.mdx b/docs/docs/customize/model-providers/more/siliconflow.mdx
index e1b185230..a496d3757 100644
--- a/docs/docs/customize/model-providers/more/siliconflow.mdx
+++ b/docs/docs/customize/model-providers/more/siliconflow.mdx
@@ -27,6 +27,7 @@ We recommend configuring **Qwen/Qwen2.5-Coder-32B-Instruct** as your chat model.
```json title="config.json"
+ {
"models": [
{
"title": "Qwen",
@@ -35,6 +36,7 @@ We recommend configuring **Qwen/Qwen2.5-Coder-32B-Instruct** as your chat model.
"apiKey": ""
}
]
+ }
```
@@ -57,6 +59,7 @@ We recommend configuring **Qwen/Qwen2.5-Coder-7B-Instruct** as your autocomplete
```json title="config.json"
+ {
"models": [
{
"title": "Qwen",
@@ -71,6 +74,7 @@ We recommend configuring **Qwen/Qwen2.5-Coder-7B-Instruct** as your autocomplete
"model": "Qwen/Qwen2.5-Coder-7B-Instruct",
"apiKey": ""
}
+ }
```
diff --git a/docs/docs/customize/model-providers/more/textgenwebui.mdx b/docs/docs/customize/model-providers/more/textgenwebui.mdx
index f5f977058..0bfcbb442 100644
--- a/docs/docs/customize/model-providers/more/textgenwebui.mdx
+++ b/docs/docs/customize/model-providers/more/textgenwebui.mdx
@@ -17,14 +17,16 @@ TextGenWebUI is a comprehensive, open-source language model UI and local server.
```json title="config.json"
- "models": [
- {
- "title": "Text Generation WebUI",
- "provider": "text-gen-webui",
- "apiBase": "http://localhost:5000/v1",
- "model": "MODEL_NAME"
- }
- ]
+ {
+ "models": [
+ {
+ "title": "Text Generation WebUI",
+ "provider": "text-gen-webui",
+ "apiBase": "http://localhost:5000/v1",
+ "model": "MODEL_NAME"
+ }
+ ]
+ }
```
diff --git a/docs/docs/customize/model-providers/more/together.mdx b/docs/docs/customize/model-providers/more/together.mdx
index 1e8034a5e..8af923471 100644
--- a/docs/docs/customize/model-providers/more/together.mdx
+++ b/docs/docs/customize/model-providers/more/together.mdx
@@ -6,17 +6,18 @@ import TabItem from "@theme/TabItem";
The Together API is a cloud platform for running large AI models. You can sign up [here](https://api.together.xyz/signup), copy your API key on the initial welcome screen, and then hit the play button on any model from the [Together Models list](https://docs.together.ai/docs/serverless-models). Change `~/.continue/config.json` to look like this:
-
- ```yaml title="Package or config.yaml"
- models:
- - name: Together Qwen2.5 Coder
- provider: together
- model: Qwen/Qwen2.5-Coder-32B-Instruct
- apiKey:
- ```
-
-
- ```json title="config.json"
+
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Together Qwen2.5 Coder
+ provider: together
+ model: Qwen/Qwen2.5-Coder-32B-Instruct
+ apiKey:
+ ```
+
+
+ ```json title="config.json"
+ {
"models": [
{
"title": "Together Qwen2.5 Coder",
@@ -25,8 +26,9 @@ The Together API is a cloud platform for running large AI models. You can sign u
"apiKey": ""
}
]
- ```
-
+ }
+ ```
+
[View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/Together.ts)
diff --git a/docs/docs/customize/model-providers/more/vllm.mdx b/docs/docs/customize/model-providers/more/vllm.mdx
index 9026e8044..1c49ef620 100644
--- a/docs/docs/customize/model-providers/more/vllm.mdx
+++ b/docs/docs/customize/model-providers/more/vllm.mdx
@@ -25,14 +25,16 @@ We recommend configuring **Llama3.1 8B** as your chat model.
```json title="config.json"
- "models": [
+ {
+ "models": [
{
- "title": "Llama3.1 8B Instruct",
- "provider": "vllm",
- "model": "meta-llama/Meta-Llama-3.1-8B-Instruct",
- "apiBase": "http:///v1"
+ "title": "Llama3.1 8B Instruct",
+ "provider": "vllm",
+ "model": "meta-llama/Meta-Llama-3.1-8B-Instruct",
+ "apiBase": "http:///v1"
}
]
+ }
```
@@ -42,27 +44,29 @@ We recommend configuring **Llama3.1 8B** as your chat model.
We recommend configuring **Qwen2.5-Coder 1.5B** as your autocomplete model.
-
- ```yaml title="Package or config.yaml"
- models:
- - name: Qwen2.5-Coder 1.5B
- provider: vllm
- model: Qwen/Qwen2.5-Coder-1.5B
- apiBase: http:///v1
- roles:
- - autocomplete
- ```
-
-
- ```json title="config.json"
- "tabAutocompleteModel": {
- "title": "Qwen2.5-Coder 1.5B",
- "provider": "vllm",
- "model": "Qwen/Qwen2.5-Coder-1.5B",
- "apiBase": "http:///v1"
- }
- ```
-
+
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Qwen2.5-Coder 1.5B
+ provider: vllm
+ model: Qwen/Qwen2.5-Coder-1.5B
+ apiBase: http:///v1
+ roles:
+ - autocomplete
+ ```
+
+
+ ```json title="config.json"
+ {
+ "tabAutocompleteModel": {
+ "title": "Qwen2.5-Coder 1.5B",
+ "provider": "vllm",
+ "model": "Qwen/Qwen2.5-Coder-1.5B",
+ "apiBase": "http:///v1"
+ }
+ }
+ ```
+
## Embeddings model
@@ -70,26 +74,28 @@ We recommend configuring **Qwen2.5-Coder 1.5B** as your autocomplete model.
We recommend configuring **Nomic Embed Text** as your embeddings model.
-
- ```yaml title="Package or config.yaml"
- models:
- - name: VLLM Nomad Embed Text
- provider: vllm
- model: nomic-ai/nomic-embed-text-v1
- apiBase: http:///v1
- roles:
- - embed
- ```
-
-
- ```json title="config.json"
- "embeddingsProvider": {
- "provider": "vllm",
- "model": "nomic-ai/nomic-embed-text-v1",
- "apiBase": "http:///v1"
- }
- ```
-
+
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: VLLM Nomad Embed Text
+ provider: vllm
+ model: nomic-ai/nomic-embed-text-v1
+ apiBase: http:///v1
+ roles:
+ - embed
+ ```
+
+
+ ```json title="config.json"
+ {
+ "embeddingsProvider": {
+ "provider": "vllm",
+ "model": "nomic-ai/nomic-embed-text-v1",
+ "apiBase": "http:///v1"
+ }
+ }
+ ```
+
## Reranking model
diff --git a/docs/docs/customize/model-providers/more/watsonx.mdx b/docs/docs/customize/model-providers/more/watsonx.mdx
index 0a50593c7..e18b3e285 100644
--- a/docs/docs/customize/model-providers/more/watsonx.mdx
+++ b/docs/docs/customize/model-providers/more/watsonx.mdx
@@ -45,19 +45,20 @@ Add the following configuration:
- ```yaml title="Package or config.yaml"
- models:
- - name: watsonx - Model Name
- provider: watsonx
- model: model ID
- apiBase: https://us-south.ml.cloud.ibm.com
- projectId: PROJECT_ID
- apiKey: API_KEY/ZENAPI_KEY/USERNAME:PASSWORD
- apiVersion: 2024-03-14
- ```
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: watsonx - Model Name
+ provider: watsonx
+ model: model ID
+ apiBase: https://us-south.ml.cloud.ibm.com
+ projectId: PROJECT_ID
+ apiKey: API_KEY/ZENAPI_KEY/USERNAME:PASSWORD
+ apiVersion: 2024-03-14
+ ```
- ```json title="config.json"
+ ```json title="config.json"
+ {
"models": [
{
"model": "model ID",
@@ -69,7 +70,8 @@ Add the following configuration:
"apiVersion": "2024-03-14"
}
]
- ```
+ }
+ ```
@@ -92,17 +94,19 @@ If you are using a custom deployment endpoint, set `deploymentID` to the model's
```json title="config.json"
- "models": [
- {
- "model": "model ID",
- "title": "watsonx - Model Name",
- "provider": "watsonx",
- "apiBase": "watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com",
- "apiKey": "API_KEY/ZENAPI_KEY/USERNAME:PASSWORD",
- "apiVersion": "2024-03-14",
- "deploymentId": "DEPLOYMENT_ID"
- }
- ]
+ {
+ "models": [
+ {
+ "model": "model ID",
+ "title": "watsonx - Model Name",
+ "provider": "watsonx",
+ "apiBase": "watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com",
+ "apiKey": "API_KEY/ZENAPI_KEY/USERNAME:PASSWORD",
+ "apiVersion": "2024-03-14",
+ "deploymentId": "DEPLOYMENT_ID"
+ }
+ ]
+ }
```
@@ -138,6 +142,7 @@ You can also configure generation parameters, such as temperature, topP, topK, f
```json title="config.json"
+ {
"models": [
{
"model": "ibm/granite-20b-code-instruct",
@@ -159,6 +164,7 @@ You can also configure generation parameters, such as temperature, topP, topK, f
}
}
]
+ }
```
@@ -169,32 +175,34 @@ Granite models are recommended for tab auto complete. The configuration is simil
- ```yaml title="Package or config.yaml"
- models:
- - name: Granite Code 8b
- provider: watsonx
- model: ibm/granite-8b-code-instruct
- apiBase: watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com
- projectId: PROJECT_ID
- apiKey: API_KEY/ZENAPI_KEY/USERNAME:PASSWORD
- apiVersion: 2024-03-14
- roles:
- - autocomplete
- ```
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Granite Code 8b
+ provider: watsonx
+ model: ibm/granite-8b-code-instruct
+ apiBase: watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com
+ projectId: PROJECT_ID
+ apiKey: API_KEY/ZENAPI_KEY/USERNAME:PASSWORD
+ apiVersion: 2024-03-14
+ roles:
+ - autocomplete
+ ```
- ```json title="config.json"
- "tabAutocompleteModel": {
- "model": "ibm/granite-8b-code-instruct",
- "title": "Granite Code 8b",
- "provider": "watsonx",
- "apiBase": "watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com",
- "projectId": "PROJECT_ID",
- "apiKey": "API_KEY/ZENAPI_KEY/USERNAME:PASSWORD",
- "apiVersion": "2024-03-14",
- "contextLength": 4000
- }
- ```
+ ```json title="config.json"
+ {
+ "tabAutocompleteModel": {
+ "model": "ibm/granite-8b-code-instruct",
+ "title": "Granite Code 8b",
+ "provider": "watsonx",
+ "apiBase": "watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com",
+ "projectId": "PROJECT_ID",
+ "apiKey": "API_KEY/ZENAPI_KEY/USERNAME:PASSWORD",
+ "apiVersion": "2024-03-14",
+ "contextLength": 4000
+ }
+ }
+ ```
@@ -219,13 +227,15 @@ To view the list of available embeddings models, visit [this page](https://datap
```json title="config.json"
- "embeddingsProvider": {
- "provider": "watsonx",
- "model": "ibm/slate-30m-english-rtrvr-v2",
- "apiBase": "watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com",
- "projectId": "PROJECT_ID",
- "apiKey": "API_KEY/ZENAPI_KEY/USERNAME:PASSWORD",
- "apiVersion": "2024-03-14"
+ {
+ "embeddingsProvider": {
+ "provider": "watsonx",
+ "model": "ibm/slate-30m-english-rtrvr-v2",
+ "apiBase": "watsonx endpoint e.g. https://us-south.ml.cloud.ibm.com",
+ "projectId": "PROJECT_ID",
+ "apiKey": "API_KEY/ZENAPI_KEY/USERNAME:PASSWORD",
+ "apiVersion": "2024-03-14"
+ }
}
```
diff --git a/docs/docs/customize/model-providers/top-level/anthropic.mdx b/docs/docs/customize/model-providers/top-level/anthropic.mdx
index 5a2a23696..7844cf49c 100644
--- a/docs/docs/customize/model-providers/top-level/anthropic.mdx
+++ b/docs/docs/customize/model-providers/top-level/anthropic.mdx
@@ -21,19 +21,21 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
- name: Claude 3.5 Sonnet
provider: anthropic
model: claude-3-5-sonnet-latest
- apiKey: ${{ secrets.ANTHROPIC_API_KEY }}
+ apiKey:
```
```json title="config.json"
+ {
"models": [
{
"title": "Claude 3.5 Sonnet",
"provider": "anthropic",
"model": "claude-3-5-sonnet-latest",
- "apiKey": "[API_KEY]"
+ "apiKey": ""
}
]
+ }
```
@@ -79,18 +81,20 @@ To enable caching of the system message and the turn-by-turn conversation, updat
```json title="config.json"
- "models": [
- {
- "cacheBehavior": {
- "cacheSystemMessage": true,
- "cacheConversation": true
- },
- "title": "Anthropic",
- "provider": "anthropic",
- "model": "claude-3-5-sonnet-latest",
- "apiKey": ""
- }
- ]
+ {
+ "models": [
+ {
+ "cacheBehavior": {
+ "cacheSystemMessage": true,
+ "cacheConversation": true
+ },
+ "title": "Anthropic",
+ "provider": "anthropic",
+ "model": "claude-3-5-sonnet-latest",
+ "apiKey": ""
+ }
+ ]
+ }
```
diff --git a/docs/docs/customize/model-providers/top-level/azure.mdx b/docs/docs/customize/model-providers/top-level/azure.mdx
index b0c28c0e0..a4f1a3f93 100644
--- a/docs/docs/customize/model-providers/top-level/azure.mdx
+++ b/docs/docs/customize/model-providers/top-level/azure.mdx
@@ -34,15 +34,17 @@ We recommend configuring **GPT-4o** as your chat model.
```json title="config.json"
- "models": [{
- "title": "GPT-4o",
- "provider": "azure",
- "model": "gpt-4o",
- "apiBase": "",
- "deployment": "",
- "apiKey": "", // If you use subscription key, try using Azure gateway to rename it apiKey
- "apiType": "azure-foundry" // Or "azure-openai" if using OpenAI models
- }]
+ {
+ "models": [{
+ "title": "GPT-4o",
+ "provider": "azure",
+ "model": "gpt-4o",
+ "apiBase": "",
+ "deployment": "",
+ "apiKey": "", // If you use subscription key, try using Azure gateway to rename it apiKey
+ "apiType": "azure-foundry" // Or "azure-openai" if using OpenAI models
+ }]
+ }
```
@@ -64,11 +66,13 @@ We recommend configuring **Codestral** as your autocomplete model.
```json title="config.json"
+ {
"tabAutocompleteModel": {
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest"
}
+ }
```
@@ -93,6 +97,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model.
```json title="config.json"
+ {
"embeddingsProvider": {
"provider": "azure",
"model": "text-embedding-3-large",
@@ -101,6 +106,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model.
"apiKey": "",
"apiType": "azure-foundry" // Or "azure-openai" if using OpenAI models
}
+ }
```
@@ -145,14 +151,14 @@ For example, a Target URI of `https://just-an-example.openai.azure.com/openai/de
```json title="config.json"
{
- "title": "GPT-4o Azure",
- "model": "gpt-4o",
- "provider": "openai",
- "apiBase": "https://just-an-example.openai.azure.com",
- "deployment": "gpt-4o-july",
- "apiVersion": "2023-03-15-preview",
- "apiKey": "",
- "apiType": "azure-openai"
+ "title": "GPT-4o Azure",
+ "model": "gpt-4o",
+ "provider": "openai",
+ "apiBase": "https://just-an-example.openai.azure.com",
+ "deployment": "gpt-4o-july",
+ "apiVersion": "2023-03-15-preview",
+ "apiKey": "",
+ "apiType": "azure-openai"
}
```
diff --git a/docs/docs/customize/model-providers/top-level/bedrock.mdx b/docs/docs/customize/model-providers/top-level/bedrock.mdx
index 510775064..f472d42a5 100644
--- a/docs/docs/customize/model-providers/top-level/bedrock.mdx
+++ b/docs/docs/customize/model-providers/top-level/bedrock.mdx
@@ -27,6 +27,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
```json title="config.json"
+ {
"models": [
{
"title": "Claude 3.5 Sonnet",
@@ -36,6 +37,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
"profile": "bedrock"
}
]
+ }
```
@@ -59,6 +61,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
```json title="config.json"
+ {
"models": [
{
"title": "Claude 3.5 Sonnet",
@@ -68,6 +71,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
"profile": "bedrock"
}
]
+ }
```
@@ -96,12 +100,14 @@ We recommend configuring [`amazon.titan-embed-text-v2:0`](https://docs.aws.amazo
```json title="config.json"
+ {
"embeddingsProvider": {
"title": "Embeddings Model",
"provider": "bedrock",
"model": "amazon.titan-embed-text-v2:0",
"region": "us-west-2"
}
+ }
```
@@ -124,6 +130,7 @@ We recommend configuring `cohere.rerank-v3-5:0` as your reranking model, you may
```json title="config.json"
+ {
"reranker": {
"name": "bedrock",
"params": {
@@ -131,6 +138,7 @@ We recommend configuring `cohere.rerank-v3-5:0` as your reranking model, you may
"region": "us-west-2"
}
}
+ }
```
@@ -165,6 +173,7 @@ To setup Bedrock using custom imported models, add the following to your config
```json title="config.json"
+ {
"models": [
{
"title": "AWS Bedrock deepseek-coder-6.7b-instruct",
@@ -175,6 +184,7 @@ To setup Bedrock using custom imported models, add the following to your config
"profile": "bedrock"
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/top-level/deepseek.mdx b/docs/docs/customize/model-providers/top-level/deepseek.mdx
index 6971065e5..0d15bb5f4 100644
--- a/docs/docs/customize/model-providers/top-level/deepseek.mdx
+++ b/docs/docs/customize/model-providers/top-level/deepseek.mdx
@@ -15,27 +15,29 @@ You can get an API key from the [DeepSeek console](https://www.deepseek.com/).
We recommend configuring **DeepSeek Chat** as your chat model.
-
- ```yaml title="config.yaml"
- models:
- - name: DeepSeek Chat
- provider: deepseek
- model: deepseek-chat
- apiKey:
- ```
-
-
- ```json title="config.json"
- "models": [
- {
- "title": "DeepSeek Chat",
- "provider": "deepseek",
- "model": "deepseek-chat",
- "apiKey": ""
- }
- ]
- ```
-
+
+ ```yaml title="config.yaml"
+ models:
+ - name: DeepSeek Chat
+ provider: deepseek
+ model: deepseek-chat
+ apiKey:
+ ```
+
+
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "DeepSeek Chat",
+ "provider": "deepseek",
+ "model": "deepseek-chat",
+ "apiKey": ""
+ }
+ ]
+ }
+ ```
+
## Autocomplete model
@@ -43,27 +45,29 @@ We recommend configuring **DeepSeek Chat** as your chat model.
We recommend configuring **DeepSeek Coder** as your autocomplete model.
-
- ```yaml title="config.yaml"
- models:
- - name: DeepSeek Coder
- provider: deepseek
- model: deepseek-coder
- apiKey:
- roles:
- - autocomplete
- ```
-
-
- ```json title="config.json"
- "tabAutocompleteModel": {
- "title": "DeepSeek Coder",
- "provider": "deepseek",
- "model": "deepseek-coder",
- "apiKey": ""
- }
- ```
-
+
+ ```yaml title="config.yaml"
+ models:
+ - name: DeepSeek Coder
+ provider: deepseek
+ model: deepseek-coder
+ apiKey:
+ roles:
+ - autocomplete
+ ```
+
+
+ ```json title="config.json"
+ {
+ "tabAutocompleteModel": {
+ "title": "DeepSeek Coder",
+ "provider": "deepseek",
+ "model": "deepseek-coder",
+ "apiKey": ""
+ }
+ }
+ ```
+
## Embeddings model
diff --git a/docs/docs/customize/model-providers/top-level/gemini.mdx b/docs/docs/customize/model-providers/top-level/gemini.mdx
index af41aee0f..6911a14a0 100644
--- a/docs/docs/customize/model-providers/top-level/gemini.mdx
+++ b/docs/docs/customize/model-providers/top-level/gemini.mdx
@@ -26,6 +26,7 @@ We recommend configuring **Gemini 1.5 Pro** as your chat model.
```json title="config.json"
+ {
"models": [
{
"title": "Gemini 1.5 Pro",
@@ -34,6 +35,7 @@ We recommend configuring **Gemini 1.5 Pro** as your chat model.
"apiKey": ""
}
]
+ }
```
@@ -62,11 +64,13 @@ We recommend configuring **text-embedding-004** as your embeddings model.
```json title="config.json"
+ {
"embeddingsProvider": {
"provider": "gemini",
"model": "models/text-embedding-004",
"apiKey": ""
}
+ }
```
diff --git a/docs/docs/customize/model-providers/top-level/mistral.mdx b/docs/docs/customize/model-providers/top-level/mistral.mdx
index fd563cafa..dd584394d 100644
--- a/docs/docs/customize/model-providers/top-level/mistral.mdx
+++ b/docs/docs/customize/model-providers/top-level/mistral.mdx
@@ -28,6 +28,7 @@ We recommend configuring **Mistral Large** as your chat model.
```json title="config.json"
+ {
"models": [
{
"title": "Mistral Large",
@@ -36,6 +37,7 @@ We recommend configuring **Mistral Large** as your chat model.
"apiKey": ""
}
]
+ }
```
@@ -58,12 +60,14 @@ We recommend configuring **Codestral** as your autocomplete model.
```json title="config.json"
+ {
"tabAutocompleteModel": {
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest"
// "apiBase": "https://codestral.mistral.ai/v1" // Do this if you are using a Codestral API key
}
+ }
```
@@ -87,12 +91,14 @@ We recommend configuring **Mistral Embed** as your embeddings model.
```json title="config.json"
+ {
"embeddingsProvider": {
"provider": "mistral",
"model": "mistral-embed",
"apiKey": "",
"apiBase": "https://api.mistral.ai/v1"
}
+ }
```
diff --git a/docs/docs/customize/model-providers/top-level/ollama.mdx b/docs/docs/customize/model-providers/top-level/ollama.mdx
index 9376db736..f2a80386e 100644
--- a/docs/docs/customize/model-providers/top-level/ollama.mdx
+++ b/docs/docs/customize/model-providers/top-level/ollama.mdx
@@ -23,6 +23,7 @@ We recommend configuring **Llama3.1 8B** as your chat model.
```json title="config.json"
+ {
"models": [
{
"title": "Llama3.1 8B",
@@ -30,6 +31,7 @@ We recommend configuring **Llama3.1 8B** as your chat model.
"model": "llama3.1:8b"
}
]
+ }
```
@@ -51,11 +53,13 @@ We recommend configuring **Qwen2.5-Coder 1.5B** as your autocomplete model.
```json title="config.json"
+ {
"tabAutocompleteModel": {
"title": "Qwen2.5-Coder 1.5B",
"provider": "ollama",
"model": "qwen2.5-coder:1.5b-base"
}
+ }
```
@@ -77,10 +81,12 @@ We recommend configuring **Nomic Embed Text** as your embeddings model.
```json title="config.json"
+ {
"embeddingsProvider": {
"provider": "ollama",
"model": "nomic-embed-text"
}
+ }
```
@@ -107,6 +113,7 @@ To configure a remote instance of Ollama, add the `"apiBase"` property to your m
```json title="config.json"
+ {
"models": [
{
"title": "Llama3.1 8B",
@@ -115,6 +122,7 @@ To configure a remote instance of Ollama, add the `"apiBase"` property to your m
"apiBase": "http://:11434"
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/top-level/openai.mdx b/docs/docs/customize/model-providers/top-level/openai.mdx
index 71d2b98e3..71a117850 100644
--- a/docs/docs/customize/model-providers/top-level/openai.mdx
+++ b/docs/docs/customize/model-providers/top-level/openai.mdx
@@ -114,15 +114,17 @@ If you are using an OpenAI compatible server / API, you can change the `apiBase`
```json title="config.json"
+ {
"models": [
{
- "title": "OpenAI-compatible server / API",
- "provider": "openai",
- "model": "MODEL_NAME",
- "apiKey": "",
- "apiBase": "http://localhost:8000/v1"
+ "title": "OpenAI-compatible server / API",
+ "provider": "openai",
+ "model": "MODEL_NAME",
+ "apiKey": "",
+ "apiBase": "http://localhost:8000/v1"
}
]
+ }
```
diff --git a/docs/docs/customize/model-providers/top-level/vertexai.mdx b/docs/docs/customize/model-providers/top-level/vertexai.mdx
index a41b3de35..514b67cb4 100644
--- a/docs/docs/customize/model-providers/top-level/vertexai.mdx
+++ b/docs/docs/customize/model-providers/top-level/vertexai.mdx
@@ -27,6 +27,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
```json title="config.json"
+ {
"models": [
{
"title": "Claude 3.5 Sonnet",
@@ -36,6 +37,7 @@ We recommend configuring **Claude 3.5 Sonnet** as your chat model.
"region": "us-east5"
}
]
+ }
```
@@ -59,6 +61,7 @@ We recommend configuring **Codestral** or **code-gecko** as your autocomplete mo
```json title="config.json"
+ {
"tabAutocompleteModel": {
"title": "Codestral (Vertex AI)",
"provider": "vertexai",
@@ -66,6 +69,7 @@ We recommend configuring **Codestral** or **code-gecko** as your autocomplete mo
"projectId": "[PROJECT_ID]",
"region": "us-central1"
}
+ }
```
@@ -76,26 +80,28 @@ We recommend configuring **text-embedding-004** as your embeddings model.
- ```yaml title="config.yaml"
- models:
- - name: Text Embedding-004
- provider: vertexai
- model: text-embedding-004
- projectId:
- region: us-central1
- roles:
- - embed
- ```
+ ```yaml title="config.yaml"
+ models:
+ - name: Text Embedding-004
+ provider: vertexai
+ model: text-embedding-004
+ projectId:
+ region: us-central1
+ roles:
+ - embed
+ ```
- ```json title="config.json"
- "embeddingsProvider": {
- "provider": "vertexai",
- "model": "text-embedding-004",
- "projectId": "[PROJECT_ID]",
- "region": "us-central1"
- }
- ```
+ ```json title="config.json"
+ {
+ "embeddingsProvider": {
+ "provider": "vertexai",
+ "model": "text-embedding-004",
+ "projectId": "[PROJECT_ID]",
+ "region": "us-central1"
+ }
+ }
+ ```
diff --git a/docs/docs/customize/model-providers/top-level/xAI.mdx b/docs/docs/customize/model-providers/top-level/xAI.mdx
index 89f50a2ba..6fb459736 100644
--- a/docs/docs/customize/model-providers/top-level/xAI.mdx
+++ b/docs/docs/customize/model-providers/top-level/xAI.mdx
@@ -26,15 +26,17 @@ We recommend configuring **grok-2-latest** as your chat model. For information o
```json title="config.json"
- "models": [
- {
- "title": "Grok 2",
- "provider": "xAI",
- "model": "grok-2-latest",
- "apiKey": ""
- }
- ]
- ```
+ {
+ "models": [
+ {
+ "title": "Grok 2",
+ "provider": "xAI",
+ "model": "grok-2-latest",
+ "apiKey": ""
+ }
+ ]
+ }
+ ```
diff --git a/docs/docs/customize/model-types/embeddings.mdx b/docs/docs/customize/model-types/embeddings.mdx
index 89b6b989a..ee22f7301 100644
--- a/docs/docs/customize/model-types/embeddings.mdx
+++ b/docs/docs/customize/model-types/embeddings.mdx
@@ -34,21 +34,23 @@ After obtaining an API key from [here](https://www.voyageai.com/), you can confi
```yaml title="Package or config.yaml"
models:
- - name: Voyage Code 3
- provider: voyage
- model: voyage-code-3
- apiKey:
- roles:
- - embed
+ - name: Voyage Code 3
+ provider: voyage
+ model: voyage-code-3
+ apiKey:
+ roles:
+ - embed
```
```json title="config.json"
+ {
"embeddingsProvider": {
"provider": "voyage",
"model": "voyage-code-3",
"apiKey": ""
}
+ }
```
@@ -73,9 +75,11 @@ See [here](../model-providers/top-level/ollama.mdx#embeddings-model) for instruc
```json title="config.json"
+ {
"embeddingsProvider": {
"provider": "transformers.js"
}
+ }
```
@@ -96,10 +100,12 @@ See [here](../model-providers/top-level/ollama.mdx#embeddings-model) for instruc
```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 fbe544606..098dd94bc 100644
--- a/docs/docs/customize/model-types/reranking.mdx
+++ b/docs/docs/customize/model-types/reranking.mdx
@@ -34,6 +34,7 @@ Voyage AI offers the best reranking model for code with their `rerank-2` model.
```json title="config.json"
+ {
"reranker": {
"name": "voyage",
"params": {
@@ -41,6 +42,7 @@ Voyage AI offers the best reranking model for code with their `rerank-2` model.
"apiKey": ""
}
}
+ }
```
@@ -63,13 +65,15 @@ See Cohere's documentation for rerankers [here](https://docs.cohere.com/docs/rer
```json title="config.json"
+ {
"reranker": {
"name": "cohere",
"params": {
- "model": "rerank-english-v3.0",
- "apiKey": ""
+ "model": "rerank-english-v3.0",
+ "apiKey": ""
}
}
+ }
```
@@ -91,12 +95,14 @@ If you only have access to a single LLM, then you can use it as a reranker. This
```json title="config.json"
- "reranker": {
- "name": "llm",
- "params": {
- "modelTitle": "My Model Title"
- }
- }
+ {
+ "reranker": {
+ "name": "llm",
+ "params": {
+ "modelTitle": "My Model Title"
+ }
+ }
+ }
```
@@ -121,6 +127,7 @@ The `"modelTitle"` field must match one of the models in your "models" array in
```json title="config.json"
+ {
"reranker": {
"name": "huggingface-tei",
"params": {
@@ -128,6 +135,7 @@ The `"modelTitle"` field must match one of the models in your "models" array in
"apiKey": ""
}
}
+ }
```
@@ -148,8 +156,10 @@ Continue offers a free trial of Voyage AI's reranking model.
```json title="config.json"
- "reranker": {
- "name": "free-trial"
+ {
+ "reranker": {
+ "name": "free-trial"
+ }
}
```
diff --git a/docs/docs/customize/slash-commands.mdx b/docs/docs/customize/slash-commands.mdx
index 96027e4b3..710d5fd69 100644
--- a/docs/docs/customize/slash-commands.mdx
+++ b/docs/docs/customize/slash-commands.mdx
@@ -122,16 +122,17 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a
```yaml title="Package or config.yaml"
mcpServers:
- - name: My MCP Server
- command: uvx
- args:
- - mcp-server-sqlite
- - --db-path
- - /Users/NAME/test.db
+ - name: My MCP Server
+ command: uvx
+ args:
+ - mcp-server-sqlite
+ - --db-path
+ - /Users/NAME/test.db
```
```json title="config.json"
+ {
"experimental": {
"modelContextProtocolServers": [
{
@@ -143,6 +144,7 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a
}
]
}
+ }
```
diff --git a/docs/docs/customize/tools.mdx b/docs/docs/customize/tools.mdx
index 9225a2f00..2f06f5081 100644
--- a/docs/docs/customize/tools.mdx
+++ b/docs/docs/customize/tools.mdx
@@ -30,16 +30,17 @@ Currently custom tools can be configured using the [Model Context Protocol](http
```yaml title="Package or config.yaml"
mcpServers:
- - name: My MCP Server
- command: uvx
- args:
- - mcp-server-sqlite
- - --db-path
- - /Users/NAME/test.db
+ - name: My MCP Server
+ command: uvx
+ args:
+ - mcp-server-sqlite
+ - --db-path
+ - /Users/NAME/test.db
```
```json title="config.json"
+ {
"experimental": {
"modelContextProtocolServers": [
{
@@ -51,6 +52,7 @@ Currently custom tools can be configured using the [Model Context Protocol](http
}
]
}
+ }
```
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 162541a90..27b0517b3 100644
--- a/docs/docs/customize/tutorials/build-your-own-slash-command.md
+++ b/docs/docs/customize/tutorials/build-your-own-slash-command.md
@@ -22,11 +22,15 @@ 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"
-customCommands=[{
- "name": "check",
- "description": "Check for mistakes in my code",
- "prompt": "{{{ input }}}\n\nPlease read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant:\n- Syntax errors\n- Logic errors\n- Security vulnerabilities\n- Performance issues\n- Anything else that looks wrong\n\nOnce you find an error, please explain it as clearly as possible, but without using extra words. For example, instead of saying 'I think there is a syntax error on line 5', you should say 'Syntax error on line 5'. Give your answer as one bullet point per mistake found."
-}]
+{
+ "customCommands": [
+ {
+ "name": "check",
+ "description": "Check for mistakes in my code",
+ "prompt": "{{{ input }}}\n\nPlease read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant:\n- Syntax errors\n- Logic errors\n- Security vulnerabilities\n- Performance issues\n- Anything else that looks wrong\n\nOnce you find an error, please explain it as clearly as possible, but without using extra words. For example, instead of saying 'I think there is a syntax error on line 5', you should say 'Syntax error on line 5'. Give your answer as one bullet point per mistake found."
+ }
+ ]
+}
```
#### Templating
diff --git a/docs/docs/customize/tutorials/custom-code-rag.mdx b/docs/docs/customize/tutorials/custom-code-rag.mdx
index 67e65a35d..f5e43dc8e 100644
--- a/docs/docs/customize/tutorials/custom-code-rag.mdx
+++ b/docs/docs/customize/tutorials/custom-code-rag.mdx
@@ -141,6 +141,7 @@ After you've set up your server, you can configure Continue to use it by adding
```json title="config.json"
+ {
"contextProviders": [
{
"name": "http",
@@ -152,6 +153,7 @@ After you've set up your server, you can configure Continue to use it by adding
}
}
]
+ }
```
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 3e9f7674c..abd726aba 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
@@ -35,14 +35,16 @@ Basic authentication can be done with any provider using the `apiKey` field:
```json title="config.json"
- "models": [
- {
- "title": "Ollama",
- "provider": "ollama",
- "model": "llama2-7b",
- "apiKey": ""
- }
- ]
+ {
+ "models": [
+ {
+ "title": "Ollama",
+ "provider": "ollama",
+ "model": "llama2-7b",
+ "apiKey": ""
+ }
+ ]
+ }
```
@@ -65,18 +67,20 @@ If you need to send custom headers for authentication, you may use the `requestO
```json title="config.json"
- "models": [
- {
- "title": "Ollama",
- "provider": "ollama",
- "model": "llama2-7b",
- "requestOptions": {
- "headers": {
- "X-Auth-Token": "xxx"
+ {
+ "models": [
+ {
+ "title": "Ollama",
+ "provider": "ollama",
+ "model": "llama2-7b",
+ "requestOptions": {
+ "headers": {
+ "X-Auth-Token": "xxx"
+ }
}
}
- }
- ]
+ ]
+ }
```
@@ -99,6 +103,7 @@ Similarly if your model requires a Certificate for authentication, you may use t
```json title="config.json"
+ {
"models": [
{
"title": "Ollama",
@@ -113,6 +118,7 @@ Similarly if your model requires a Certificate for authentication, you may use t
}
}
]
+ }
```
diff --git a/docs/docs/customize/tutorials/llama3.1.mdx b/docs/docs/customize/tutorials/llama3.1.mdx
index 37cad183f..294fc4e8b 100644
--- a/docs/docs/customize/tutorials/llama3.1.mdx
+++ b/docs/docs/customize/tutorials/llama3.1.mdx
@@ -22,16 +22,17 @@ Ollama is the fastest way to get up and running with local language models. We r
3. Change your Continue config file like this:
-
- ```yaml title="Package or config.yaml"
- models:
- - name: Llama 3.1 8b
- provider: ollama
- model: llama3.1-8b
- ```
-
-
- ```json title="config.json"
+
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Llama 3.1 8b
+ provider: ollama
+ model: llama3.1-8b
+ ```
+
+
+ ```json title="config.json"
+ {
"models": [
{
"title": "Llama 3.1 8b",
@@ -39,8 +40,9 @@ Ollama is the fastest way to get up and running with local language models. We r
"model": "llama3.1-8b"
}
]
- ```
-
+ }
+ ```
+
## Groq
@@ -55,27 +57,29 @@ Groq provides the fastest available inference for open-source language models, i
2. Update your Continue config file like this:
-
- ```yaml title="config.yaml"
- models:
- - name: Llama 3.3 70b Versatile
- provider: groq
- model: llama-3.3-70b-versatile
- apiKey:
- ```
-
-
- ```json title="config.json"
- "models": [
- {
- "title": "Llama 3.3 70b Versatile",
- "provider": "groq",
- "model": "llama-3.3-70b-versatile",
- "apiKey": ""
- }
- ]
- ```
-
+
+ ```yaml title="config.yaml"
+ models:
+ - name: Llama 3.3 70b Versatile
+ provider: groq
+ model: llama-3.3-70b-versatile
+ apiKey:
+ ```
+
+
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Llama 3.3 70b Versatile",
+ "provider": "groq",
+ "model": "llama-3.3-70b-versatile",
+ "apiKey": ""
+ }
+ ]
+ }
+ ```
+
## Together AI
@@ -87,27 +91,29 @@ Together AI provides fast and reliable inference of open-source models. You'll b
3. Update your Continue config file like this:
-
- ```yaml title="Package or config.yaml"
- models:
- - name: Llama 3.1 405b
- provider: together
- model: llama3.1-405b
- apiKey:
- ```
-
-
- ```json title="config.json"
- "models": [
- {
- "title": "Llama 3.1 405b",
- "provider": "together",
- "model": "llama3.1-405b",
- "apiKey": ""
- }
- ]
- ```
-
+
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Llama 3.1 405b
+ provider: together
+ model: llama3.1-405b
+ apiKey:
+ ```
+
+
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Llama 3.1 405b",
+ "provider": "together",
+ "model": "llama3.1-405b",
+ "apiKey": ""
+ }
+ ]
+ }
+ ```
+
## Replicate
@@ -118,27 +124,29 @@ Replicate makes it easy to host and run open-source AI with an API.
2. Change your Continue config file like this:
-
- ```yaml title="Package or config.yaml"
- models:
- - name: Llama 3.1 405b
- provider: replicate
- model: llama3.1-405b
- apiKey:
- ```
-
-
- ```json title="config.json"
- "models": [
- {
- "title": "Llama 3.1 405b",
- "provider": "replicate",
- "model": "llama3.1-405b",
- "apiKey": ""
- }
- ]
- ```
-
+
+ ```yaml title="Package or config.yaml"
+ models:
+ - name: Llama 3.1 405b
+ provider: replicate
+ model: llama3.1-405b
+ apiKey:
+ ```
+
+
+ ```json title="config.json"
+ {
+ "models": [
+ {
+ "title": "Llama 3.1 405b",
+ "provider": "replicate",
+ "model": "llama3.1-405b",
+ "apiKey": ""
+ }
+ ]
+ }
+ ```
+
## SambaNova
@@ -161,6 +169,7 @@ SambaNova Cloud provides world record Llama3.1 70B/405B serving.
```json title="config.json"
+ {
"models": [
{
"title": "SambaNova Llama 3.1 405B",
@@ -169,6 +178,7 @@ SambaNova Cloud provides world record Llama3.1 70B/405B serving.
"apiKey": ""
}
]
+ }
```
@@ -193,14 +203,16 @@ Cerebras Inference uses specialized silicon to provides fast inference for the L
```json title="config.json"
- "models": [
- {
- "title": "Cerebras Llama 3.1 70B",
- "provider": "cerebras",
- "model": "llama3.1-70b",
- "apiKey": ""
- }
- ]
+ {
+ "models": [
+ {
+ "title": "Cerebras Llama 3.1 70B",
+ "provider": "cerebras",
+ "model": "llama3.1-70b",
+ "apiKey": ""
+ }
+ ]
+ }
```
diff --git a/docs/docs/customize/tutorials/set-up-codestral.mdx b/docs/docs/customize/tutorials/set-up-codestral.mdx
index 67dc6f29e..97ec3c981 100644
--- a/docs/docs/customize/tutorials/set-up-codestral.mdx
+++ b/docs/docs/customize/tutorials/set-up-codestral.mdx
@@ -35,14 +35,15 @@ import TabItem from "@theme/TabItem";
```json title="config.json"
- "models": [
{
- "title": "Codestral",
- "provider": "mistral",
- "model": "codestral-latest",
- "apiKey": "",
- "apiBase": "https://codestral.mistral.ai/v1"
- }
+ "models": [
+ {
+ "title": "Codestral",
+ "provider": "mistral",
+ "model": "codestral-latest",
+ "apiKey": "",
+ "apiBase": "https://codestral.mistral.ai/v1"
+ }
],
"tabAutocompleteModel": {
"title": "Codestral",
@@ -51,6 +52,7 @@ import TabItem from "@theme/TabItem";
"apiKey": "",
"apiBase": "https://codestral.mistral.ai/v1"
}
+ }
```
diff --git a/docs/docs/edit/how-to-customize.mdx b/docs/docs/edit/how-to-customize.mdx
index 203cd6ff3..ef8e44a54 100644
--- a/docs/docs/edit/how-to-customize.mdx
+++ b/docs/docs/edit/how-to-customize.mdx
@@ -15,12 +15,12 @@ You can configure a particular model to be used for Edit:
Use model roles.
```yaml title="Package or config.yaml"
models:
- - name: Claude 3.5 Sonnet
- provider: anthropic
- model: claude-3-5-sonnet-latest
- roles:
- - edit
- apiKey:
+ - name: Claude 3.5 Sonnet
+ provider: anthropic
+ model: claude-3-5-sonnet-latest
+ apiKey:
+ roles:
+ - edit
```
diff --git a/docs/docs/json-reference.md b/docs/docs/json-reference.md
index 1082e64ad..470d59921 100644
--- a/docs/docs/json-reference.md
+++ b/docs/docs/json-reference.md
@@ -240,14 +240,16 @@ List of documentation sites to index.
Example
```json title="config.json"
-"docs": [
+{
+ "docs": [
{
- "title": "Continue",
- "startUrl": "https://docs.continue.dev/intro",
- "rootUrl": "https://docs.continue.dev",
- "faviconUrl": "https://docs.continue.dev/favicon.ico",
- }
-]
+ "title": "Continue",
+ "startUrl": "https://docs.continue.dev/intro",
+ "rootUrl": "https://docs.continue.dev",
+ "faviconUrl": "https://docs.continue.dev/favicon.ico"
+ }
+ ]
+}
```
### `slashCommands`
diff --git a/docs/docs/troubleshooting.mdx b/docs/docs/troubleshooting.mdx
index c7903e410..ae54ee8ac 100644
--- a/docs/docs/troubleshooting.mdx
+++ b/docs/docs/troubleshooting.mdx
@@ -102,6 +102,7 @@ If you're seeing a `fetch failed` error and your network requires custom certifi
```json title="config.json"
+ {
"models": [
{
"title": "My Model",
@@ -111,7 +112,7 @@ If you're seeing a `fetch failed` error and your network requires custom certifi
}
}
],
- ...
+ }
```