Elffuss BraidHub

kikocis/continue public

docs: updates to reflect product simplifications (#7357)

* remove outdated pages and references to them

* change telemetry to a page instead of a directory with one page

* fix duplicate redirects

* remove vs code actions docs and references

* update hub introduction

* deprecate some context providers

* initial codebase and documentation guide

* replace context provider with MCP in custom code RAG

* deprecate @docs and @codebase

* remove context, docs, data blocks

* move context providers to deep dives

* move custom providers

* remove "blocks"

* remove rules "block"

* update popular providers

* cleanup before review

* updating more providers

* improve model reccs

* fix broken links

* add models links

* cleaning up models details

* move agent to first in list

* remove outdated descriptions

* reorder referene section

* update block types

* adjust model config example

* fix tabs for yaml / json

---------

Co-authored-by: Brian 'bdougie' Douglas <brian@dinnerpeople.app>
Changeset96e49bfda5ce979983243dc28e78364011872462b0cae815881cb5bed9e873c6
AuthorTy Dunn <ty@continue.dev> · 2025-08-28 15:33 -07:00
CommitterGitHub <noreply@github.com> · 2025-08-28 15:33 -07:00
Parents73fdb55f859d

Browse the files at this changeset

70 files changed

modified docs/customization/mcp-tools.mdx +5 −5
@@ -1,11 +1,11 @@
11 ---
2-title: "MCP Blocks"
2+title: "MCP servers"
33 description: "Learn how to use Model Context Protocol (MCP) blocks in Continue to integrate external tools, connect databases, and extend your development environment."
44 ---
55
6-Model Context Protocol (MCP) blocks let Continue connect to external tools, systems, and databases by running MCP servers.
6+Model Context Protocol (MCP) servers let Continue connect to external tools, systems, and databases by running MCP servers.
77
8-These blocks make it possible to:
8+These servers make it possible to:
99
1010 - **Enable integration** with external tools and systems
1111 - **Create extensible interfaces** for custom capabilities
@@ -13,8 +13,8 @@
1313 - **Allow partners** to contribute specialized functionality
1414 - **Connect to databases** to understand schema and data models during development
1515
16-![MCP Blocks Overview](/images/customization/images/mcp-blocks-overview-c9a104f9b586779c156f9cf34da197c2.png)
16+![MCP servers overview](/images/customization/images/mcp-blocks-overview-c9a104f9b586779c156f9cf34da197c2.png)
1717
18-## Learn More About MCP Blocks
18+## Learn More About MCP servers
1919
2020 Learn more in the [MCP deep dive](/customize/deep-dives/mcp), and view [`mcpServers`](/reference#mcpservers) in the YAML Reference for more details.
modified docs/customization/models.mdx +115 −13
@@ -1,6 +1,6 @@
11 ---
2-title: "Model Blocks"
3-description: "These blocks form the foundation of the entire assistant experience, offering different specialized capabilities:"
2+title: "Models"
3+description: "Models form the foundation of the entire agent experience, offering different specialized capabilities:"
44 ---
55
66 - **[Chat](/customize/model-roles/chat)**: Power conversational interactions about code and provide detailed guidance
@@ -10,7 +10,7 @@
1010 - **[Embedding](/customize/model-roles/embeddings)**: Transform code into vector representations for semantic search
1111 - **[Reranker](/customize/model-roles/reranking)**: Improve search relevance by ordering results based on semantic meaning
1212
13-![Model Blocks Overview](/images/customization/images/model-blocks-overview-36c30e7e01928d7a9b5b26ff1639c34b.png)
13+![Models Overview](/images/customization/images/model-blocks-overview-36c30e7e01928d7a9b5b26ff1639c34b.png)
1414
1515 ## Recommended Models
1616
@@ -18,16 +18,118 @@
1818
1919 | Model role | Best open models | Best closed models | Notes |
2020 | :----------- | :----------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------- |
21-| Agent / Plan | Qwen3 Coder (480B), Qwen3 Coder (30B), Devstral (27B), Devstral, GLM 4.5 (355B), GLM 4.5 Air (106B), Kimi K2 (1T), gpt-oss (120B), gpt-oss (20B) | [Claude Opus 4.1](https://hub.continue.dev/anthropic/claude-4-1-opus), [Claude Sonnet 4](https://hub.continue.dev/anthropic/claude-4-sonnet), [GPT-5](https://hub.continue.dev/openai/gpt-5), [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) | Closed models are slightly better than open models |
22-| Chat / Edit | Qwen3 Coder (480B), Qwen3 Coder (30B), gpt-oss (120B), gpt-oss (20B) | [Claude Opus 4.1](https://hub.continue.dev/anthropic/claude-4-1-opus), [Claude Sonnet 4](https://hub.continue.dev/anthropic/claude-4-sonnet), [GPT-5](https://hub.continue.dev/openai/gpt-5), [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) | Closed and open models have pretty similar performance |
23-| Autocomplete | [QwenCoder2.5 (1.5B)](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b), QwenCoder2.5 (7B) | [Codestral](https://hub.continue.dev/mistral/codestral), Mercury Coder | Closed models are slightly better than open models |
24-| Apply | N/A | [Relace Instant Apply](https://hub.continue.dev/relace/instant-apply), [Morph Fast Apply](https://hub.continue.dev/morphllm/morph-v2) | Open models are basically non-existent / not good enough for this model role |
25-| Embed | [Nomic Embed Text](https://hub.continue.dev/ollama/nomic-embed-text-latest), Qwen3 Embedding | [Voyage Code 3](https://hub.continue.dev/voyageai/voyage-code-3), [Morph Embeddings](https://hub.continue.dev/morphllm/morph-embedding-v2), Codestral Embed | Closed models are slightly better than open models |
26-| Rerank | zerank-1, zerank-1-small, Qwen3 Reranker | [Voyage Rerank 2.5](https://hub.continue.dev/voyageai/rerank-2-5), Relace Code Rerank, [Morph Rerank](https://hub.continue.dev/morphllm/morph-rerank-v2) | Open models are beginning to emerge for this model role |
27-| Next Edit | Zeta | Mercury Coder | Closed models are significantly better than open models |
28-
29-## Learn More About Model Blocks
21+| Agent / Plan | [Qwen3 Coder (480B)](https://hub.continue.dev/openrouter/qwen3-coder), [Qwen3 Coder (30B)](https://hub.continue.dev/ollama/qwen3-coder-30b), [Devstral (27B)](https://hub.continue.dev/ollama/devstral), [Kimi K2 (1T)](https://hub.continue.dev/openrouter/kimi-k2), [gpt-oss (120B)](https://hub.continue.dev/openrouter/gpt-oss-120b), [gpt-oss (20B)](https://hub.continue.dev/ollama/gpt-oss-20b), GLM 4.5 (355B), GLM 4.5 Air (106B) | [Claude Opus 4.1](https://hub.continue.dev/anthropic/claude-4-1-opus), [Claude Sonnet 4](https://hub.continue.dev/anthropic/claude-4-sonnet), [GPT-5](https://hub.continue.dev/openai/gpt-5), [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) | Closed models are slightly better than open models |
22+| Chat / Edit | [Qwen3 Coder (480B)](https://hub.continue.dev/openrouter/qwen3-coder), [Qwen3 Coder (30B)](https://hub.continue.dev/ollama/qwen3-coder-30b), [gpt-oss (120B)](https://hub.continue.dev/openrouter/gpt-oss-120b), [gpt-oss (20B)](https://hub.continue.dev/ollama/gpt-oss-20b) | [Claude Opus 4.1](https://hub.continue.dev/anthropic/claude-4-1-opus), [Claude Sonnet 4](https://hub.continue.dev/anthropic/claude-4-sonnet), [GPT-5](https://hub.continue.dev/openai/gpt-5), [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) | Closed and open models have pretty similar performance |
23+| Autocomplete | [QwenCoder2.5 (1.5B)](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b), [QwenCoder2.5 (7B)](https://hub.continue.dev/ollama/qwen2.5-coder-7b) | [Codestral](https://hub.continue.dev/mistral/codestral), [Mercury Coder](https://hub.continue.dev/inceptionlabs/mercury-coder) | Closed models are slightly better than open models |
24+| Apply | N/A | [Relace Instant Apply](https://hub.continue.dev/relace/instant-apply), [Morph Fast Apply](https://hub.continue.dev/morphllm/morph-v2) | Open models are not good enough for this model role |
25+| Embed | [Nomic Embed Text](https://hub.continue.dev/ollama/nomic-embed-text-latest), Qwen3 Embedding | [Voyage Code 3](https://hub.continue.dev/voyageai/voyage-code-3), [Morph Embeddings](https://hub.continue.dev/morphllm/morph-embedding-v2), Codestral Embed | Closed models are slightly better than open models |
26+| Rerank | zerank-1, zerank-1-small, Qwen3 Reranker | [Voyage Rerank 2.5](https://hub.continue.dev/voyageai/rerank-2-5), Relace Code Rerank, [Morph Rerank](https://hub.continue.dev/morphllm/morph-rerank-v2) | Open models are beginning to emerge for this model role |
27+| Next Edit | N/A | [Mercury Coder](https://hub.continue.dev/inceptionlabs/mercury-coder) | Closed models are significantly better than open models |
28+
29+## Learn More About Models
3030
3131 Continue supports [many model providers](/customize/model-providers/top-level/openai), including Anthropic, OpenAI, Gemini, Ollama, Amazon Bedrock, Azure, xAI, and more. Models can have various roles like `chat`, `edit`, `apply`, `autocomplete`, `embed`, and `rerank`.
3232
33-Read more about roles [here](/customize/model-roles) and view [`models`](/reference#models) in the YAML Reference.
33+Read more about [model roles](/customize/model-roles), [model capabilities](/customize/deep-dives/model-capabilities) and view [`models`](/reference#models) in the YAML Reference.
34+
35+### Example Model Setup Instructions
36+
37+# Frontier Models
38+
39+[Claude 4 Sonnet](https://hub.continue.dev/anthropic/claude-4-sonnet) from Anthropic
40+
41+1. Get your API key from [Anthropic](https://console.anthropic.com/)
42+2. Add [Claude 4 Sonnet](https://hub.continue.dev/anthropic/claude-4-sonnet) to an agent on Continue Hub
43+3. Add `ANTHROPIC_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
44+4. Click `Reload config` in the agent selector in the Continue IDE extension
45+
46+[Qwen Coder 3 480B](https://hub.continue.dev/openrouter/qwen3-coder) from Qwen
47+
48+1. Get your API key from [OpenRouter](https://openrouter.ai/settings/keys)
49+2. Add [Qwen Coder 3 480B](https://hub.continue.dev/openrouter/qwen3-coder) to an agent on Continue Hub
50+3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
51+4. Click `Reload config` in the agent selector in the Continue IDE extension
52+
53+[GPT-5](https://hub.continue.dev/openai/gpt-5) from OpenAI
54+
55+1. Get your API key from [OpenAI](https://platform.openai.com)
56+2. Add [GPT-5](https://hub.continue.dev/openai/gpt-5) to an agent on Continue Hub
57+3. Add `OPENAI_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
58+4. Click `Reload config` in the agent selector in the Continue IDE extension
59+
60+[Kimi K2](https://hub.continue.dev/openrouter/kimi-k2) from Moonshot AI
61+
62+1. Get your API key from [OpenRouter](https://openrouter.ai/settings/keys)
63+2. Add [Kimi K2](https://hub.continue.dev/openrouter/kimi-k2) to an agent on Continue Hub
64+3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
65+4. Click `Reload config` in the agent selector in the Continue IDE extension
66+
67+[Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) from Google
68+
69+1. Get your API key from [Google AI Studio](https://aistudio.google.com)
70+2. Add [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) to an agent on Continue Hub
71+3. Add `GEMINI_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
72+4. Click `Reload config` in the agent selector in the Continue IDE extension
73+
74+[Grok 4](https://hub.continue.dev/xai/grok-4) from xAI
75+
76+1. Get your API key from [xAI](https://console.x.ai/)
77+2. Add [Grok 4](https://hub.continue.dev/xai/grok-4) to an agent on Continue Hub
78+3. Add `XAI_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
79+4. Click `Reload config` in the agent selector in the Continue IDE extension
80+
81+[Devstral Medium](https://hub.continue.dev/mistral/devstral-medium) from Mistral AI
82+
83+1. Get your API key from [Mistral AI](https://console.mistral.ai/)
84+2. Add [Devstral Medium](https://hub.continue.dev/mistral/devstral-medium) to an agent on Continue Hub
85+3. Add `MISTRAL_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
86+4. Click `Reload config` in the agent selector in the Continue IDE extension
87+
88+[gpt-oss-120b](https://hub.continue.dev/openrouter/gpt-oss-120b) from OpenAI
89+
90+1. Get your API key from [OpenRouter](https://openrouter.ai/settings/keys)
91+2. Add [gpt-oss-120b](https://hub.continue.dev/openrouter/gpt-oss-120b) to an agent on Continue Hub
92+3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
93+4. Click `Reload config` in the agent selector in the Continue IDE extension
94+
95+### Local Models
96+
97+These models can be run on your computer if you have enough VRAM.
98+
99+Their limited tool calling and reasoning capabilities will make it challenging to use Agent mode.
100+
101+[Qwen3 Coder 30B](https://hub.continue.dev/ollama/qwen3-coder-30b)
102+
103+1. Add [Qwen3 Coder 30B](https://hub.continue.dev/ollama/qwen3-coder-30b) to an agent on Continue Hub
104+2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
105+3. Click `Reload config` in the agent selector in the Continue IDE extension
106+
107+[gpt-oss-20b](https://hub.continue.dev/ollama/gpt-oss-20b)
108+
109+1. Add [gpt-oss-20b](ttps://hub.continue.dev/ollama/gpt-oss-20b) to an agent on Continue Hub
110+2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
111+3. Click `Reload config` in the agent selector in the Continue IDE extension
112+
113+[Devstral Small 27B](https://hub.continue.dev/ollama/devstral)
114+
115+1. Add [Devstral Small](https://hub.continue.dev/ollama/devstral) to an agent on Continue Hub
116+2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
117+3. Click `Reload config` in the agent selector in the Continue IDE extension
118+
119+[Qwen2.5-Coder 7B](https://hub.continue.dev/ollama/qwen2.5-coder-7b) from Qwen
120+
121+1. Add [Qwen2.5-Coder 7B](https://hub.continue.dev/ollama/qwen2.5-coder-7b) to an agent on Continue Hub
122+2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
123+3. Click `Reload config` in the agent selector in the Continue IDE extension
124+
125+[Gemma 3 4B](https://hub.continue.dev/ollama/gemma3-4b) from Google
126+
127+1. Add [Gemma 3 4B](https://hub.continue.dev/ollama/gemma3-4b) to an agent on Continue Hub
128+2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
129+3. Click `Reload config` in the agent selector in the Continue IDE extension
130+
131+[Qwen2.5-Coder 1.5B](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b) from Qwen
132+
133+1. Add [Qwen2.5-Coder 1.5B](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b) to an agent on Continue Hub
134+2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
135+3. Click `Reload config` in the agent selector in the Continue IDE extension
No newline at the end of the file
modified docs/customization/overview.mdx +0 −4
@@ -13,10 +13,6 @@
1313
1414 Different Continue features can use different models. We call these _model roles_. For example, you can use a different model for chat than you do for autocomplete. Learn more about [model roles](/customize/model-roles).
1515
16-## Add a Context Provider
17-
18-Context providers allow you to add information to your prompts, giving your LLM additional context to work with. Context providers allow you to reference snippets from your codebase, or lookup relevant documentation, or use a search engine to find information and much more. Learn more about [context providers](/customize/custom-providers).
19-
2016 ## Create a Slash Command
2117
2218 Slash commands allow you to easily add custom functionality to Continue. You can use a slash command that allows you to generate a shell command from natural language, or perhaps generate a commit message, or create your own custom command to do whatever you want. Learn more about [slash commands](/customize/deep-dives/slash-commands).
modified docs/customization/prompts.mdx +3 −3
@@ -1,5 +1,5 @@
11 ---
2-title: "Prompt Blocks"
2+title: "Prompts"
33 description: "These are the specialized instructions that shape how models respond:"
44 ---
55
@@ -9,8 +9,8 @@
99 - **Can be shared and reused** across multiple assistants
1010 - **Act as automated code reviewers** that ensure consistency across teams
1111
12-![Prompt Blocks Overview](/images/customization/images/prompts-blocks-overview-17194d870840576f9a0dde548f2c70ec.png)
12+![Prompts Overview](/images/customization/images/prompts-blocks-overview-17194d870840576f9a0dde548f2c70ec.png)
1313
1414 ## Learn More
1515
16-Prompt blocks have the same syntax as [prompt files](/customization/prompts). The `config.yaml` spec for `prompts` can be found [here](/reference#prompts).
16+Prompts have the same syntax as [prompt files](/customization/prompts). The `config.yaml` spec for `prompts` can be found [here](/reference#prompts).
modified docs/customization/rules.mdx +3 −3
@@ -1,5 +1,5 @@
11 ---
2-title: "Rules Blocks"
2+title: "Rules"
33 description: "Rules allow you to provide specific instructions that guide how the AI assistant behaves when working with your code. Instead of the AI making assumptions about your coding standards, architecture patterns, or project-specific requirements, you can explicitly define guidelines that ensure consistent, contextually appropriate responses."
44 ---
55
@@ -13,6 +13,6 @@
1313
1414 ## How Rules Work
1515
16-Your assistant detects rule blocks and applies the specified rules while in [Agent](/features/agent/quick-start), [Chat](/features/chat/quick-start), and [Edit](/features/edit/quick-start) modes.
16+Your assistant detects rules and applies the specified rules while in [Agent](/features/agent/quick-start), [Chat](/features/chat/quick-start), and [Edit](/features/edit/quick-start) modes.
1717
18-Learn more in the [rules deep dive](/customize/deep-dives/rules), and view [`rules`](/reference#rules) in the YAML Reference for more details.
18+Learn more in the [rules deep dive](/customize/deep-dives/rules), and view [`rules`](/reference#rules) in the YAML Reference for more details.
No newline at the end of the file
deleted docs/customize/context/_category_.json +0 −4
@@ -1,4 +0,0 @@
1-{
2- "label": "Context",
3- "position": 2
4-}
deleted docs/customize/context/codebase.mdx +0 −104
@@ -1,104 +0,0 @@
1----
2-title: "How to Set Up @Codebase Context Provider in Continue"
3-description: Retrieve relevant context and answers from your codebase using embeddings and keyword search.
4-keywords: [talk, embeddings, reranker, codebase, experimental]
5-sidebarTitle: "@Codebase"
6----
7-
8-Continue indexes your codebase so that it can later automatically pull in the most relevant context from throughout your workspace. This is done via a combination of embeddings-based retrieval and keyword search. By default, all embeddings are calculated locally using `transformers.js` and stored locally in `~/.continue/index`.
9-
10-<Info>
11- **Note:** `transformers.js` cannot be used in JetBrains IDEs. However, you can
12- select a different embeddings model from [the list
13- here](../model-roles/embeddings).
14-</Info>
15-
16-## How to Use @Codebase and @Folder Context Providers
17-
18-Currently, the codebase retrieval feature is available as the "codebase" and "folder" context providers. You can use them by typing `@Codebase` or `@Folder` in the input box, and then asking a question. The contents of the input box will be compared with the embeddings from the rest of the codebase (or folder) to determine relevant files.
19-
20-### When @Codebase Context Provider Is Useful
21-
22-Here are some common use cases where it can be useful:
23-
24-- **Asking high-level questions about your codebase**
25- - "How do I add a new endpoint to the server?"
26- - "Do we use VS Code's CodeLens feature anywhere?"
27- - "Is there any code written already to convert HTML to markdown?"
28-- **Generate code using existing samples as reference**
29- - "Generate a new React component with a date picker, using the same patterns as existing components"
30- - "Write a draft of a CLI application for this project using Python's argparse"
31- - "Implement the `foo` method in the `bar` class, following the patterns seen in other subclasses of `baz`.
32-- **Use `@Folder` to ask questions about a specific folder, increasing the likelihood of relevant results**
33- - "What is the main purpose of this folder?"
34- - "How do we use VS Code's CodeLens API?"
35- - Or any of the above examples, but with `@Folder` instead of `@Codebase`
36-
37-### When @Codebase Context Provider Is Not Useful
38-
39-Here are use cases where it is not useful:
40-
41-- **When you need the LLM to see _literally every_ file in your codebase**
42- - "Find everywhere where the `foo` function is called"
43- - "Review our codebase and find any spelling mistakes"
44-- **Refactoring tasks**
45- - "Add a new parameter to the `bar` function and update usages"
46-
47-## How to Configure @Codebase Context Provider Settings
48-
49-There are a few options that let you configure the behavior of the `@codebase` context provider, which are the same for the `@folder` context provider:
50-
51-<Tabs>
52- <Tab title="YAML">
53- ```yaml title="config.yaml"
54- context:
55- - provider: codebase
56- params:
57- nRetrieve: 25
58- nFinal: 5
59- useReranking: true
60- ```
61- </Tab>
62- <Tab title="JSON">
63- ```json title="config.json"
64- {
65- "contextProviders": [
66- {
67- "name": "codebase",
68- "params": {
69- "nRetrieve": 25,
70- "nFinal": 5,
71- "useReranking": true
72- }
73- }
74- ]
75- }
76- ```
77- </Tab>
78-</Tabs>
79-
80-### `nRetrieve`
81-
82-Number of results to initially retrieve from vector database (default: 25)
83-
84-### `nFinal`
85-
86-Final number of results to use after re-ranking (default: 5)
87-
88-### `useReranking`
89-
90-Whether to use re-ranking, which will allow initial selection of `nRetrieve` results, then will use an LLM to select the top `nFinal` results (default: true)
91-
92-## How to Ignore Files During Indexing
93-
94-Continue respects `.gitignore` files in order to determine which files should not be indexed. If you'd like to exclude additional files, you can add them to a `.continueignore` file, which follows the exact same rules as `.gitignore`.
95-
96-Continue also supports a **global** `.continueignore` file that will be respected for all workspaces, which can be created at `~/.continue/.continueignore`.
97-
98-If you want to see exactly what files Continue has indexed, the metadata is stored in `~/.continue/index/index.sqlite`. You can use a tool like [DB Browser for SQLite](https://sqlitebrowser.org/) to view the `tag_catalog` table within this file.
99-
100-If you need to force a refresh of the index, reload the VS Code window with <kbd>cmd/ctrl</kbd> + <kbd>shift</kbd> + <kbd>p</kbd> + "Reload Window".
101-
102-## How Repository Map Enhances Codebase Understanding
103-
104-Models in the Claude 3, Llama 3.1/3.2, Gemini 1.5, and GPT-4o families will automatically use a [repository map](/customize/context/codebase#repository-map) during codebase retrieval, which allows the model to understand the structure of your codebase and use it to answer questions. Currently, the repository map only contains the filepaths in the codebase.
deleted docs/customize/context/documentation.mdx +0 −408
@@ -1,408 +0,0 @@
1----
2-title: "How to Set Up @Docs Context Provider in Continue"
3-description: Learn how to access and search your project's documentation directly within Continue
4-keywords:
5- [
6- documentation,
7- indexing,
8- context provider,
9- embeddings,
10- docs,
11- embedder,
12- embeddings provider,
13- documentation,
14- ]
15-toc_max_heading_level: 5
16-sidebarTitle: "@Docs"
17----
18-
19-The `@Docs` context provider allows you to efficiently reference documentation directly within Continue.
20-
21-## How to Enable the @Docs Context Provider
22-
23-To enable the `@Docs` context provider, add it to the list of context providers in your `config.json` file.
24-
25-<Tabs>
26- <Tab title="YAML">
27- ```yaml title="config.yaml"
28- context:
29- - provider: docs
30- ```
31- </Tab>
32- <Tab title="JSON">
33- ```json title="config.json"
34- {
35- "contextProviders": [
36- {
37- "name": "docs"
38- }
39- ]
40- }
41- ```
42- </Tab>
43-</Tabs>
44-
45-## How the @Docs Context Provider Works
46-
47-The `@Docs` context provider works by
48-
49-1. Crawling specified documentation sites
50-2. Generating embeddings for the chunked content
51-3. Storing the embeddings locally on your machine
52-4. Embedding chat input to include similar documentation chunks as context
53-
54-## How to Index Your Own Documentation
55-
56-### Using Hub `docs` Blocks
57-
58-@Docs uses [`docs` blocks](../../hub/blocks/block-types#docs) in Assistants from the hub. Visit the hub to [explore `docs` blocks](https://hub.continue.dev/explore/docs) or [create your own](https://hub.continue.dev/new?type=block&blockType=docs).
59-
60-### How to Add Documentation Through the @Docs Context Provider
61-
62-To add a single documentation site, we recommend using the **Add Documentation** Form within the GUI. This can be accessed
63-
64-- from the `@Docs` context provider - type `@Docs` in the chat, hit `Enter`, and search for `Add Docs`
65-- from the `More` page (three dots icon) in the `@docs indexes` section
66- the `@Docs` context provider.
67-
68-In the **Add Documentation** Form, enter a `Title` and `Start URL` for the site.
69-
70-- `Title`: The name of the documentation site, used for identification in the UI.
71-- `Start URL`: The URL where the indexing process should begin.
72-
73-Indexing will begin upon submission. Progress can be viewed in the form or later in the `@docs indexes` section of the `More` page.
74-
75-Documentation sources may be suggested based on package files in your repo. This currently works for Python `requirements.txt` files and Node.js (Javascript/Typescript) `package.json` files.
76-
77-- Packages with a valid documentation URL (with a `+` icon) can be clicked to immediately kick off indexing
78-- Packages with partial information (with a pen icon) can be clicked to fill the form with the available information
79-- Note that you can hover over the information icon to see where the package suggestion was found.
80-
81-![Add documentation form](/images/docs-form.png)
82-
83-### How to Add Documentation in Configuration Files
84-
85-For bulk documentation site adds or edits, we recommend editing your global configuration file directly. Documentation sites are stored in an array within `docs` in your global configuration, as follows:
86-
87-<Tabs>
88- <Tab title="YAML">
89- ```yaml title="config.yaml"
90- docs:
91- - title: Nest.js
92- startUrl: https://docs.nestjs.com/
93- faviconUrl: https://docs.nestjs.com/favicon.ico
94- ```
95- </Tab>
96- <Tab title="JSON">
97- ```json title="config.json"
98- {
99- "docs": [
100- {
101- "title": "Nest.js",
102- "startUrl": "https://docs.nestjs.com/",
103- "faviconUrl": "https://docs.nestjs.com/favicon.ico"
104- }
105- ]
106- }
107- ```
108- </Tab>
109-</Tabs>
110-
111-See [the config reference](/reference) for all documentation site configuration options.
112-
113-Indexing will re-sync upon saving the configuration file.
114-
115-## How to Configure @Docs Advanced Settings
116-
117-### How to Use Your Custom Embeddings Provider
118-
119-If you have set up an [embeddings provider](../model-roles/embeddings.mdx), @docs will use your embeddings provider. Switching embeddings providers will trigger a re-index of all documentation sites in your configuration.
120-
121-### How to Configure Reranking for Better Results
122-
123-As with [@Codebase context provider configuration](./codebase#configuration), you can adjust the reranking behavior of the `@Docs` context provider with the `nRetrieve`, `nFinal`, and `useReranking`.
124-
125-<Tabs>
126- <Tab title="YAML">
127- ```yaml title="config.yaml"
128- context:
129- - provider: docs
130- params:
131- nRetrieve: 25 # The number of docs to retrieve from the embeddings query
132- nFinal: 5 # The number of docs chunks to return IF reranking
133- useReranking: true # use reranking if a reranker is configured (defaults to true)
134- ```
135- </Tab>
136- <Tab title="JSON">
137- ```json title="config.json"
138- {
139- "contextProviders": [
140- {
141- "name": "docs",
142- "params": {
143- "nRetrieve": 25, // The number of docs to retrieve from the embeddings query
144- "nFinal": 5, // The number of docs chunks to return IF reranking
145- "useReranking": true // use reranking if a reranker is configured (defaults to true)
146- }
147- }
148- ]
149- }
150- ```
151- </Tab>
152-</Tabs>
153-
154-### How to Set Up GitHub Token for GitHub Documentation
155-
156-The GitHub API rate limits public requests to 60 per hour. If you want to reliably index GitHub repos, you can add a github token to your config file:
157-
158-<Tabs>
159- <Tab title="YAML">
160- ```yaml title="config.yaml"
161- context:
162- - provider: docs
163- params:
164- githubToken: <GITHUB_TOKEN>
165- ```
166- </Tab>
167- <Tab title="JSON">
168- ```json title="config.json"
169- {
170- "contextProviders": [
171- {
172- "name": "docs",
173- "params": {
174- "githubToken": "github_..."
175- }
176- }
177- ]
178- }
179- ```
180- </Tab>
181-</Tabs>
182-
183-### How to Enable Local Crawling for Private Documentation
184-
185-By default, Continue crawls documentation sites using a specialized crawling service that provides the best experience for most users and documentation sites.
186-
187-If your documentation is private, you can skip the default crawler and use a local crawler instead by setting `useLocalCrawling` to `true`.
188-
189-<Tabs>
190- <Tab title="YAML">
191- ```yaml title="config.yaml"
192- docs:
193- - title: My Private Docs
194- startUrl: http://10.2.1.2/docs
195- faviconUrl: http://10.2.1.2/docs/assets/favicon.ico,
196- useLocalCrawling: true
197- ```
198- </Tab>
199- <Tab title="JSON">
200- ```json title="config.json"
201- {
202- "docs": [
203- {
204- "title": "My Private Docs",
205- "startUrl": "http://10.2.1.2/docs",
206- "faviconUrl": "http://10.2.1.2/docs/assets/favicon.ico",
207- "useLocalCrawling": true
208- }
209- ]
210- }
211- ```
212- </Tab>
213-</Tabs>
214-
215-<Info>
216- The default local crawler is a lightweight tool that cannot render sites that
217- are dynamically generated using JavaScript. If your sites need to be rendered,
218- you can enable the experimental `Use Chromium for Docs Crawling` feature from
219- your [User Settings Page](../settings) This will download and install Chromium
220- to `~/.continue/.utils`, and use it as the local crawler. **Note:** Chromium
221- crawling support is being deprecated and may be removed in future versions.
222-</Info>
223-
224-Further notes:
225-
226-- If the site is only locally accessible, the default crawler will fail anyways and fall back to the local crawler. `useLocalCrawling` is especially useful if the URL itself is confidential.
227-- For GitHub Repos this has no effect because only the GitHub Crawler will be used, and if the repo is private it can only be accessed with a priveleged GitHub token anyways.
228-
229-## How to Manage Your Documentation Indexes
230-
231-You can view indexing statuses and manage your documentation sites from the `@docs indexes` section of the `More` page (three dots)
232-
233-- Continue does not automatically re-index your docs. Use `Click to re-index` to trigger a reindex for a specific source
234-- While a site is indexing, click `Cancel indexing` to cancel the process
235-- Failed indexing attempts will show an error status bar and icon
236-- Delete a documentation site from your configuration using the trash icon
237-
238-![More Page @docs indexes section](/images/docs-indexes.png)
239-
240-You can also view the overall status of currently indexing docs from a hideable progress bar at the bottom of the chat page
241-
242-![Documentation indexing peek](/images/docs-indexing-peek.png)
243-
244-You can also use the following IDE command to force a re-index of all docs: `Continue: Docs Force Re-Index`.
245-
246-## Configuration Examples for Different Setups
247-
248-### How to Set Up @Docs in VS Code (Minimal Configuration)
249-
250-The following configuration example works out of the box for VS Code. This uses the built-in embeddings provider with no reranking.
251-
252-<Tabs>
253- <Tab title="YAML">
254- ```yaml title="config.yaml"
255- context:
256- - provider: docs
257-
258- docs:
259- - title: Nest.js
260- startUrl: https://docs.nestjs.com/
261- ```
262- </Tab>
263- <Tab title="JSON">
264- ```json title="config.json"
265- {
266- "contextProviders": [
267- {
268- "name": "docs",
269- }
270- ],
271- "docs": [
272- {
273- "title": "Nest.js",
274- "startUrl": "https://docs.nestjs.com/",
275- },
276- ]
277- }
278- ```
279- </Tab>
280-</Tabs>
281-
282-### How to Set Up @Docs in JetBrains IDEs (Minimal Configuration)
283-
284-Here is the equivalent minimal example for Jetbrains, which requires setting up an [embeddings provider](../model-roles/embeddings.mdx).
285-
286-<Tabs>
287- <Tab title="YAML">
288- ```yaml title="config.yaml"
289- models:
290- - name: LMStudio embedder
291- provider: lmstudio
292- model: nomic-ai/nomic-embed-text-v1.5-GGUF
293- roles:
294- - embed
295- context:
296- - provider: docs
297- docs:
298- - title: Nest.js
299- startUrl: https://docs.nestjs.com/
300- ```
301- </Tab>
302- <Tab title="JSON">
303- ```json title="config.json"
304- {
305- "contextProviders": [
306- {
307- "name": "docs",
308- }
309- ],
310- "docs": [
311- {
312- "title": "Nest.js",
313- "startUrl": "https://docs.nestjs.com/",
314- },
315- ],
316- "embeddingsProvider": {
317- "provider": "lmstudio",
318- "model": "nomic-ai/nomic-embed-text-v1.5-GGUF"
319- }
320- }
321- ```
322- </Tab>
323-</Tabs>
324-
325-### How to Set Up @Docs with Advanced Features (VS Code or JetBrains)
326-
327-The following configuration example includes:
328-
329-- Examples of both public and private documentation sources
330-- A custom embeddings provider
331-- A reranker model available, with reranking parameters customized
332-- A GitHub token to enable GitHub crawling
333-
334-<Tabs>
335- <Tab title="YAML">
336- ```yaml title="config.yaml"
337- models:
338- - name: LMStudio Nomic Text
339- provider: lmstudio
340- model: nomic-ai/nomic-embed-text-v1.5-GGUF
341- roles:
342- - embed
343- - name: Voyage Rerank-2
344- provider: voyage
345- apiKey: <VOYAGE_API_KEY>
346- model: rerank-2
347- roles:
348- - rerank
349- context:
350- - provider: docs
351- params:
352- githubToken: <GITHUB_TOKEN>
353- nRetrieve: 25
354- nFinal: 5
355- useReranking: true
356- docs:
357- - title: Nest.js
358- startUrl: https://docs.nestjs.com/
359- - title: My Private Docs
360- startUrl: http://10.2.1.2/docs
361- faviconUrl: http://10.2.1.2/docs/assets/favicon.ico
362- useLocalCrawling: true
363- ```
364- </Tab>
365- <Tab title="JSON">
366- ```json title="config.json"
367- {
368- "contextProviders": [
369- {
370- "name": "docs",
371- "params": {
372- "githubToken": "github_...",
373- "nRetrieve": 25,
374- "nFinal": 5,
375- "useReranking": true
376- }
377- }
378- ],
379- "docs": [
380- {
381- "title": "Nest.js",
382- "startUrl": "https://docs.nestjs.com/"
383- },
384- {
385- "title": "My Private Docs",
386- "startUrl": "http://10.2.1.2/docs",
387- "faviconUrl": "http://10.2.1.2/docs/assets/favicon.ico",
388- "maxDepth": 4,
389- "useLocalCrawling": true
390- }
391- ],
392- "reranker": {
393- "name": "voyage",
394- "params": {
395- "model": "rerank-2",
396- "apiKey": "<YOUR_VOYAGE_API_KEY>"
397- }
398- },
399- "embeddingsProvider": {
400- "provider": "lmstudio",
401- "model": "nomic-ai/nomic-embed-text-v1.5-GGUF"
402- }
403- }
404- ```
405- </Tab>
406-</Tabs>
407-
408-This setup could also involve enabling Chromium as a backup for local documentation through the [User Settings Page](../settings).
modified docs/customize/deep-dives/autocomplete.mdx +1 −1
@@ -127,7 +127,7 @@
127127 ### Customize Autocomplete User Settings in the Continue Extension
128128
129129 {/* - `Use autocomplete cache`: If on, caches completions */}
130-The following settings can be configured for autocompletion in the IDE extension [User Settings Page](../settings.md):
130+The following settings can be configured for autocompletion in the IDE extension User Settings Page:
131131
132132 - `Multiline Autocompletions`: Controls multiline completions for autocomplete. Can be set to `always`, `never`, or `auto`. Defaults to `auto`
133133 - `Disable autocomplete in files`: List of comma-separated glob pattern to disable autocomplete in matching files. E.g., "\_/.md, \*/.txt"
added docs/customize/deep-dives/custom-providers.mdx +430 −0
@@ -0,0 +1,430 @@
1+---
2+title: "Context Providers"
3+description: "Context Providers allow you to type '@' and see a dropdown of content that can all be provided to the model as context."
4+---
5+
6+Context Providers allow you to type '@' and see a dropdown of content that can all be provided to the model as context.
7+
8+![Context Items](/images/customize/images/context-provider-example-0c96ff77286fa970b23dddfdc1fa986a.png)
9+
10+## Built-in Context Providers
11+
12+You can add any built-in context-providers in your config file as shown below:
13+
14+### `@File`
15+
16+Reference any file in your current workspace.
17+
18+<Tabs>
19+ <Tab title="YAML">
20+ ```yaml config.yaml
21+ context:
22+ - provider: file
23+ ```
24+ </Tab>
25+ <Tab title="JSON (Deprecated)">
26+ ```json config.json
27+ {
28+ "contextProviders": [
29+ {
30+ "name": "file"
31+ }
32+ ]
33+ }
34+ ```
35+ </Tab>
36+</Tabs>
37+
38+### `@Code`
39+
40+Reference specific functions or classes from throughout your project.
41+
42+<Tabs>
43+ <Tab title="YAML">
44+ ```yaml config.yaml
45+ context:
46+ - provider: code
47+ ```
48+ </Tab>
49+ <Tab title="JSON (Deprecated)">
50+ ```json config.json
51+ {
52+ "contextProviders": [
53+ {
54+ "name": "code"
55+ }
56+ ]
57+ }
58+ ```
59+ </Tab>
60+</Tabs>
61+
62+### `@Git Diff`
63+
64+Reference all of the changes you've made to your current branch. This is useful if you want to summarize what you've done or ask for a general review of your work before committing.
65+
66+<Tabs>
67+ <Tab title="YAML">
68+ ```yaml config.yaml
69+ context:
70+ - provider: diff
71+ ```
72+ </Tab>
73+ <Tab title="JSON (Deprecated)">
74+ ```json config.json
75+ {
76+ "contextProviders": [
77+ {
78+ "name": "diff"
79+ }
80+ ]
81+ }
82+ ```
83+ </Tab>
84+</Tabs>
85+
86+### `@Current File`
87+
88+Reference the currently open file.
89+
90+<Tabs>
91+ <Tab title="YAML">
92+ ```yaml config.yaml
93+ context:
94+ - provider: currentFile
95+ ```
96+ </Tab>
97+ <Tab title="JSON (Deprecated)">
98+ ```json config.json
99+ {
100+ "contextProviders": [
101+ {
102+ "name": "currentFile"
103+ }
104+ ]
105+ }
106+ ```
107+ </Tab>
108+</Tabs>
109+
110+### `@Terminal`
111+
112+Reference the last command you ran in your IDE's terminal and its output.
113+
114+<Tabs>
115+ <Tab title="YAML">
116+ ```yaml config.yaml
117+ context:
118+ - provider: terminal
119+ ```
120+ </Tab>
121+ <Tab title="JSON (Deprecated)">
122+ ```json config.json
123+ {
124+ "contextProviders": [
125+ {
126+ "name": "terminal"
127+ }
128+ ]
129+ }
130+ ```
131+ </Tab>
132+</Tabs>
133+
134+### `@Open`
135+
136+Reference the contents of all of your open files. Set `onlyPinned` to `true` to only reference pinned files.
137+
138+<Tabs>
139+ <Tab title="YAML">
140+ ```yaml config.yaml
141+ context:
142+ - provider: open
143+ params:
144+ onlyPinned: true
145+ ```
146+ </Tab>
147+ <Tab title="JSON (Deprecated)">
148+ ```json config.json
149+ {
150+ "contextProviders": [
151+ {
152+ "name": "open",
153+ "params": {
154+ "onlyPinned": true
155+ }
156+ }
157+ ]
158+ }
159+ ```
160+ </Tab>
161+</Tabs>
162+
163+### `@Clipboard`
164+
165+Reference recent clipboard items
166+
167+<Tabs>
168+ <Tab title="YAML">
169+ ```yaml config.yaml
170+ context:
171+ - provider: clipboard
172+ ```
173+ </Tab>
174+ <Tab title="JSON (Deprecated)">
175+ ```json config.json
176+ {
177+ "contextProviders": [
178+ {
179+ "name": "clipboard"
180+ }
181+ ]
182+ }
183+ ```
184+ </Tab>
185+</Tabs>
186+
187+### `@Tree`
188+
189+Reference the structure of your current workspace.
190+
191+<Tabs>
192+ <Tab title="YAML">
193+ ```yaml config.yaml
194+ context:
195+ - provider: tree
196+ ```
197+ </Tab>
198+ <Tab title="JSON (Deprecated)">
199+ ```json config.json
200+ {
201+ "contextProviders": [
202+ {
203+ "name": "tree"
204+ }
205+ ]
206+ }
207+ ```
208+ </Tab>
209+</Tabs>
210+
211+### `@Problems`
212+
213+Get Problems from the current file.
214+
215+<Tabs>
216+ <Tab title="YAML">
217+ ```yaml config.yaml
218+ context:
219+ - provider: problems
220+ ```
221+ </Tab>
222+ <Tab title="JSON (Deprecated)">
223+ ```json config.json
224+ {
225+ "contextProviders": [
226+ {
227+ "name": "problems"
228+ }
229+ ]
230+ }
231+ ```
232+ </Tab>
233+</Tabs>
234+
235+### `@Debugger`
236+
237+Reference the contents of the local variables in the debugger. Currently only available in VS Code.
238+
239+<Tabs>
240+ <Tab title="YAML">
241+ ```yaml config.yaml
242+ context:
243+ - provider: debugger
244+ params:
245+ stackDepth: 3
246+ ```
247+ </Tab>
248+ <Tab title="JSON (Deprecated)">
249+ ```json config.json
250+ {
251+ "contextProviders": [
252+ {
253+ "name": "debugger",
254+ "params": {
255+ "stackDepth": 3
256+ }
257+ }
258+ ]
259+ }
260+ ```
261+ </Tab>
262+</Tabs>
263+
264+Uses the top _n_ levels (defaulting to 3) of the call stack for that thread.
265+
266+### `@Repository Map`
267+
268+Reference the outline of your codebase. By default, signatures are included along with file in the repo map.
269+
270+`includeSignatures` params can be set to false to exclude signatures. This could be necessary for large codebases and/or to reduce context size significantly. Signatures will not be included if indexing is disabled.
271+
272+<Tabs>
273+ <Tab title="YAML">
274+ ```yaml config.yaml
275+ context:
276+ - provider: repo-map
277+ params:
278+ includeSignatures: false # default true
279+ ```
280+ </Tab>
281+ <Tab title="JSON (Deprecated)">
282+ ```json config.json
283+ {
284+ "contextProviders": [
285+ {
286+ "name": "repo-map",
287+ "params": {
288+ "includeSignatures": false // default true
289+ }
290+ }
291+ ]
292+ }
293+ ```
294+ </Tab>
295+</Tabs>
296+
297+Provides a list of files and the call signatures of top-level classes, functions, and methods in those files. This helps the model better understand how a particular piece of code relates to the rest of the codebase.
298+
299+In the submenu that appears, you can select either `Entire codebase`, or specify a subfolder to generate the repostiory map from.
300+
301+This context provider is inpsired by [Aider's repository map](https://aider.chat/2023/10/22/repomap.html).
302+
303+### `@Operating System`
304+
305+Reference the architecture and platform of your current operating system.
306+
307+<Tabs>
308+ <Tab title="YAML">
309+ ```yaml config.yaml
310+ context:
311+ - provider: os
312+ ```
313+ </Tab>
314+ <Tab title="JSON (Deprecated)">
315+ ```json config.json
316+ {
317+ "contextProviders": [
318+ {
319+ "name": "os"
320+ }
321+ ]
322+ }
323+ ```
324+ </Tab>
325+</Tabs>
326+
327+### `@HTTP`
328+
329+The HttpContextProvider makes a POST request to the url passed in the configuration. The server must return 200 OK with a ContextItem object or an array of ContextItems.
330+
331+<Tabs>
332+ <Tab title="YAML">
333+ ```yaml config.yaml
334+ context:
335+ - provider: http
336+ params:
337+ url: "https://api.example.com/v1/users"
338+ ```
339+ </Tab>
340+ <Tab title="JSON (Deprecated)">
341+ ```json config.json
342+ {
343+ "contextProviders": [
344+ {
345+ "name": "http",
346+ "params": {
347+ "url": "https://api.example.com/v1/users"
348+ }
349+ }
350+ ]
351+ }
352+ ```
353+ </Tab>
354+</Tabs>
355+
356+The receiving URL should expect to receive the following parameters:
357+
358+POST parameters
359+
360+```json
361+{ query: string, fullInput: string}
362+```
363+
364+The response 200 OK should be a JSON object with the following structure:
365+
366+Response
367+
368+```
369+[ { "name": "", "description": "", "content": "" }]// OR{ "name": "", "description": "", "content": ""}
370+```
371+
372+### Model Context Protocol
373+
374+The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a standard proposed by Anthropic to unify prompts, context, and tool use. Continue supports any MCP server with the MCP context provider. Read their [quickstart](https://modelcontextprotocol.io/quickstart) to learn how to set up a local server and then set up your configuration like this:
375+
376+<Tabs>
377+ <Tab title="YAML">
378+ ```yaml config.yaml
379+ mcpServers:
380+ - name: My MCP Server
381+ command: uvx
382+ args:
383+ - mcp-server-sqlite
384+ - --db-path
385+ - /Users/NAME/test.db
386+ ```
387+ </Tab>
388+ <Tab title="JSON (Deprecated)">
389+ ```json config.json
390+ {
391+ "experimental": {
392+ "modelContextProtocolServers": [
393+ {
394+ "transport": {
395+ "type": "stdio",
396+ "command": "uvx",
397+ "args": ["mcp-server-sqlite", "--db-path", "/Users/NAME/test.db"]
398+ }
399+ }
400+ ]
401+ }
402+ }
403+ ```
404+ </Tab>
405+</Tabs>
406+
407+You'll then be able to type "@" and see "MCP" in the context providers dropdown.
408+
409+## Deprecated Context Providers
410+
411+<Note>
412+ To provide conext beyond the built-in context providers, we now recommend using [MCP Servers](/customization/mcp-tools)
413+</Note>
414+
415+View the [deprecated context providers](/reference/deprecated-context-providers) for documentation on:
416+
417+- [`@Codebase`](/reference/deprecated-codebase) - Use the [codebase awareness guide](/guides/codebase-documentation-awareness) instead
418+- [`@Folder`](/reference/deprecated-codebase) - Use the [codebase awareness guide](/guides/codebase-documentation-awareness) instead
419+- [`@Docs`](/reference/deprecated-docs) - Use the [documentation awareness guide](/guides/codebase-documentation-awareness) instead
420+- `@Greptile` - Query Greptile index
421+- `@Commits` - Reference git commits
422+- `@Discord` - Reference Discord messages
423+- `@Jira` - Reference Jira issues
424+- `@Gitlab Merge Request` - Reference GitLab MRs
425+- `@Google` - Google search results
426+- `@Database` - Database schemas
427+- `@Issue` - GitHub issues
428+- `@Url` - URL content
429+- `@Search` - Codebase search
430+- `@Web` - Web search results
No newline at the end of the file
modified docs/customize/deep-dives/development-data.mdx +1 −3
@@ -13,8 +13,6 @@
1313
1414 You can also configure custom destinations for your data, including remote HTTP endpoints and local file directories.
1515
16-For hub assistants, data destinations are configured in `data` blocks. Visit the hub to [explore example data blocks](https://hub.continue.dev/explore/data) or [create your own](https://hub.continue.dev/new?type=block&blockType=data).
17-
18-See more details about adding `data` blocks to your configuration files in the [YAML specification](/reference#data)
16+Data destinations should be configured directly in the `data` section of your `config.yaml` file. See more details about adding `data` configuration in the [YAML specification](/reference#data).
1917
2018 When sending development data to your own HTTP endpoint, it will receive an event JSON blob at the given `schema` version. You can view event names, schema versions, and fields [here in the source code](https://github.com/continuedev/continue/tree/main/packages/config-yaml/src/schemas/data).
modified docs/customize/deep-dives/slash-commands.mdx +1 −1
@@ -10,7 +10,7 @@
1010 Slash commands are shortcuts that can be activated by typing '/' in a chat session (press <kbd>cmd/ctrl</kbd> + <kbd>L</kbd> (VS Code) or <kbd>cmd/ctrl</kbd> + <kbd>J</kbd> (JetBrains)), and selecting from the dropdown.
1111 ![slash-commands](/images/slash-commands.png)
1212
13-Slash commands can be combined with additional instructions, including [context providers](../custom-providers) or highlighted code.
13+Slash commands can be combined with additional instructions, including highlighted code.
1414
1515 <Note>
1616 **Recommended approach**: Use prompt files to create slash commands instead of
deleted docs/customize/deep-dives/vscode-actions.mdx +0 −44
@@ -1,44 +0,0 @@
1----
2-title: "How to Use Continue's VS Code Actions and Quick Features"
3-keywords: [vscode, quick actions, quick, actions]
4-description: "Learn about Continue's VS Code-specific actions including quick actions buttons, right-click context menu options, debug shortcuts, and quick fixes for errors in your code"
5-sidebarTitle: "VS Code Actions"
6----
7-
8-<Info>Currently all of these are only available in VS Code</Info>
9-
10-To make common use cases even more accessible, we provide a handful of other ways to invoke actions in VS Code.
11-
12-## How to Use Quick Actions
13-
14-Quick Actions are displayed as buttons above top-level classes and functions in your source code, letting you invoke actions with one click. They will edit that class or function, but nothing outside of it. They can also be customized with [.prompt files](./prompts.md) to perform custom actions.
15-
16-![quick-actions](/images/quick-actions.png)
17-
18-By default, quick actions are disabled, but can be enabled with the “Continue: Enable Quick Actions” in VS Code settings.
19-
20-## How to Use Right Click Actions
21-
22-Right click actions let you highlight a desired region of code, right click, and then select an action from the dropdown menu.
23-
24-The highlighted code you’ve selected will be included in your prompt alongside a pre-written set of instructions depending on the selected action. This is the only section of code that the model will attempt to edit.
25-
26-Right click actions that generate inline diffs use the same prompt and response processing logic as [Edit](../../features/edit/how-it-works).
27-
28-![context-menu](/images/context-menu.png)
29-
30-## How to Use the Debug Action Shortcut
31-
32-The debug action is a special built-in keyboard shortcut in the VS Code extension. Use <kbd>cmd/ctrl</kbd> + <kbd>shift</kbd> + <kbd>R</kbd> to instantly copy the contents of the most recent terminal output into the chat sidebar and get debugging advice. There is no additional, non-visible information sent to the language model.
33-
34-```
35-I got the following error, can you please help explain how to fix it?
36-
37-[ERROR_MESSAGE]
38-```
39-
40-## How to Use Quick Fixes for Code Errors
41-
42-Whenever you see red/yellow underlines in your code indicating errors, you can place your cursor nearby and VS Code will display a lightbulb icon. Either clicking the lightbulb or using the keyboard shortcut <kbd>cmd/ctrl</kbd> + <kbd>.</kbd> will show a dropdown menu of quick fixes. One of these will be the “Ask Continue” action. Either click or use <kbd>cmd/ctrl</kbd> + <kbd>.</kbd> again and Continue will attempt to help solve the problem.
43-
44-Similarly to the debug action, quick actions transparently inject a prompt into the chat window. When you select “Ask Continue”, the 3 lines above and below the error are sent to the chat followed by the question “How do I fix the following problem in the above code?: [ERROR_MESSAGE]”.
modified docs/customize/model-providers/more/deepinfra.mdx +19 −9
@@ -3,27 +3,35 @@
33 description: "Configure DeepInfra with Continue to access low-cost inference for open-source models like Mixtral-8x7B-Instruct, including API setup instructions"
44 ---
55
6-[DeepInfra](https://deepinfra.com) provides inference for open-source models at very low cost. To get started with DeepInfra, obtain your API key [here](https://deepinfra.com/dash). Then, find the model you want to use [here](https://deepinfra.com/models?type=text-generation) and copy the name of the model. Continue can then be configured to use the `DeepInfra` LLM class, like the example here:
6+<Tip>
7+ **Discover Deep Infra models [here](https://hub.continue.dev/deepinfra)**
8+</Tip>
9+
10+<Info>
11+ Get an API key from the [Deep Infra](https://deepinfra.com/)
12+</Info>
13+
14+## Configuration
715
816 <Tabs>
917 <Tab title="YAML">
1018 ```yaml title="config.yaml"
1119 models:
12- - name: DeepInfra
20+ - name: <MODEL_NAME>
1321 provider: deepinfra
14- model: mistralai/Mixtral-8x7B-Instruct-v0.1
15- apiKey: <YOUR_DEEP_INFRA_API_KEY>
22+ model: <MODEL_ID>
23+ apiKey: <YOUR_DEEPINFRA_API_KEY>
1624 ```
1725 </Tab>
18- <Tab title="JSON">
26+ <Tab title="JSON (Deprecated)">
1927 ```json title="config.json"
2028 {
2129 "models": [
2230 {
31+ "title": "<MODEL_NAME>",
2332 "provider": "deepinfra",
24- "title": "DeepInfra",
25- "model": "mistralai/Mixtral-8x7B-Instruct-v0.1",
26- "apiKey": "<YOUR_DEEP_INFRA_API_KEY>"
33+ "model": "<MODEL_ID>",
34+ "apiKey": "<YOUR_DEEPINFRA_API_KEY>"
2735 }
2836 ]
2937 }
@@ -31,4 +39,6 @@
3139 </Tab>
3240 </Tabs>
3341
34-[View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/DeepInfra.ts)
42+<Info>
43+ **Check out a more advanced configuration [here](https://hub.continue.dev/deepinfra/qwen-qwen2.5-coder-32b-instruct?view=config)**
44+</Info>
No newline at the end of the file
added docs/customize/model-providers/more/deepseek.mdx +40 −0
@@ -0,0 +1,40 @@
1+---
2+title: DeepSeek
3+slug: ../deepseek
4+---
5+
6+<Tip>
7+ **Discover DeepSeek models [here](https://hub.continue.dev/?q=DeepSeek)**
8+</Tip>
9+
10+<Info>
11+ You can get an API key from the [DeepSeek Console](https://www.deepseek.com/).
12+</Info>
13+
14+## Confiugration
15+
16+<Tabs>
17+ <Tab title="YAML">
18+ ```yaml title="config.yaml"
19+ models:
20+ - name: <MODEL_NAME>
21+ provider: deepseek
22+ model: <MODEL_ID>
23+ apiKey: <YOUR_DEEPSEEK_API_KEY>
24+ ```
25+ </Tab>
26+ <Tab title="JSON">
27+ ```json title="config.json"
28+ {
29+ "models": [
30+ {
31+ "title": "<MODEL_NAME>",
32+ "provider": "deepseek",
33+ "model": "<MODEL_ID>",
34+ "apiKey": "<YOUR_DEEPSEEK_API_KEY>"
35+ }
36+ ]
37+ }
38+ ```
39+ </Tab>
40+</Tabs>
No newline at the end of the file
modified docs/customize/model-providers/more/groq.mdx +10 −18
@@ -1,44 +1,36 @@
11 ---
22 title: "How to Configure Groq with Continue"
3-description: "Configure Groq with Continue to access their ultra-fast inference platform for open-source language models, including the entire Llama 3.1 and 3.3 family with industry-leading speeds"
43 sidebarTitle: "Groq"
54 ---
65
76 <Info>
8- Check if your chosen model is still supported by referring to the [model
9- documentation](https://console.groq.com/docs/models). If a model has been
10- deprecated, you may encounter a 404 error when attempting to use it.
7+ Get your API key from the [Groq Console](https://console.groq.com/docs/models)
118 </Info>
129
13-Groq provides the fastest available inference for open-source language models, including the entire Llama 3.1 family.
14-
15-1. Obtain an API key [here](https://console.groq.com/keys)
16-2. Update your Continue config file like this:
10+## Configuration
1711
1812 <Tabs>
1913 <Tab title="YAML">
2014 ```yaml title="config.yaml"
2115 models:
22- - name: Llama 3.3 70b Versatile
16+ - name: <MODEL_NAME>
2317 provider: groq
24- model: llama-3.3-70b-versatile
25- apiKey: <YOUR_GROQ_API_KEY>
26- roles:
27- - chat
18+ model: <MODEL_ID>
19+ apiKey: <YOUR_GROQ_API_KEY>"
2820 ```
2921 </Tab>
30- <Tab title="JSON">
22+ <Tab title="JSON (Deprecated)">
3123 ```json title="config.json"
3224 {
3325 "models": [
3426 {
35- "title": "Llama 3.3 70b Versatile",
27+ "title": "<MODEL_NAME>",
3628 "provider": "groq",
37- "model": "llama-3.3-70b-versatile",
38- "apiKey": "<YOUR_GROQ_API_KEY>"
29+ "model": "<MODEL_ID>",
30+ "apiKey": "<YOUR_GROQ_API_KEY>"",
3931 }
4032 ]
4133 }
4234 ```
4335 </Tab>
44-</Tabs>
36+</Tabs>
No newline at the end of the file
modified docs/customize/model-providers/more/huggingfaceinferenceapi.mdx +32 −31
@@ -1,36 +1,37 @@
11 ---
2-title: "HuggingFace Inference Endpoints"
3-description: "Configure HuggingFace Inference Endpoints with Continue to deploy and access open-source language models on any cloud, including setup instructions for models like WizardCoder"
2+title: "Hugging Face"
43 ---
54
6-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:
5+<Info>
6+ Get started with [Hugging Face Inference Endpoints](https://endpoints.huggingface.co/)
7+</Info>
78
8-<Tabs>
9- <Tab title="YAML">
10- ```yaml title="config.yaml"
11- models:
12- - name: Hugging Face Inference API
13- provider: huggingface-inference-api
14- model: MODEL_NAME
15- apiKey: <YOUR_HF_TOKEN>
16- apiBase: <YOUR_HF_INFERENCE_API_ENDPOINT_URL>
17- ```
18- </Tab>
19- <Tab title="JSON">
20- ```json title="config.json"
21- {
22- "models": [
23- {
24- "title": "Hugging Face Inference API",
25- "provider": "huggingface-inference-api",
26- "model": "MODEL_NAME",
27- "apiKey": "<YOUR_HF_TOKEN>",
28- "apiBase": "<YOUR_HF_INFERENCE_API_ENDPOINT_URL>"
29- }
30- ]
31- }
32- ```
33- </Tab>
34-</Tabs>
9+## Configuration
3510
36-[View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/HuggingFaceInferenceAPI.ts)
11+<Tabs>
12+ <Tab title="YAML">
13+ ```yaml title="config.yaml"
14+ models:
15+ - name: <MODEL_NAME>
16+ provider: huggingface-inference-api
17+ model: <MODEL_ID>
18+ apiKey: <YOUR_HF_TOKEN>
19+ apiBase: <YOUR_HF_INFERENCE_API_ENDPOINT_URL>
20+ ```
21+ </Tab>
22+ <Tab title="JSON (Deprecated)">
23+ ```json title="config.json"
24+ {
25+ "models": [
26+ {
27+ "title": "<MODEL_NAME>",
28+ "provider": "huggingface-inference-api",
29+ "model": "<MODEL_ID>",
30+ "apiKey": "<YOUR_HF_TOKEN>",
31+ "apiBase": "<YOUR_HF_INFERENCE_API_ENDPOINT_URL>"
32+ }
33+ ]
34+ }
35+ ```
36+ </Tab>
37+</Tabs>
No newline at the end of the file
modified docs/customize/model-providers/more/llamacpp.mdx +28 −33
@@ -1,40 +1,35 @@
11 ---
22 title: "Llama.cpp"
3-description: "Configure Llama.cpp with Continue to run local language models using high-performance C++ inference, including setup instructions for the server and client configuration"
43 ---
54
6-Run the llama.cpp server binary to start the API server. If running on a remote server, be sure to set host to 0.0.0.0:
5+<Info>
6+ Get started with [Llama.cpp](https://github.com/ggml-org/llama.cpp?tab=readme-ov-file#quick-start)
7+</Info>
78
8-```bash
9-.\server.exe -c 4096 --host 0.0.0.0 -t 16 --mlock -m models\meta\llama\codellama-7b-instruct.Q8_0.gguf
10-```
11-
12-After it's up and running, change `~/.continue/config.json` to look like this:
9+## Configuration
1310
1411 <Tabs>
15- <Tab title="YAML">
16- ```yaml title="config.yaml"
17- models:
18- - name: Llama CPP
19- provider: llama.cpp
20- model: MODEL_NAME
21- apiBase: http://localhost:8080
22- ```
23- </Tab>
24- <Tab title="JSON">
25- ```json title="config.json"
26- {
27- "models": [
28- {
29- "title": "Llama CPP",
30- "provider": "llama.cpp",
31- "model": "MODEL_NAME",
32- "apiBase": "http://localhost:8080"
33- }
34- ]
35- }
36- ```
37- </Tab>
38-</Tabs>
39-
40-[View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/LlamaCpp.ts)
12+ <Tab title="YAML">
13+ ```yaml title="config.yaml"
14+ models:
15+ - name: <MODEL_NAME>
16+ provider: llama.cpp
17+ model: <MODEL_ID>
18+ apiBase: http://localhost:8080
19+ ```
20+ </Tab>
21+ <Tab title="JSON (Deprecated)">
22+ ```json title="config.json"
23+ {
24+ "models": [
25+ {
26+ "title": "<MODEL_NAME>",
27+ "provider": "llama.cpp",
28+ "model": "<MODEL_ID>"
29+ "apiBase": "http://localhost:8080"
30+ }
31+ ]
32+ }
33+ ```
34+ </Tab>
35+</Tabs>
No newline at the end of the file
modified docs/customize/model-providers/more/llamastack.mdx +26 −106
@@ -1,114 +1,34 @@
11 ---
22 title: "Llama Stack"
3-description: "Configure Llama Stack with Continue"
43 keywords: [llama, stack, local, api, inference]
54 ---
65
7-[Llama Stack](https://llama-stack.readthedocs.io/en/latest/index.html) is an open-source library that standardizes the core building blocks that simplify AI application development. It codifies best practices across the Llama ecosystem. More specifically, it provides
8-
9-- **Unified API layer** for Inference, RAG, Agents, Tools, Safety, Evals, and Telemetry.
10-- **Plugin architecture** to support the rich ecosystem of different API implementations in various environments, including local development, on-premises, cloud, and mobile.
11-- **Prepackaged verified distributions** which offer a one-stop solution for developers to get started quickly and reliably in any environment.
12-- **Multiple developer interfaces** like CLI and SDKs for Python, Typescript, iOS, and Android.
13-- **Standalone applications** as examples for how to build production-grade AI applications with Llama Stack.
14-
15-To try Llama Stack locally, run:
16-
17-```shell
18-curl -LsSf https://github.com/meta-llama/llama-stack/raw/main/install.sh | bash
19-```
20-
21-Learn more about how to get started with llama stack in this [guide](https://llama-stack.readthedocs.io/en/latest/getting_started/index.html)
22-
23-## Chat model
24-
25-We recommend configuring **Llama 4 Maverick** as your chat model.
26-
27-<Tabs>
28- <Tab title="YAML">
29- ```yaml title="config.yaml"
30- models:
31- - name: Llama4 Maverick
32- provider: llamastack
33- model: meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8
34- apiBase: http://<llama stack endpoint>/v1/openai/v1/
35- ```
36- </Tab>
37- <Tab title="JSON">
38- ```json title="config.json"
39- {
40- "models": [
41- {
42- "title": "Llama4 Maverick",
43- "provider": "llamastack",
44- "model": "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8",
45- "apiBase": "http://<llama stack endpoint>/v1/openai/v1/"
46- }
47- ]
48- }
49- ```
50- </Tab>
51-</Tabs>
52-
53-## Autocomplete model
54-
55-We recommend configuring **CodeLlama 7B** as your autocomplete model.
6+<Info>
7+ Get started with [Lllama Stack](https://llama-stack.readthedocs.io/en/latest/getting_started/index.html)
8+</Info>
569
5710 <Tabs>
58- <Tab title="YAML">
59- ```yaml title="config.yaml"
60- models:
61- - name: CodeLlama 7B
62- provider: llamastack
63- model: codellama:7b
64- apiBase: http://<llama stack endpoint>/v1/openai/v1/
65- roles:
66- - autocomplete
67- ```
68- </Tab>
69- <Tab title="JSON">
70- ```json title="config.json"
71- {
72- "tabAutocompleteModel": {
73- "title": "CodeLlama 7B",
11+ <Tab title="YAML">
12+ ```yaml title="config.yaml"
13+ models:
14+ - name: <MODEL_NAME>
15+ provider: llamastack
16+ model: <MODEL_ID>
17+ apiBase: http://<LLAMA_STACK_ENDPOINT>/v1/openai/v1/
18+ ```
19+ </Tab>
20+ <Tab title="JSON (Deprecated)">
21+ ```json title="config.json"
22+ {
23+ "models": [
24+ {
25+ "title": "<MODEL_NAME>",
7426 "provider": "llamastack",
75- "model": "codellama:7b",
76- "apiBase": "http://<llama stack endpoint>/v1/openai/v1/"
77- }
78- }
79- ```
80- </Tab>
81-</Tabs>
82-
83-## Embeddings model
84-
85-By default, Llama Stack uses **all-MiniLM-L6-v2** as the embeddings model.
86-
87-<Tabs>
88- <Tab title="YAML">
89- ```yaml title="config.yaml"
90- models:
91- - name: all-MiniLM-L6-v2
92- provider: llamastack
93- model: all-MiniLM-L6-v2
94- apiBase: http://<llama stack endpoint>/v1/openai/v1/
95- roles:
96- - embed
97- ```
98- </Tab>
99- <Tab title="JSON">
100- ```json title="config.json"
101- {
102- "embeddingsProvider": {
103- "provider": "llamastack",
104- "model": "all-MiniLM-L6-v2",
105- "apiBase": "http://<llama stack endpoint>/v1/openai/v1/"
106- }
107- }
108- ```
109- </Tab>
110-</Tabs>
111-
112-## Reranking model
113-
114-Llama Stack currently did not support Reranking API yet.
27+ "model": "<MODEL_ID>",
28+ "apiBase": "http://<LLAMA_STACK_ENDPOINT>/v1/openai/v1/"
29+ }
30+ ]
31+ }
32+ ```
33+ </Tab>
34+</Tabs>
No newline at the end of the file
deleted docs/customize/model-providers/more/lmstudio.mdx +0 −95
@@ -1,95 +0,0 @@
1----
2-title: "LM Studio"
3-description: "Configure LM Studio with Continue to run open-source models locally, including setup for Llama3.1 8B for chat, embedding models, and instructions for connecting to remote instances"
4----
5-
6-[LM Studio](https://lmstudio.ai) is an application for Mac, Windows, and Linux that makes it easy to locally run open-source models and comes with a great UI. To get started with LM Studio, download from the website, use the UI to download a model, and then start the local inference server. Continue can then be configured to use the `LMStudio` LLM class:
7-
8-## Chat model
9-
10-We recommend configuring **Llama3.1 8B** as your chat model.
11-
12-<Tabs>
13- <Tab title="YAML">
14- ```yaml title="config.yaml"
15- models:
16- - name: Llama3.1 8B Instruct
17- provider: lmstudio
18- model: meta-llama-3.1-8b-instruct
19- ```
20- </Tab>
21- <Tab title="JSON">
22- ```json title="config.json"
23- {
24- "models": [
25- {
26- "title": "Llama3.1 8B Instruct",
27- "provider": "lmstudio",
28- "model": "meta-llama-3.1-8b-instruct"
29- }
30- ]
31- }
32- ```
33- </Tab>
34-</Tabs>
35-
36-## Embeddings model
37-
38-LMStudio supports embeddings endpoints, and comes with the `nomic-ai/nomic-embed-text-v1.5-GGUF` model (as of Nov 2024, check your models)
39-
40-<Tabs>
41- <Tab title="YAML">
42- ```yaml title="config.yaml"
43- models:
44- - name: Nomic Embed Text
45- provider: lmstudio
46- model: nomic-ai/nomic-embed-text-v1.5-GGUF
47- roles:
48- - embed
49- ```
50- </Tab>
51- <Tab title="JSON">
52- ```json title="config.json"
53- {
54- "embeddingsProvider": {
55- "provider": "lmstudio",
56- "model": "nomic-ai/nomic-embed-text-v1.5-GGUF"
57- }
58- }
59- ```
60- </Tab>
61-</Tabs>
62-
63-## Setting up a remote instance
64-
65-To configure a remote instance of LM Studio, add the `"apiBase"` property to your model in config.json:
66-
67-<Tabs>
68- <Tab title="YAML">
69- ```yaml title="config.yaml"
70- models:
71- - name: Llama3.1 8B Instruct
72- provider: lmstudio
73- model: meta-llama-3.1-8b-instruct
74- apiBase: http://<MY ENDPOINT>/v1
75- ```
76- </Tab>
77- <Tab title="JSON">
78- ```json title="config.json"
79- {
80- "models": [
81- {
82- "title": "Llama3.1 8B Instruct",
83- "provider": "lmstudio",
84- "model": "meta-llama-3.1-8b-instruct",
85- "apiBase": "http://<MY ENDPOINT>/v1"
86- }
87- ]
88- }
89- ```
90- </Tab>
91-</Tabs>
92-
93-This `apiBase` will now be used instead of the default `http://localhost:1234/v1`.
94-
95-[View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/LMStudio.ts)
added docs/customize/model-providers/more/mistral.mdx +50 −0
@@ -0,0 +1,50 @@
1+---
2+title: Mistral
3+slug: ../mistral
4+---
5+
6+<Tip>
7+ **Discover Mistral models [here](https://hub.continue.dev/mistral)**
8+</Tip>
9+
10+<Info>
11+ Get an API key from the [Mistral Dashboard](https://console.mistral.ai)
12+</Info>
13+
14+## Configuration
15+
16+<Tabs>
17+ <Tab title="YAML">
18+ ```yaml title="config.yaml"
19+ models:
20+ - name: <MODEL_NAME>
21+ provider: mistral
22+ model: <MODEL_ID>
23+ apiKey: <YOUR_MISTRAL_API_KEY>
24+ ```
25+ </Tab>
26+ <Tab title="JSON (Deprecated)">
27+ ```json title="config.json"
28+ {
29+ "models": [
30+ {
31+ "title": "<MODEL_NAME>",
32+ "provider": "mistral",
33+ "model": "<MODEL_ID>",
34+ "apiKey": "<YOUR_MISTRAL_API_KEY>"
35+ }
36+ ]
37+ }
38+ ```
39+ </Tab>
40+</Tabs>
41+
42+<Info>
43+ **Check out a more advanced configuration [here](https://hub.continue.dev/mistral/codestral?view=config)**
44+</Info>
45+
46+<Note>
47+ The API key for `codestral.mistral.ai` is different from `api.mistral.ai`.
48+ If you are using a Codestral API key, you should set the `apiBase` to `https://codestral.mistral.ai/v1`.
49+ Otherwise, we will default to using `https://api.mistral.ai/v1`.
50+</Note>
No newline at the end of the file
modified docs/customize/model-providers/more/nvidia.mdx +7 −53
@@ -1,36 +1,31 @@
11 ---
22 title: "NVIDIA"
3-description: "Configure NVIDIA AI models with Continue, including setup for Nemotron-4-340B-Instruct for chat and NVIDIA Retrieval QA Mistral 7B for embeddings"
43 ---
54
65 <Info>
7- [View the
8- docs](https://docs.nvidia.com/nim/large-language-models/latest/getting-started.html#option-1-from-api-catalog)
9- to learn how to get an API key.
6+ Get an API key from the [NVIDIA](https://docs.nvidia.com/nim/large-language-models/latest/getting-started.html#option-1-from-api-catalog)
107 </Info>
118
12-## Chat model
13-
14-We recommend configuring **Nemotron-4-340B-Instruct** as your chat model.
9+## Configuration
1510
1611 <Tabs>
1712 <Tab title="YAML">
1813 ```yaml title="config.yaml"
1914 models:
20- - name: Nemotron-4-340B-Instruct
15+ - name: <MODEL_NAME>
2116 provider: nvidia
22- model: nvidia-nemotron-4-340b-instruct
17+ model: <MODEL_ID>
2318 apiKey: <YOUR_NVIDIA_API_KEY>
2419 ```
2520 </Tab>
26- <Tab title="JSON">
21+ <Tab title="JSON (Deprecated)">
2722 ```json title="config.json"
2823 {
2924 "models": [
3025 {
31- "title": "Nemotron-4-340B-Instruct",
26+ "title": "<MODEL_NAME>",
3227 "provider": "nvidia",
33- "model": "nvidia-nemotron-4-340b-instruct",
28+ "model": "<MODEL_ID>",
3429 "apiKey": "<YOUR_NVIDIA_API_KEY>"
3530 }
3631 ]
@@ -38,44 +33,3 @@
3833 ```
3934 </Tab>
4035 </Tabs>
41-
42-## Autocomplete model
43-
44-NVIDIA currently does not offer any autocomplete models.
45-
46-[Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers.
47-
48-## Embeddings model
49-
50-We recommend configuring **NVIDIA Retrieval QA Mistral 7B** as your embeddings model.
51-
52-<Tabs>
53- <Tab title="YAML">
54- ```yaml title="config.yaml"
55- models:
56- - name: Nvidia Embedder
57- provider: nvidia
58- model: nvidia/nv-embedqa-mistral-7b-v2
59- apiKey: <YOUR_NVIDIA_API_KEY>
60- roles:
61- - embed
62- ```
63- </Tab>
64- <Tab title="JSON">
65- ```json title="config.json"
66- {
67- "embeddingsProvider": {
68- "provider": "nvidia",
69- "model": "nvidia/nv-embedqa-mistral-7b-v2",
70- "apiKey": "<YOUR_NVIDIA_API_KEY>"
71- }
72- }
73- ```
74- </Tab>
75-</Tabs>
76-
77-## Reranking model
78-
79-NVIDIA currently does not offer any reranking models.
80-
81-[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
deleted docs/customize/model-providers/more/openrouter.mdx +0 −157
@@ -1,157 +0,0 @@
1----
2-title: "How to Configure OpenRouter with Continue"
3-sidebarTitle: "OpenRouter"
4-description: "Configure OpenRouter with Continue to access various commercial and open-source models through a unified interface, including model capability configuration and advanced request options"
5----
6-
7-OpenRouter is a unified interface for commercial and open-source models, giving you access to the best models at the best prices. You can sign up [here](https://openrouter.ai/signup), create your API key on the [keys page](https://openrouter.ai/keys), and then choose a model from the [list of supported models](https://openrouter.ai/models).
8-
9-Change `~/.continue/config.yaml` to look like the following.
10-
11-<Tabs>
12- <Tab title="YAML">
13- ```yaml title="config.yaml"
14- models:
15- - name: OpenRouter LLaMA 70 8B
16- provider: openrouter
17- model: meta-llama/llama-3-70b-instruct
18- apiBase: https://openrouter.ai/api/v1
19- apiKey: <YOUR_OPEN_ROUTER_API_KEY>
20- ```
21- </Tab>
22- <Tab title="JSON">
23- ```json title="config.json"
24- {
25- "models": [
26- {
27- "title": "OpenRouter LLaMA 70 8B",
28- "provider": "openrouter",
29- "model": "meta-llama/llama-3-70b-instruct",
30- "apiBase": "https://openrouter.ai/api/v1",
31- "apiKey": "<YOUR_OPEN_ROUTER_API_KEY>"
32- }
33- ]
34- }
35- ```
36- </Tab>
37-</Tabs>
38-
39-## Using Custom Models
40-
41-To use a model that is not in the dropdown list, you can simply enter the model name in the `model` field. For example, to use Qwen3Coder, you would update your configuration to look like this:
42-
43-<Tabs>
44- <Tab title="YAML">
45- ```yaml title="config.yaml"
46- models:
47- - name: Qwen3Coder
48- provider: openrouter
49- model: qwen/qwen-coder
50- apiBase: https://openrouter.ai/api/v1
51- apiKey: <YOUR_OPEN_ROUTER_API_KEY>
52- ```
53- </Tab>
54- <Tab title="JSON">
55- ```json title="config.json"
56- {
57- "models": [
58- {
59- "title": "Qwen3Coder",
60- "provider": "openrouter",
61- "model": "qwen/qwen-coder",
62- "apiBase": "https://openrouter.ai/api/v1",
63- "apiKey": "<YOUR_OPEN_ROUTER_API_KEY>"
64- }
65- ]
66- }
67- ```
68- </Tab>
69-</Tabs>
70-
71-To utilize features such as provider preferences or model routing configuration, include these parameters inside the `models[].requestsOptions.extraBodyProperties` field of your plugin config.
72-
73-For example, to prevent extra long prompts from being compressed, you can explicitly turn off the feature like so:
74-
75-<Tabs>
76- <Tab title="YAML">
77- ```yaml title="config.yaml"
78- models:
79- - name: Example Model
80- provider: exampleProvider
81- model: example-model
82- requestOptions:
83- extraBodyProperties:
84- transforms: []
85- ```
86- </Tab>
87- <Tab title="JSON">
88- ```json title="config.json"
89- {
90- "models": [
91- {
92- "title": "Example Model",
93- "provider": "exampleProvider",
94- "model": "example-model",
95- "requestOptions": {
96- "extraBodyProperties": {
97- "transforms": []
98- }
99- }
100- }
101- ]
102- }
103- ```
104- </Tab>
105-</Tabs>
106-
107-Learn more about available settings [here](https://openrouter.ai/docs).
108-
109-## Model Capabilities
110-
111-OpenRouter models may require explicit capability configuration because the proxy doesn't always preserve the original model's function calling support.
112-
113-<Info>
114- Continue automatically uses system message tools for models that don't support
115- native function calling, so Agent mode should work even without explicit
116- capability configuration. However, you can still override capabilities if
117- needed.
118-</Info>
119-
120-If you're experiencing issues with Agent mode or tools not working, you can add the capabilities field:
121-
122-<Tabs>
123- <Tab title="YAML">
124- ```yaml title="config.yaml"
125- models:
126- - name: Claude via OpenRouter
127- provider: openrouter
128- model: anthropic/claude-3.5-sonnet
129- apiBase: https://openrouter.ai/api/v1
130- apiKey: <YOUR_OPEN_ROUTER_API_KEY>
131- capabilities:
132- - tool_use # Enable function calling for Agent mode
133- - image_input # Enable image upload support
134- ```
135- </Tab>
136- <Tab title="JSON">
137- ```json title="config.json"
138- {
139- "models": [
140- {
141- "title": "Claude via OpenRouter",
142- "provider": "openrouter",
143- "model": "anthropic/claude-3.5-sonnet",
144- "apiBase": "https://openrouter.ai/api/v1",
145- "apiKey": "<YOUR_OPEN_ROUTER_API_KEY>",
146- "capabilities": {
147- "tools": true,
148- "uploadImage": true
149- }
150- }
151- ]
152- }
153- ```
154- </Tab>
155-</Tabs>
156-
157-Note: Not all models support function calling. Check the [OpenRouter models page](https://openrouter.ai/models) for specific model capabilities.
No newline at the end of the file
modified docs/customize/model-providers/more/together.mdx +36 −27
@@ -1,35 +1,44 @@
11 ---
2-title: "How to Configure Together AI with Continue"
3-description: "Configure the Together AI cloud platform for running large language models with Continue, including setup instructions and sample configuration for Qwen2.5 Coder"
2+title: "Together AI"
43 sidebarTitle: "Together AI"
54 ---
65
7-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:
6+<Tip>
7+ **Discover Together AI models [here](https://hub.continue.dev/togetherai)**
8+</Tip>
9+
10+<Info>
11+ Get an API key from the [Together AI](https://api.together.ai)
12+</Info>
13+
14+## Configuration
815
916 <Tabs>
10- <Tab title="YAML">
11- ```yaml title="config.yaml"
12- models:
13- - name: Together Qwen2.5 Coder
14- provider: together
15- model: Qwen/Qwen2.5-Coder-32B-Instruct
16- apiKey: <YOUR_TOGETHER_API_KEY>
17- ```
18- </Tab>
19- <Tab title="JSON">
20- ```json title="config.json"
21- {
22- "models": [
23- {
24- "title": "Together Qwen2.5 Coder",
25- "provider": "together",
26- "model": "Qwen/Qwen2.5-Coder-32B-Instruct",
27- "apiKey": "<YOUR_TOGETHER_API_KEY>"
28- }
29- ]
30- }
31- ```
32- </Tab>
17+ <Tab title="YAML">
18+ ```yaml title="config.yaml"
19+ models:
20+ - name: <MODEL_NAME>
21+ provider: together
22+ model: <MODEL_ID>
23+ apiKey: <YOUR_TOGETHER_API_KEY>
24+ ```
25+ </Tab>
26+ <Tab title="JSON (Deprecated)">
27+ ```json title="config.json"
28+ {
29+ "models": [
30+ {
31+ "title": "<MODEL_NAME>",
32+ "provider": "together",
33+ "model": "<MODEL_ID>",
34+ "apiKey": "<YOUR_TOGETHER_API_KEY>"
35+ }
36+ ]
37+ }
38+ ```
39+ </Tab>
3340 </Tabs>
3441
35-[View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/Together.ts)
42+<Info>
43+ **Check out a more advanced configuration [here](https://hub.continue.dev/togetherai/qwen3-coder-480b-a35b-instruct-fp8?view=config)**
44+</Info>
No newline at the end of the file
added docs/customize/model-providers/more/xAI.mdx +44 −0
@@ -0,0 +1,44 @@
1+---
2+title: xAI
3+slug: ../xai
4+---
5+
6+<Tip>
7+ **Discover xAI models [here](https://hub.continue.dev/xai)**
8+</Tip>
9+
10+<Info>
11+ Get an API key from the [xAI Console](https://console.x.ai/)
12+</Info>
13+
14+## Configuration
15+
16+<Tabs>
17+ <Tab title="YAML">
18+ ```yaml title="config.yaml"
19+ models:
20+ - name: <MODEL_NAME>
21+ provider: xai
22+ model: <MODEL_ID>
23+ apiKey: <YOUR_XAI_API_KEY>
24+ ```
25+ </Tab>
26+ <Tab title="JSON (Deprecated)">
27+ ```json title="config.json"
28+ {
29+ "models": [
30+ {
31+ "title": "<MODEL_NAME>",
32+ "provider": "anthropic",
33+ "model": "<MODEL_ID>",
34+ "apiKey": "<YOUR_XAI_API_KEY>"
35+ }
36+ ]
37+ }
38+ ```
39+ </Tab>
40+</Tabs>
41+
42+<Info>
43+ **Check out a more advanced configuration [here](https://hub.continue.dev/xai/grok-4?view=config)**
44+</Info>
No newline at the end of the file
modified docs/customize/model-providers/overview.mdx +8 −8
@@ -15,9 +15,9 @@
1515 | [Amazon Bedrock](/customize/model-providers/top-level/bedrock) | AWS service offering access to various foundation models | Chat, Edit, Apply, Embeddings |
1616 | [Ollama](/customize/model-providers/top-level/ollama) | Run open-source models locally with a simple interface | Chat, Edit, Apply, Embeddings, Autocomplete |
1717 | [Google Gemini](/customize/model-providers/top-level/gemini) | Google's multimodal AI models | Chat, Edit, Apply, Embeddings |
18-| [DeepSeek](/customize/model-providers/top-level/deepseek) | Specialized code models with strong performance | Chat, Edit, Apply |
19-| [Mistral](/customize/model-providers/top-level/mistral) | High-performance open models with commercial offerings | Chat, Edit, Apply, Embeddings |
20-| [xAI](/customize/model-providers/top-level/xAI) | Grok models from xAI | Chat, Edit, Apply |
18+| [DeepSeek](/customize/model-providers/more/deepseek) | Specialized code models with strong performance | Chat, Edit, Apply |
19+| [Mistral](/customize/model-providers/more/mistral) | High-performance open models with commercial offerings | Chat, Edit, Apply, Embeddings |
20+| [xAI](/customize/model-providers/more/xAI) | Grok models from xAI | Chat, Edit, Apply |
2121 | [Vertex AI](/customize/model-providers/top-level/vertexai) | Google Cloud's machine learning platform | Chat, Edit, Apply, Embeddings |
2222 | [Inception](/customize/model-providers/top-level/inception) | On-premises open-source model runners | Chat, Edit, Apply |
2323
@@ -32,7 +32,7 @@
3232 | [Groq](/customize/model-providers/more/groq) | Ultra-fast inference for various open models |
3333 | [Together AI](/customize/model-providers/more/together) | Platform for running a variety of open models |
3434 | [DeepInfra](/customize/model-providers/more/deepinfra) | Hosting for various open source models |
35-| [OpenRouter](/customize/model-providers/more/openrouter) | Gateway to multiple model providers |
35+| [OpenRouter](/customize/model-providers/top-level/openrouter) | Gateway to multiple model providers |
3636 | [Cohere](/customize/model-providers/more/cohere) | Models specialized for semantic search and text generation |
3737 | [NVIDIA](/customize/model-providers/more/nvidia) | GPU-accelerated model hosting |
3838 | [Cloudflare](/customize/model-providers/more/cloudflare) | Edge-based AI inference services |
@@ -42,7 +42,7 @@
4242
4343 | Provider | Description |
4444 | :------------------------------------------------------- | :-------------------------------------------- |
45-| [LM Studio](/customize/model-providers/more/lmstudio) | Desktop app for running models locally |
45+| [LM Studio](/customize/model-providers/top-level/lmstudio) | Desktop app for running models locally |
4646 | [llama.cpp](/customize/model-providers/more/llamacpp) | Optimized C++ implementation for running LLMs |
4747 | [LlamaStack](/customize/model-providers/more/llamastack) | Stack for running Llama models locally |
4848 | [llamafile](/customize/model-providers/more/llamafile) | Self-contained executable model files |
@@ -72,9 +72,9 @@
7272
7373 ```yaml
7474 models:
75- - name: My Model
76- provider: openai # Choose provider from the lists above
77- model: gpt-4o # Specific model name
75+ - name: Claude 4 Sonnet
76+ provider: anthropic # Choose provider from the lists above
77+ model: claude-sonnet-4-20250514 # Specific model name
7878 apiKey: ${{ secrets.OPENAI_API_KEY }}
7979 roles:
8080 - chat
modified docs/customize/model-providers/top-level/anthropic.mdx +19 −40
@@ -1,37 +1,37 @@
11 ---
22 title: "How to Configure Anthropic Claude Models with Continue"
33 slug: ../anthropic
4-description: "Configure Anthropic's Claude models with Continue, including Claude 4 Sonnet with prompt caching capabilities to improve performance and reduce costs for chat applications"
54 sidebarTitle: "Anthropic"
65 ---
76
7+<Tip>
8+ **Discover Anthropic models [here](https://hub.continue.dev/anthropic)**
9+</Tip>
10+
811 <Info>
9- You can get an API key from the [Anthropic
10- console](https://console.anthropic.com/account/keys).
12+ Get an API key from the [Anthropic Console](https://console.anthropic.com/account/keys)
1113 </Info>
1214
13-## How to Set Up Anthropic Chat Models
14-
15-We recommend configuring **Claude 4 Sonnet** as your chat model.
15+## Configuration
1616
1717 <Tabs>
1818 <Tab title="YAML">
1919 ```yaml title="config.yaml"
2020 models:
21- - name: Claude 4 Sonnet
21+ - name: <MODEL_NAME>
2222 provider: anthropic
23- model: claude-sonnet-4-20250514
23+ model: <MODEL_ID>
2424 apiKey: <YOUR_ANTHROPIC_API_KEY>
2525 ```
2626 </Tab>
27- <Tab title="JSON">
27+ <Tab title="JSON (Deprecated)">
2828 ```json title="config.json"
2929 {
3030 "models": [
3131 {
32- "title": "Claude 4 Sonnet",
32+ "title": "<MODEL_NAME>",
3333 "provider": "anthropic",
34- "model": "claude-sonnet-4-latest",
34+ "model": "<MODEL_ID>",
3535 "apiKey": "<YOUR_ANTHROPIC_API_KEY>"
3636 }
3737 ]
@@ -40,44 +40,23 @@
4040 </Tab>
4141 </Tabs>
4242
43-## Anthropic Autocomplete Model Availability
44-
45-Anthropic currently does not offer any autocomplete models.
46-
47-[Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers.
48-
49-## Anthropic Embeddings Model Availability
50-
51-Anthropic currently does not offer any embeddings models.
52-
53-[Click here](../../model-roles/embeddings.mdx) to see a list of embeddings model providers.
54-
55-## Anthropic Reranking Model Availability
56-
57-Anthropic currently does not offer any reranking models.
58-
59-[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
43+<Info>
44+ **Check out a more advanced configuration [here](https://hub.continue.dev/anthropic/claude-4-sonnet?view=config)**
45+</Info>
6046
6147 ## How to Enable Prompt Caching with Claude
6248
6349 Anthropic supports [prompt caching with Claude](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching), which allows Claude models to cache system messages and conversation history between requests to improve performance and reduce costs.
6450
65-Prompt caching is generally available for:
66-
67-- Claude 4 Sonnet
68-- Claude 3.7 Sonnet
69-- Claude 3.5 Sonnet
70-- Claude 3.5 Haiku
71-
7251 To enable caching of the system message and the turn-by-turn conversation, update your model configuration as follows:
7352
7453 <Tabs>
7554 <Tab title="YAML">
7655 ```yaml title="config.yaml"
7756 models:
78- - name: Anthropic
57+ - name: <MODEL_NAME>
7958 provider: anthropic
80- model: claude-sonnet-4-20250514
59+ model: <MODEL_ID>
8160 apiKey: <YOUR_ANTHROPIC_API_KEY>
8261 roles:
8362 - chat
@@ -85,7 +64,7 @@
8564 promptCaching: true
8665 ```
8766 </Tab>
88- <Tab title="JSON">
67+ <Tab title="JSON (Deprecated)">
8968 ```json title="config.json"
9069 {
9170 "models": [
@@ -94,9 +73,9 @@
9473 "cacheSystemMessage": true,
9574 "cacheConversation": true
9675 },
97- "title": "Anthropic",
76+ "title": "<MODEL_NAME>",
9877 "provider": "anthropic",
99- "model": "claude-sonnet-4-latest",
78+ "model": "<MODEL_ID>",
10079 "defaultCompletionOptions": {
10180 "promptCaching": true
10281 },
modified docs/customize/model-providers/top-level/azure.mdx +18 −116
@@ -1,29 +1,20 @@
11 ---
22 title: "How to Configure Azure AI Foundry with Continue"
33 slug: ../azure
4-description: "Configure Azure AI Foundry with Continue to access models from OpenAI and Mistral with Microsoft's enterprise security features, including setup for GPT-4o, Codestral, and embedding models"
54 sidebarTitle: "Azure AI Foundry"
65 ---
76
8-Azure AI Foundry is a cloud-based service that provides access to models from OpenAI, Mistral AI, and others, integrated with the security and enterprise features of the Microsoft Azure platform. To get started, create an Azure AI Foundry resource in the [Azure portal](https://portal.azure.com).
9-
107 <Info>
11-
12-For details on OpenAI model setup, see [Azure OpenAI Service configuration](#how-to-configure-azure-openai-service).
13-
8+ Create an Azure AI Foundry resource in the [Azure Portal](https://portal.azure.com)
149 </Info>
1510
16-## How to Set Up Azure AI Foundry Chat Models
17-
18-We recommend configuring **GPT-4o** as your chat model.
19-
2011 <Tabs>
2112 <Tab title="YAML">
2213 ```yaml title="config.yaml"
2314 models:
24- - name: GPT-4o
15+ - name: <Model_NAME>
2516 provider: azure
26- model: gpt-4o
17+ model: <MODEL_ID>
2718 apiBase: <YOUR_DEPLOYMENT_BASE>
2819 apiKey: <YOUR_AZURE_API_KEY> # If you use subscription key, try using Azure gateway to rename it apiKey
2920 env:
@@ -32,13 +23,13 @@
3223 apiVersion: 2023-07-01-preview # Azure API version
3324 ```
3425 </Tab>
35- <Tab title="JSON">
26+ <Tab title="JSON (Deprecated)">
3627 ```json title="config.json"
3728 {
3829 "models": [{
39- "title": "GPT-4o",
30+ "title": "<MODEL_NAME>",
4031 "provider": "azure",
41- "model": "gpt-4o",
32+ "model": "<MODEL_ID>",
4233 "apiBase": "<YOUR_DEPLOYMENT_BASE>",
4334 "deployment": "<YOUR_DEPLOYMENT_NAME>",
4435 "apiKey": "<YOUR_AZURE_API_KEY>", // If you use subscription key, try using Azure gateway to rename it apiKey
@@ -49,101 +40,12 @@
4940 </Tab>
5041 </Tabs>
5142
52-## How to Set Up Azure AI Foundry Autocomplete Models
53-
54-We recommend configuring **Codestral** as your autocomplete model.
55-
56-<Info>
57- **Note:** Azure AI Foundry does not provide the FIM (Fill-in-Middle) endpoint
58- required for autocomplete functionality. To use Codestral for autocomplete,
59- deploy it through **Azure Machine Learning Studio** instead, which provides
60- the necessary `/v1/fim/completions` endpoint.
61-</Info>
62-
63-If you use Azure Machine Learning Studio to deploy Codestral:
64-
65-<Tabs>
66- <Tab title="YAML">
67- ```yaml title="config.yaml"
68- models:
69- - name: Codestral
70- provider: mistral
71- model: codestral-latest
72- apiBase: https://<YOUR_MODEL_NAME>.<YOUR_REGION>.models.ai.azure.com/v1
73- apiKey: <YOUR_AZURE_API_KEY>
74- roles:
75- - autocomplete
76- ```
77- </Tab>
78- <Tab title="JSON">
79- ```json title="config.json"
80- {
81- "tabAutocompleteModel": {
82- "title": "Codestral",
83- "provider": "mistral",
84- "model": "codestral-latest",
85- "apiBase": "https://<YOUR_MODEL_NAME>.<YOUR_REGION>.models.ai.azure.com/v1",
86- "apiKey": "<YOUR_AZURE_API_KEY>"
87- }
88- }
89- ```
90- </Tab>
91-</Tabs>
92-
93-## How to Configure Azure AI Foundry Embeddings Models
94-
95-For recommended embeddings models, please refer to our [Model Recommendations page](/customization/models).
96-
97-<Tabs>
98- <Tab title="YAML">
99- ```yaml title="config.yaml"
100- models:
101- - name: Text Embedding-3 Large
102- provider: azure
103- model: text-embedding-3-large
104- apiBase: <YOUR_DEPLOYMENT_BASE>
105- apiKey: <YOUR_AZURE_API_KEY>
106- env:
107- deployment: <YOUR_DEPLOYMENT_NAME>
108- apiType: azure
109- apiVersion: 2023-07-01-preview
110- ```
111- </Tab>
112- <Tab title="JSON">
113- ```json title="config.json"
114- {
115- "embeddingsProvider": {
116- "provider": "azure",
117- "model": "text-embedding-3-large",
118- "apiBase": "<YOUR_DEPLOYMENT_BASE>",
119- "deployment": "<YOUR_DEPLOYMENT_NAME>",
120- "apiKey": "<YOUR_AZURE_API_KEY>",
121- "apiType": "azure-foundry" // Or "azure-openai" if using OpenAI models
122- }
123- }
124- ```
125- </Tab>
126-</Tabs>
127-
128-## Reranking model
129-
130-Azure OpenAI currently does not offer any reranking models.
131-
132-[Click here](../../model-roles/reranking.mdx) to see a list of reranking models.
133-
134-## Privacy
135-
136-If you'd like to use OpenAI models but are concerned about privacy, you can use the Azure OpenAI service, which is GDPR and HIPAA compliant.
43+## Azure OpenAI Service (Alternative)
13744
13845 <Info>
139- **Getting access:** [Click
140- here](https://azure.microsoft.com/en-us/products/ai-services/openai-service)
141- to apply for access to the Azure OpenAI service. Response times are typically
142- within a few days.
46+ Get access to the Azure OpenAI service [here](https://azure.microsoft.com/en-us/products/ai-services/openai-service)
14347 </Info>
14448
145-## Azure OpenAI Service configuration
146-
14749 Azure OpenAI Service requires a handful of additional parameters to be configured, such as a deployment name and API base URL.
14850
14951 To find this information in _Azure AI Foundry_, first select the model that you would like to connect. Then visit _Endpoint_ > _Target URI_.
@@ -154,29 +56,29 @@
15456 <Tab title="YAML">
15557 ```yaml title="config.yaml"
15658 models:
157- - name: GPT-4o Azure
158- model: gpt-4o
59+ - name: <MODEL_NAME>
60+ model: <MODEL_ID>
15961 provider: azure
16062 apiBase: https://just-an-example.openai.azure.com
16163 apiKey: <YOUR_AZURE_API_KEY>
16264 env:
163- apiVersion: 2023-03-15-preview
164- deployment: gpt-4o-july
65+ apiVersion: <API_VERSION>
66+ deployment: <MODEL_DEPLOYMENT>
16567 apiType: azure-openai
16668 ```
16769 </Tab>
168- <Tab title="JSON">
70+ <Tab title="JSON (Deprecated)">
16971 ```json title="config.json"
17072 {
171- "title": "GPT-4o Azure",
172- "model": "gpt-4o",
73+ "title": "<MODEL_NAME>",
74+ "model": "<MODEL_ID>",
17375 "provider": "azure",
17476 "apiBase": "https://just-an-example.openai.azure.com",
175- "deployment": "gpt-4o-july",
176- "apiVersion": "2023-03-15-preview",
77+ "deployment": "<MODEL_DEPLOYMENT>",
78+ "apiVersion": "<API_VERSION>",
17779 "apiKey": "<YOUR_AZURE_API_KEY>",
17880 "apiType": "azure-openai"
17981 }
18082 ```
18183 </Tab>
182-</Tabs>
84+</Tabs>
No newline at the end of the file
modified docs/customize/model-providers/top-level/bedrock.mdx +29 −138
@@ -1,23 +1,26 @@
11 ---
22 title: "How to Configure Amazon Bedrock with Continue"
33 slug: ../bedrock
4-description: "Configure Amazon Bedrock with Continue to access foundation models like Claude 3.7 Sonnet for chat, Titan for embeddings, and Cohere for reranking, with AWS credential authentication"
54 sidebarTitle: "Amazon Bedrock"
65 ---
76
8-Amazon Bedrock is a fully managed service on AWS that provides access to foundation models from various AI companies through a single API.
7+<Tip>
8+ **Discover Amazon Bedrock models [here](https://hub.continue.dev/amazon)**
9+</Tip>
910
10-## How to Set Up Amazon Bedrock Chat Models
11+<Info>
12+ Get started with [Amazon Bedrock](https://aws.amazon.com/bedrock/)
13+</Info>
1114
12-We recommend configuring **Claude 3.7 Sonnet** as your chat model.
15+## Configuration
1316
1417 <Tabs>
1518 <Tab title="YAML">
1619 ```yaml title="config.yaml"
1720 models:
18- - name: Claude 3.7 Sonnet
21+ - name: <MODEL_NAME>
1922 provider: bedrock
20- model: us.anthropic.claude-3-7-sonnet-20250219-v1:0
23+ model: <MODEL_ID>
2124 env:
2225 region: us-east-1
2326 profile: bedrock
@@ -25,14 +28,14 @@
2528 - chat
2629 ```
2730 </Tab>
28- <Tab title="JSON">
31+ <Tab title="JSON (Deprecated)">
2932 ```json title="config.json"
3033 {
3134 "models": [
3235 {
33- "title": "Claude 3.7 Sonnet",
36+ "title": "<MODEL_NAME>",
3437 "provider": "bedrock",
35- "model": "us.anthropic.claude-3-7-sonnet-20250219-v1:0",
38+ "model": "<MODEL_ID>",
3639 "region": "us-east-1",
3740 "profile": "bedrock"
3841 }
@@ -42,109 +45,9 @@
4245 </Tab>
4346 </Tabs>
4447
45-> If you run into the following error when connecting to the new Claude 3.5 Sonnet 2 models from AWS - `400 Invocation of model ID anthropic.claude-3-5-sonnet-20241022-v2:0 with on-demand throughput isn't supported. Retry your request with the ID or ARN of an inference profile that contains this model.`
46-
47-> You can fix this using the following config:
48-
49-<Tabs>
50- <Tab title="YAML">
51- ```yaml title="config.yaml"
52- models:
53- - name: Claude 3.5 Sonnet
54- provider: bedrock
55- model: us.anthropic.claude-3-5-sonnet-20241022-v2:0
56- env:
57- region: us-east-1
58- profile: bedrock
59- roles:
60- - chat
61- ```
62- </Tab>
63- <Tab title="JSON">
64- ```json title="config.json"
65- {
66- "models": [
67- {
68- "title": "Claude 3.5 Sonnet",
69- "provider": "bedrock",
70- "model": "us.anthropic.claude-3-5-sonnet-20241022-v2:0",
71- "region": "us-east-1",
72- "profile": "bedrock"
73- }
74- ]
75- }
76- ```
77- </Tab>
78-</Tabs>
79-
80-## How to Set Up Amazon Bedrock Autocomplete Models
81-
82-Bedrock currently does not offer any autocomplete models. However, [Codestral from Mistral](https://mistral.ai/news/codestral-2501/) and [Point from Poolside](https://aws.amazon.com/bedrock/poolside/) will be supported in the near future.
83-
84-In the meantime, you can view a list of autocomplete model providers [here](../../model-roles/autocomplete).
85-
86-## How to Configure Amazon Bedrock Embeddings Models
87-
88-We recommend configuring [`amazon.titan-embed-text-v2:0`](https://docs.aws.amazon.com/bedrock/latest/devguide/models.html#amazon.titan-embed-text-v2-0) as your embeddings model.
89-
90-<Tabs>
91- <Tab title="YAML">
92- ```yaml title="config.yaml"
93- models:
94- - name: Embeddings Model
95- provider: bedrock
96- model: amazon.titan-embed-text-v2:0
97- env:
98- region: us-west-2
99- roles:
100- - embed
101- ```
102- </Tab>
103- <Tab title="JSON">
104- ```json title="config.json"
105- {
106- "embeddingsProvider": {
107- "title": "Embeddings Model",
108- "provider": "bedrock",
109- "model": "amazon.titan-embed-text-v2:0",
110- "region": "us-west-2"
111- }
112- }
113- ```
114- </Tab>
115-</Tabs>
116-
117-## How to Configure Amazon Bedrock Reranking Models
118-
119-We recommend configuring `cohere.rerank-v3-5:0` as your reranking model, you may also use `amazon.rerank-v1:0`.
120-
121-<Tabs>
122- <Tab title="YAML">
123- ```yaml title="config.yaml"
124- models:
125- - name: Bedrock Reranker
126- provider: bedrock
127- model: cohere.rerank-v3-5:0
128- env:
129- region: us-west-2
130- roles:
131- - rerank
132- ```
133- </Tab>
134- <Tab title="JSON">
135- ```json title="config.json"
136- {
137- "reranker": {
138- "name": "bedrock",
139- "params": {
140- "model": "cohere.rerank-v3-5:0",
141- "region": "us-west-2"
142- }
143- }
144- }
145- ```
146- </Tab>
147-</Tabs>
48+<Info>
49+ **Check out a more advanced configuration [here](https://hub.continue.dev/amazon/us-anthropic-claude-sonnet-4-20250514-v1?view=config)**
50+</Info>
14851
14952 ## How to Enable Prompt Caching with Amazon Bedrock
15053
@@ -153,23 +56,11 @@
15356 `promptCaching: true` under `defaultCompletionOptions` in your model
15457 configuration.
15558
156-Prompt caching is generally available for:
157-
158-- Claude 3.7 Sonnet
159-- Claude 3.5 Haiku
160-- Amazon Nova Micro
161-- Amazon Nova Lite
162-- Amazon Nova Pro
163-
164-Customers who were granted access to Claude 3.5 Sonnet v2 during the prompt
165-caching preview will retain that access, but it cannot be enabled for new users
166-on that model.
167-
16859 ```yaml title="config.yaml"
16960 models:
170- - name: Claude 3.7 Sonnet
61+ - name: <MODEL_NAME>
17162 provider: bedrock
172- model: us.anthropic.claude-3-7-sonnet-20250219-v1:0
63+ model: <MODEL_ID>
17364 defaultCompletionOptions:
17465 promptCaching: true
17566 ```
@@ -194,9 +85,9 @@
19485 <Tab title="YAML">
19586 ```yaml title="config.yaml"
19687 models:
197- - name: Claude 3.7 Sonnet
88+ - name: <MODEL_NAME>
19889 provider: bedrock
199- model: us.anthropic.claude-3-7-sonnet-20250219-v1:0
90+ model: <MODEL_ID>
20091 env:
20192 region: us-east-1
20293 accessKeyId: ${{ secrets.AWS_ACCESS_KEY_ID }} # can also enter key inline here for local assistants
@@ -205,17 +96,17 @@
20596 - chat
20697 ```
20798 </Tab>
208- <Tab title="JSON">
99+ <Tab title="JSON (Deprecated)">
209100 ```json title="config.json"
210101 {
211102 "models": [
212103 {
213- "title": "Claude 3.7 Sonnet",
104+ "title": "<MODEL_NAME>",
214105 "provider": "bedrock",
215- "model": "us.anthropic.claude-3-7-sonnet-20250219-v1:0",
106+ "model": "<MODEL_ID>",
216107 "region": "us-east-1",
217- "accessKeyId": "[YOUR_ACCESS_KEY_ID]",
218- "secretAccessKey": "[YOUR_SECRET_ACCESS_KEY]"
108+ "accessKeyId": "<YOUR_ACCESS_KEY_ID>",
109+ "secretAccessKey": "<YOUR_SECRET_ACCESS_KEY>"
219110 }
220111 ]
221112 }
@@ -231,23 +122,23 @@
231122 <Tab title="YAML">
232123 ```yaml title="config.yaml"
233124 models:
234- - name: AWS Bedrock deepseek-coder-6.7b-instruct
125+ - name: <MODEL_NAME>
235126 provider: bedrockimport
236- model: deepseek-coder-6.7b-instruct
127+ model: <MODEL_ID>
237128 env:
238129 region: us-west-2
239130 profile: bedrock
240131 modelArn: arn:aws:bedrock:us-west-2:XXXXX:imported-model/XXXXXX
241132 ```
242133 </Tab>
243- <Tab title="JSON">
134+ <Tab title="JSON (Deprecated)">
244135 ```json title="config.json"
245136 {
246137 "models": [
247138 {
248- "title": "AWS Bedrock deepseek-coder-6.7b-instruct",
139+ "title": "<MODEL_NAME>",
249140 "provider": "bedrockimport",
250- "model": "deepseek-coder-6.7b-instruct",
141+ "model": "<MODEL_ID>",
251142 "modelArn": "arn:aws:bedrock:us-west-2:XXXXX:imported-model/XXXXXX",
252143 "region": "us-west-2",
253144 "profile": "bedrock"
deleted docs/customize/model-providers/top-level/deepseek.mdx +0 −82
@@ -1,82 +0,0 @@
1----
2-title: "How to Configure DeepSeek with Continue"
3-slug: ../deepseek
4-description: "Configure DeepSeek models with Continue, including DeepSeek Chat for general conversations and DeepSeek Coder specifically optimized for code autocomplete and programming tasks"
5-sidebarTitle: "DeepSeek"
6----
7-
8-<Info>
9- You can get an API key from the [DeepSeek console](https://www.deepseek.com/).
10-</Info>
11-
12-## How to Set Up DeepSeek Chat Models
13-
14-We recommend configuring **DeepSeek Chat** as your chat model.
15-
16-<Tabs>
17- <Tab title="YAML">
18- ```yaml title="config.yaml"
19- models:
20- - name: DeepSeek Chat
21- provider: deepseek
22- model: deepseek-chat
23- apiKey: <YOUR_DEEPSEEK_API_KEY>
24- ```
25- </Tab>
26- <Tab title="JSON">
27- ```json title="config.json"
28- {
29- "models": [
30- {
31- "title": "DeepSeek Chat",
32- "provider": "deepseek",
33- "model": "deepseek-chat",
34- "apiKey": "<YOUR_DEEPSEEK_API_KEY>"
35- }
36- ]
37- }
38- ```
39- </Tab>
40-</Tabs>
41-
42-## How to Set Up DeepSeek Autocomplete Models
43-
44-For recommended autocomplete models, please refer to our [Model Recommendations page](/customization/models).
45-
46-<Tabs>
47- <Tab title="YAML">
48- ```yaml title="config.yaml"
49- models:
50- - name: DeepSeek Coder
51- provider: deepseek
52- model: deepseek-coder
53- apiKey: <YOUR_DEEPSEEK_API_KEY>
54- roles:
55- - autocomplete
56- ```
57- </Tab>
58- <Tab title="JSON">
59- ```json title="config.json"
60- {
61- "tabAutocompleteModel": {
62- "title": "DeepSeek Coder",
63- "provider": "deepseek",
64- "model": "deepseek-coder",
65- "apiKey": "<YOUR_DEEPSEEK_API_KEY>"
66- }
67- }
68- ```
69- </Tab>
70-</Tabs>
71-
72-## How to Configure DeepSeek Embeddings Models
73-
74-DeepSeek currently does not offer any embeddings models.
75-
76-[Click here](../../model-roles/embeddings.mdx) to see a list of embeddings model providers.
77-
78-## How to Configure DeepSeek Reranking Models
79-
80-DeepSeek currently does not offer any reranking models.
81-
82-[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
modified docs/customize/model-providers/top-level/gemini.mdx +14 −51
@@ -1,37 +1,37 @@
11 ---
22 title: "How to Configure Gemini with Continue"
33 slug: ../gemini
4-description: "Configure Google's Gemini models with Continue to access Gemini 2.0 Flash for chat and text-embedding-004 for embeddings with simple API key authentication"
54 sidebarTitle: "Gemini"
65 ---
76
7+<Tip>
8+ **Discover Google models [here](https://hub.continue.dev/?q=Gemini)**
9+</Tip>
10+
811 <Info>
9- You can get an API key from the [Google AI
10- Studio](https://aistudio.google.com/).
12+ Get an API key from [Google AI Studio](https://aistudio.google.com/)
1113 </Info>
1214
13-## How to Set Up Gemini Chat Models
14-
15-We recommend configuring **Gemini 2.0 Flash** as your chat model.
15+## Configuration
1616
1717 <Tabs>
1818 <Tab title="YAML">
1919 ```yaml title="config.yaml"
2020 models:
21- - name: Gemini 2.0 Flash
21+ - name: <MODEL_NAME>
2222 provider: gemini
23- model: gemini-2.0-flash
23+ model: <MODEL_ID>
2424 apiKey: <YOUR_GEMINI_API_KEY>
2525 ```
2626 </Tab>
27- <Tab title="JSON">
27+ <Tab title="JSON (Deprecated)">
2828 ```json title="config.json"
2929 {
3030 "models": [
3131 {
32- "title": "Gemini 2.0 Flash",
32+ "title": "<MODEL_NAME>",
3333 "provider": "gemini",
34- "model": "gemini-2.0-flash",
34+ "model": "<MODEL_ID>",
3535 "apiKey": "<YOUR_GEMINI_API_KEY>"
3636 }
3737 ]
@@ -40,43 +40,6 @@
4040 </Tab>
4141 </Tabs>
4242
43-## How to Set Up Gemini Autocomplete Models
44-
45-Gemini currently does not offer any autocomplete models.
46-
47-[Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers.
48-
49-## How to Configure Gemini Embeddings Models
50-
51-For recommended embeddings models, please refer to our [Model Recommendations page](/customization/models).
52-
53-<Tabs>
54- <Tab title="YAML">
55- ```yaml title="config.yaml"
56- models:
57- - name: Gemini Embeddings
58- provider: gemini
59- model: models/text-embedding-004
60- apiKey: <YOUR_GEMINI_API_KEY>
61- roles:
62- - embed
63- ```
64- </Tab>
65- <Tab title="JSON">
66- ```json title="config.json"
67- {
68- "embeddingsProvider": {
69- "provider": "gemini",
70- "model": "models/text-embedding-004",
71- "apiKey": "<YOUR_GEMINI_API_KEY>"
72- }
73- }
74- ```
75- </Tab>
76-</Tabs>
77-
78-## How to Configure Gemini Reranking Models
79-
80-Gemini currently does not offer any reranking models.
81-
82-[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
43+<Info>
44+ **Check out a more advanced configuration [here](https://hub.continue.dev/google/gemini-2.5-pro?view=config)**
45+</Info>
No newline at the end of the file
modified docs/customize/model-providers/top-level/inception.mdx +16 −52
@@ -1,65 +1,37 @@
11 ---
22 title: "How to Configure Inception with Continue"
33 slug: ../inception
4-description: "Configure Inception models with Continue, featuring Mercury Coder Small for both chat and autocomplete functions, optimized for programming and code generation tasks"
54 sidebarTitle: "Inception"
65 ---
76
7+<Tip>
8+ **Discover Inception models [here](https://hub.continue.dev/inceptionlabs)**
9+</Tip>
10+
811 <Info>
9- You can get an API key from the [Inception
10- Dashboard](https://platform.inceptionlabs.ai/dashboard/api-keys).
12+ Get an API key from [Inception Platform](https://platform.inceptionlabs.ai/dashboard/api-keys)
1113 </Info>
1214
13-## How to Set Up Inception Chat Models
14-
15-We recommend configuring **Mercury Coder Small** as your chat model.
15+## Configuration
1616
1717 <Tabs>
1818 <Tab title="YAML">
1919 ```yaml title="config.yaml"
2020 models:
21- - uses: inceptionlabs/mercury-coder-small
22- with:
23- INCEPTION_API_KEY: ${{ secrets.INCEPTION_API_KEY }}
21+ - name: <MODEL_NAME>
22+ provider: inception
23+ model: <MODEL_ID>
24+ apiKey: <INCEPTION_API_KEY>
2425 ```
2526 </Tab>
26- <Tab title="JSON">
27+ <Tab title="JSON (Deprecated)">
2728 ```json title="config.json"
2829 {
2930 "models": [
3031 {
31- "title": "Mercury Coder Small",
32- "provider": "inception",
33- "model": "mercury-coder-small",
34- "apiKey": "<INCEPTION_API_KEY>"
35- }
36- ]
37- }
38- ```
39- </Tab>
40-</Tabs>
41-
42-## How to Set Up Inception Autocomplete Models
43-
44-We also recommend configuring **Mercury Coder Small** as your autocomplete model.
45-
46-<Tabs>
47- <Tab title="YAML">
48- ```yaml title="config.yaml"
49- models:
50- - uses: inceptionlabs/mercury-coder-small
51- with:
52- INCEPTION_API_KEY: ${{ secrets.INCEPTION_API_KEY }}
53- ```
54- </Tab>
55- <Tab title="JSON">
56- ```json title="config.json"
57- {
58- "tabAutocompleteModel": [
59- {
60- "title": "Mercury Coder Small",
32+ "title": "<MODEL_NAME>",
6133 "provider": "inception",
62- "model": "mercury-coder-small",
34+ "model": "<MODEL_ID>",
6335 "apiKey": "<INCEPTION_API_KEY>"
6436 }
6537 ]
@@ -68,14 +40,6 @@
6840 </Tab>
6941 </Tabs>
7042
71-## How to Configure Inception Embeddings Models
72-
73-Inception currently does not offer any embeddings models.
74-
75-[Click here](../../model-roles/embeddings.mdx) to see a list of embeddings model providers.
76-
77-## How to Configure Inception Reranking Models
78-
79-Inception currently does not offer any reranking models.
80-
81-[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
43+<Info>
44+ **Check out a more advanced configuration [here](https://hub.continue.dev/inceptionlabs/mercury-coder?view=config)**
45+</Info>
added docs/customize/model-providers/top-level/lmstudio.mdx +47 −0
@@ -0,0 +1,47 @@
1+---
2+title: "LM Studio"
3+---
4+
5+<Tip>
6+ **Discover LM Studio models [here](https://hub.continue.dev/lmstudio)**
7+</Tip>
8+
9+<Info>
10+ Get started with [LM Studio](https://lmstudio.ai/download)
11+</Info>
12+
13+## Configuration
14+
15+<Tabs>
16+ <Tab title="YAML">
17+ ```yaml title="config.yaml"
18+ models:
19+ - name: <MODEL_NAME>
20+ provider: lmstudio
21+ model: <MODEL_ID>
22+ apiBase: http://<MY_ENDPOINT>/v1 # if running a remote instance of LM Studio
23+ ```
24+ </Tab>
25+ <Tab title="JSON (Deprecated)">
26+ ```json title="config.json"
27+ {
28+ "models": [
29+ {
30+ "title": "<MODEL_NAME>",
31+ "provider": "lmstudio",
32+ "model": "<MODEL_ID>",
33+ "apiBase": "http://<MY_ENDPOINT>/v1" // if running a remote instance of LM Studio
34+ }
35+ ]
36+ }
37+ ```
38+ </Tab>
39+</Tabs>
40+
41+<Note>
42+ The default `apiBase` is `http://localhost:1234/v1`
43+</Note>
44+
45+<Info>
46+ **Check out a more advanced configuration [here](https://hub.continue.dev/lmstudio/qwen-qwen3-coder-30b?view=config)**
47+</Info>
No newline at the end of the file
deleted docs/customize/model-providers/top-level/mistral.mdx +0 −114
@@ -1,114 +0,0 @@
1----
2-title: "How to Configure Mistral with Continue"
3-slug: ../mistral
4-description: "Configure Mistral AI models with Continue, including Mistral Large for chat, Codestral for code autocomplete, and Mistral Embed for embeddings with separate API key options"
5-sidebarTitle: "Mistral"
6----
7-
8-<Info>
9- You can get an API key from the [Mistral
10- Dashboard](https://console.mistral.ai). Note that the API key for Codestral
11- (codestral.mistral.ai) is different from for all other models
12- (api.mistral.ai). If you are using a Codestral API key, you should set the
13- `apiBase` to `https://codestral.mistral.ai/v1`. Otherwise, we will default to
14- using `https://api.mistral.ai/v1`.
15-</Info>
16-
17-## How to Set Up Mistral Chat Models
18-
19-We recommend configuring **Mistral Large** as your chat model.
20-
21-<Tabs>
22- <Tab title="YAML">
23- ```yaml title="config.yaml"
24- models:
25- - name: Mistral Large
26- provider: mistral
27- model: mistral-large-latest
28- apiKey: <YOUR_MISTRAL_API_KEY>
29- roles:
30- - chat
31- ```
32- </Tab>
33- <Tab title="JSON">
34- ```json title="config.json"
35- {
36- "models": [
37- {
38- "title": "Mistral Large",
39- "provider": "mistral",
40- "model": "mistral-large-latest",
41- "apiKey": "<YOUR_MISTRAL_API_KEY>"
42- }
43- ]
44- }
45- ```
46- </Tab>
47-</Tabs>
48-
49-## How to Set Up Mistral Autocomplete Models
50-
51-We recommend configuring **Codestral** as your autocomplete model.
52-
53-<Tabs>
54- <Tab title="YAML">
55- ```yaml title="config.yaml"
56- models:
57- - name: Codestral
58- provider: mistral
59- model: codestral-latest
60- # apiBase: https://codestral.mistral.ai/v1 # Do this if you are using a Codestral API key
61- roles:
62- - autocomplete
63- ```
64- </Tab>
65- <Tab title="JSON">
66- ```json title="config.json"
67- {
68- "tabAutocompleteModel": {
69- "title": "Codestral",
70- "provider": "mistral",
71- "model": "codestral-latest"
72- // "apiBase": "https://codestral.mistral.ai/v1" // Do this if you are using a Codestral API key
73- }
74- }
75- ```
76- </Tab>
77-</Tabs>
78-
79-## How to Configure Mistral Embeddings Models
80-
81-We recommend configuring **Mistral Embed** as your embeddings model.
82-
83-<Tabs>
84- <Tab title="YAML">
85- ```yaml title="config.yaml"
86- models:
87- - name: Mistral Embed
88- provider: mistral
89- model: mistral-embed
90- apiKey: <YOUR_MISTRAL_API_KEY>
91- apiBase: https://api.mistral.ai/v1
92- roles:
93- - embed
94- ```
95- </Tab>
96- <Tab title="JSON">
97- ```json title="config.json"
98- {
99- "embeddingsProvider": {
100- "provider": "mistral",
101- "model": "mistral-embed",
102- "apiKey": "<YOUR_MISTRAL_API_KEY>",
103- "apiBase": "https://api.mistral.ai/v1"
104- }
105- }
106- ```
107- </Tab>
108-</Tabs>
109-
110-## How to Configure Mistral Reranking Models
111-
112-Mistral currently does not offer any reranking models.
113-
114-[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
modified docs/customize/model-providers/top-level/ollama.mdx +26 −109
@@ -1,33 +1,38 @@
11 ---
22 title: "How to Configure Ollama with Continue"
33 slug: ../ollama
4-description: "Configure Ollama with Continue to run powerful open source models locally including Llama3.1 for chat, Qwen2.5-Coder for autocomplete, and Nomic Embed Text for embeddings"
54 sidebarTitle: "Ollama"
65 ---
76
8-Ollama is an open-source tool that allows to run large language models (LLMs) locally on their own computers. To use Ollama, you can install it [here](https://ollama.ai/download) and download the model you want to run with the `ollama run` command.
7+<Tip>
8+ **Discover Ollama models [here](https://hub.continue.dev/lmstudio)**
9+</Tip>
910
10-## How to Set Up Ollama Chat Models
11+<Info>
12+ Get started with [Ollama](https://ollama.com/download)
13+</Info>
1114
12-We recommend configuring **Llama3.1 8B** as your chat model.
15+## Configuration
1316
1417 <Tabs>
1518 <Tab title="YAML">
1619 ```yaml title="config.yaml"
1720 models:
18- - name: Llama3.1 8B
21+ - name: <MODEL_NAME>
1922 provider: ollama
20- model: llama3.1:8b
23+ model: <MODEL_ID>
24+ apiBase: http://<my endpoint>:11434 # if running a remote instance of Ollama
2125 ```
2226 </Tab>
23- <Tab title="JSON">
27+ <Tab title="JSON (Deprecated)">
2428 ```json title="config.json"
2529 {
2630 "models": [
2731 {
28- "title": "Llama3.1 8B",
32+ "title": "<MODEL_NAME>",
2933 "provider": "ollama",
30- "model": "llama3.1:8b"
34+ "model": "<MODEL_ID>"
35+ "apiBase": "http://<my endpoint>:11434" // if running a remote instance of Ollama
3136 }
3237 ]
3338 }
@@ -35,96 +40,9 @@
3540 </Tab>
3641 </Tabs>
3742
38-## How to Configure Ollama Autocomplete Models
39-
40-We recommend configuring **Qwen2.5-Coder 1.5B** as your autocomplete model.
41-
42-<Tabs>
43- <Tab title="YAML">
44- ```yaml title="config.yaml"
45- models:
46- - name: Qwen2.5-Coder 1.5B
47- provider: ollama
48- model: qwen2.5-coder:1.5b-base
49- roles:
50- - autocomplete
51- ```
52- </Tab>
53- <Tab title="JSON">
54- ```json title="config.json"
55- {
56- "tabAutocompleteModel": {
57- "title": "Qwen2.5-Coder 1.5B",
58- "provider": "ollama",
59- "model": "qwen2.5-coder:1.5b-base"
60- }
61- }
62- ```
63- </Tab>
64-</Tabs>
65-
66-## How to Set Up Ollama Embeddings Models
67-
68-For recommended embeddings models, please refer to our [Model Recommendations page](/customization/models).
69-
70-<Tabs>
71- <Tab title="YAML">
72- ```yaml title="config.yaml"
73- models:
74- - name: Nomic Embed Text
75- provider: ollama
76- model: nomic-embed-text
77- roles:
78- - embed
79- ```
80- </Tab>
81- <Tab title="JSON">
82- ```json title="config.json"
83- {
84- "embeddingsProvider": {
85- "provider": "ollama",
86- "model": "nomic-embed-text"
87- }
88- }
89- ```
90- </Tab>
91-</Tabs>
92-
93-## Ollama Reranking Model Availability
94-
95-Ollama currently does not offer any reranking models.
96-
97-[Click here](../../model-roles/reranking) to see a list of reranking model providers.
98-
99-## How to Configure Remote Ollama Instance
100-
101-To configure a remote instance of Ollama, add the `"apiBase"` property to your model in config.json:
102-
103-<Tabs>
104- <Tab title="YAML">
105- ```yaml title="config.yaml"
106- models:
107- - name: Llama3.1 8B
108- provider: ollama
109- model: llama3.1:8b
110- apiBase: http://<my endpoint>:11434
111- ```
112- </Tab>
113- <Tab title="JSON">
114- ```json title="config.json"
115- {
116- "models": [
117- {
118- "title": "Llama3.1 8B",
119- "provider": "ollama",
120- "model": "llama3.1:8b",
121- "apiBase": "http://<my endpoint>:11434"
122- }
123- ]
124- }
125- ```
126- </Tab>
127-</Tabs>
43+<Info>
44+ **Check out a more advanced configuration [here](https://hub.continue.dev/ollama/qwen3-coder-30b?view=config)**
45+</Info>
12846
12947 ## How to Configure Model Capabilities in Ollama
13048
@@ -134,25 +52,25 @@
13452 <Tab title="YAML">
13553 ```yaml title="config.yaml"
13654 models:
137- - name: Custom Vision Model
55+ - name: <CUSTOM_MODEL_NAME>
13856 provider: ollama
139- model: my-custom-llava
57+ model: <CUSTOM_MODEL_ID>
14058 capabilities:
14159 - tool_use # Enable if your model supports function calling
142- - image_input # Enable for vision models like llava
60+ - image_input # Enable for vision models
14361 ```
14462 </Tab>
145- <Tab title="JSON">
63+ <Tab title="JSON (Deprecated)">
14664 ```json title="config.json"
14765 {
14866 "models": [
14967 {
150- "title": "Custom Vision Model",
68+ "title": "<CUSTOM_MODEL_NAME>",
15169 "provider": "ollama",
152- "model": "my-custom-llava",
70+ "model": "<CUSTOM_MODEL_ID>",
15371 "capabilities": {
154- "tools": true,
155- "uploadImage": true
72+ "tools": true, // Enable if your model supports function calling
73+ "uploadImage": true // Enable for vision models
15674 }
15775 }
15876 ]
@@ -162,6 +80,5 @@
16280 </Tabs>
16381
16482 <Note>
165- Most standard Ollama models (like llama3.1, mistral, etc.) support tool use by
166- default. Vision models (like llava) also support image input.
83+ Many Ollama models support tool use by default. Vision models often also support image input
16784 </Note>
modified docs/customize/model-providers/top-level/openai.mdx +27 −71
@@ -1,37 +1,37 @@
11 ---
22 title: "How to Configure OpenAI Models with Continue"
33 slug: ../openai
4-description: "Configure OpenAI models with Continue, including GPT-4o for chat and text-embedding-3-large for embeddings, with support for OpenAI-compatible servers and APIs"
54 sidebarTitle: "OpenAI"
65 ---
76
7+<Tip>
8+ **Discover OpenAI models [here](https://hub.continue.dev/openai)**
9+</Tip>
10+
811 <Info>
9- You can get an API key from the [OpenAI
10- console](https://platform.openai.com/account/api-keys)
12+ Get an API key from the [OpenAI Console](https://platform.openai.com/account/api-keys)
1113 </Info>
1214
13-## How to Set Up OpenAI Chat Models
14-
15-We recommend configuring **GPT-4o** as your chat model.
15+## Configuration
1616
1717 <Tabs>
1818 <Tab title="YAML">
1919 ```yaml title="config.yaml"
2020 models:
21- - name: GPT-4o
21+ - name: <MODEL_NAME>
2222 provider: openai
23- model: gpt-4o
23+ model: <MODEL_ID>
2424 apiKey: <YOUR_OPENAI_API_KEY>
2525 ```
2626 </Tab>
27- <Tab title="JSON">
27+ <Tab title="JSON (Deprecated)">
2828 ```json title="config.json"
2929 {
3030 "models": [
3131 {
32- "title": "GPT-4o",
32+ "title": "<MODEL_NAME>",
3333 "provider": "openai",
34- "model": "gpt-4o",
34+ "model": "<MODEL_ID>",
3535 "apiKey": "<YOUR_OPENAI_API_KEY>"
3636 }
3737 ]
@@ -40,50 +40,13 @@
4040 </Tab>
4141 </Tabs>
4242
43-## OpenAI Autocomplete Model Availability
44-
45-OpenAI currently does not offer any autocomplete models.
46-
47-[Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers.
48-
49-## How to Configure OpenAI Embeddings Models
50-
51-We recommend configuring **text-embedding-3-large** as your embeddings model.
52-
53-<Tabs>
54- <Tab title="YAML">
55- ```yaml title="config.yaml"
56- models:
57- - name: OpenAI Embeddings
58- provider: openai
59- model: text-embedding-3-large
60- apiKey: <YOUR_OPENAI_API_KEY>
61- roles:
62- - embed
63- ```
64- </Tab>
65- <Tab title="JSON">
66- ```json title="config.json"
67- {
68- "embeddingsProvider": {
69- "provider": "openai",
70- "model": "text-embedding-3-large",
71- "apiKey": "<YOUR_OPENAI_API_KEY>"
72- }
73- }
74- ```
75- </Tab>
76-</Tabs>
77-
78-## OpenAI Reranking Model Availability
79-
80-OpenAI currently does not offer any reranking models.
81-
82-[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
43+<Info>
44+ **Check out a more advanced configuration [here](https://hub.continue.dev/openai/gpt-5?view=config)**
45+</Info>
8346
84-## How to Use OpenAI-Compatible Servers and APIs
47+## OpenAI API compatible providers
8548
86-OpenAI compatible servers
49+OpenAI API compatible providers include
8750
8851 - [KoboldCpp](https://github.com/lostruins/koboldcpp)
8952 - [text-gen-webui](https://github.com/oobabooga/text-generation-webui/tree/main/extensions/openai#setup--installation)
@@ -94,34 +57,27 @@
9457 - [vLLM](https://docs.vllm.ai/en/latest/serving/openai_compatible_server.html)
9558 - [BerriAI/litellm](https://github.com/BerriAI/litellm)
9659
97-OpenAI compatible APIs
98-
99-- [Anyscale Endpoints](https://github.com/continuedev/deploy-os-code-llm#others)
100-- [Anyscale Private Endpoints](https://github.com/continuedev/deploy-os-code-llm#anyscale-private-endpoints)
101-
102-### How to Configure Custom API Base for OpenAI-Compatible Services
103-
104-If you are using an OpenAI compatible server / API, you can change the `apiBase` like this:
60+If you are using an OpenAI API compatible providers, you can change the `apiBase` like this:
10561
10662 <Tabs>
10763 <Tab title="YAML">
10864 ```yaml title="config.yaml"
10965 models:
110- - name: OpenAI-compatible server / API
66+ - name: <OPENAI_API_COMPATIBLE_PROVIDER_MODEL>
11167 provider: openai
112- model: MODEL_NAME
68+ model: <MODEL_NAME>
11369 apiBase: http://localhost:8000/v1
11470 apiKey: <YOUR_CUSTOM_API_KEY>
11571 ```
11672 </Tab>
117- <Tab title="JSON">
73+ <Tab title="JSON (Deprecated)">
11874 ```json title="config.json"
11975 {
12076 "models": [
12177 {
122- "title": "OpenAI-compatible server / API",
78+ "title": "<OPENAI_API_COMPATIBLE_PROVIDER_MODEL>",
12379 "provider": "openai",
124- "model": "MODEL_NAME",
80+ "model": "<MODEL_NAME>",
12581 "apiKey": "<YOUR_CUSTOM_API_KEY>",
12682 "apiBase": "http://localhost:8000/v1"
12783 }
@@ -139,21 +95,21 @@
13995 <Tab title="YAML">
14096 ```yaml title="config.yaml"
14197 models:
142- - name: OpenAI-compatible server / API
98+ - name: <OPENAI_API_COMPATIBLE_PROVIDER_MODEL>
14399 provider: openai
144- model: MODEL_NAME
100+ model: <MODEL_NAME>>
145101 apiBase: http://localhost:8000/v1
146102 useLegacyCompletionsEndpoint: true
147103 ```
148104 </Tab>
149- <Tab title="JSON">
105+ <Tab title="JSON (Deprecated)">
150106 ```json title="config.json"
151107 {
152108 "models": [
153109 {
154- "title": "OpenAI-compatible server / API",
110+ "title": "<OPENAI_API_COMPATIBLE_PROVIDER_MODEL>",
155111 "provider": "openai",
156- "model": "MODEL_NAME",
112+ "model": "<MODEL_NAME>",
157113 "apiBase": "http://localhost:8000/v1",
158114 "useLegacyCompletionsEndpoint": true
159115 }
added docs/customize/model-providers/top-level/openrouter.mdx +132 −0
@@ -0,0 +1,132 @@
1+---
2+title: "How to Configure OpenRouter with Continue"
3+sidebarTitle: "OpenRouter"
4+---
5+
6+<Tip>
7+ **Discover Inception models [here](https://hub.continue.dev/inceptionlabs)**
8+</Tip>
9+
10+<Info>
11+ Get an API key from [OpenRouter](https://openrouter.ai/keys)
12+</Info>
13+
14+<Tabs>
15+ <Tab title="YAML">
16+ ```yaml title="config.yaml"
17+ models:
18+ - name: <MODEL_NAME>
19+ provider: openrouter
20+ model: <MODEL_ID>
21+ apiBase: https://openrouter.ai/api/v1
22+ apiKey: <YOUR_OPEN_ROUTER_API_KEY>
23+ ```
24+ </Tab>
25+ <Tab title="JSON (Deprecated)">
26+ ```json title="config.json"
27+ {
28+ "models": [
29+ {
30+ "title": "<MODEL_NAME>",
31+ "provider": "openrouter",
32+ "model": "<MODEL_ID>",
33+ "apiBase": "https://openrouter.ai/api/v1",
34+ "apiKey": "<YOUR_OPEN_ROUTER_API_KEY>"
35+ }
36+ ]
37+ }
38+ ```
39+ </Tab>
40+</Tabs>
41+
42+<Info>
43+ **Check out a more advanced configuration [here](https://hub.continue.dev/openrouter/qwen3-coder?view=config)**
44+</Info>
45+
46+## Optional configuration
47+
48+OpenRouter allows you configure provider preferences, model routing configuration, and more. You can set these via `requestOptions`.
49+
50+For example, to prevent extra long prompts from being compressed, you can explicitly turn off [Transforms](https://openrouter.ai/docs/features/message-transforms):)
51+
52+<Tabs>
53+ <Tab title="YAML">
54+ ```yaml title="config.yaml"
55+ models:
56+ - name: <MODEL_NAME>
57+ provider: openrouter
58+ model: <MODEL_ID>
59+ requestOptions:
60+ extraBodyProperties:
61+ transforms: []
62+ ```
63+ </Tab>
64+ <Tab title="JSON (Deprecated)">
65+ ```json title="config.json"
66+ {
67+ "models": [
68+ {
69+ "title": "<MODEL_NAME>",
70+ "provider": "openrouter",
71+ "model": "<MODEL_ID>",
72+ "requestOptions": {
73+ "extraBodyProperties": {
74+ "transforms": []
75+ }
76+ }
77+ }
78+ ]
79+ }
80+ ```
81+ </Tab>
82+</Tabs>
83+
84+## Model Capabilities
85+
86+OpenRouter models may require explicit capability configuration because the proxy doesn't always preserve the function calling support of the original model.
87+
88+<Info>
89+ Continue automatically uses system message tools for models that don't support
90+ native function calling, so Agent mode should work even without explicit
91+ capability configuration. However, you can still override capabilities if
92+ needed.
93+</Info>
94+
95+If you're experiencing issues with Agent mode or tools not working, you can add the capabilities field:
96+
97+<Tabs>
98+ <Tab title="YAML">
99+ ```yaml title="config.yaml"
100+ models:
101+ - name: <MODEL_NAME>
102+ provider: openrouter
103+ model: <MODEL_ID>
104+ apiBase: https://openrouter.ai/api/v1
105+ apiKey: <YOUR_OPEN_ROUTER_API_KEY>
106+ capabilities:
107+ - tool_use # Enable function calling for Agent mode
108+ ```
109+ </Tab>
110+ <Tab title="JSON (Deprecated)">
111+ ```json title="config.json"
112+ {
113+ "models": [
114+ {
115+ "title": "<MODEL_NAME>",
116+ "provider": "openrouter",
117+ "model": "<MODEL_ID>",
118+ "apiBase": "https://openrouter.ai/api/v1",
119+ "apiKey": "<YOUR_OPEN_ROUTER_API_KEY>",
120+ "capabilities": {
121+ "tools": true, // Enable function calling for Agent mode
122+ }
123+ }
124+ ]
125+ }
126+ ```
127+ </Tab>
128+</Tabs>
129+
130+<Note>
131+ Not all models support function calling. Check the [OpenRouter models page](https://openrouter.ai/models) for specific model capabilities.
132+</Note>
modified docs/customize/model-providers/top-level/vertexai.mdx +19 −96
@@ -1,41 +1,36 @@
11 ---
22 title: "How to Configure Vertex AI with Continue"
33 slug: ../vertexai
4-description: "Configure Google Cloud's Vertex AI with Continue to access powerful models like Claude 3.5 Sonnet, Codestral, and text-embedding-004 for chat, autocomplete, and embeddings"
54 sidebarTitle: "Vertex AI"
65 ---
76
87 <Info>
9- You need to enable the [Vertex AI
10- API](https://console.cloud.google.com/marketplace/product/google/aiplatform.googleapis.com)
11- and set up the [Google Application Default
12- Credentials](https://cloud.google.com/docs/authentication/provide-credentials-adc).
8+ Enable the [Vertex AI API](https://console.cloud.google.com/marketplace/product/google/aiplatform.googleapis.com)
9+ and set up [Google Application Default Credentials](https://cloud.google.com/docs/authentication/provide-credentials-adc)
1310 </Info>
1411
15-## How to Set Up Vertex AI Chat Models
16-
17-We recommend configuring **Claude 3.5 Sonnet** as your chat model.
12+## Configuration
1813
1914 <Tabs>
2015 <Tab title="YAML">
2116 ```yaml title="config.yaml"
2217 models:
23- - name: Claude 3.5 Sonnet
18+ - name: <MODEL_NAME>
2419 provider: vertexai
25- model: claude-3-5-sonnet-20240620
20+ model: <MODEL_ID>
2621 env:
2722 projectId: <PROJECT_ID>
2823 region: us-east5
2924 ```
3025 </Tab>
31- <Tab title="JSON">
26+ <Tab title="JSON (Deprecated)">
3227 ```json title="config.json"
3328 {
3429 "models": [
3530 {
36- "title": "Claude 3.5 Sonnet",
31+ "title": "<MODEL_NAME>",
3732 "provider": "vertexai",
38- "model": "claude-3-5-sonnet-20240620",
33+ "model": "<MODEL_ID>",
3934 "projectId": "[PROJECT_ID]",
4035 "region": "us-east5"
4136 }
@@ -45,104 +40,32 @@
4540 </Tab>
4641 </Tabs>
4742
48-## How to Set Up Vertex AI Autocomplete Models
49-
50-We recommend configuring **Codestral** or **code-gecko** as your autocomplete model.
51-
52-<Tabs>
53- <Tab title="YAML">
54- ```yaml title="config.yaml"
55- models:
56- - name: Codestral (Vertex AI)
57- provider: vertexai
58- model: codestral
59- roles:
60- - autocomplete
61- env:
62- projectId: <PROJECT_ID>
63- region: us-central1
64-
65- ```
66- </Tab>
67- <Tab title="JSON">
68- ```json title="config.json"
69- {
70- "tabAutocompleteModel": {
71- "title": "Codestral (Vertex AI)",
72- "provider": "vertexai",
73- "model": "codestral",
74- "projectId": "[PROJECT_ID]",
75- "region": "us-central1"
76- }
77- }
78- ```
79- </Tab>
80-</Tabs>
81-
82-## How to Configure Vertex AI Embeddings Models
43+## How to Enable Vertex AI Express Mode
8344
84-We recommend configuring **text-embedding-004** as your embeddings model.
45+You can use Vertex AI in [express mode](https://cloud.google.com/vertex-ai/generative-ai/docs/start/express-mode/overview) by only providing an API Key. Only some Gemini models are supported in express mode for now.
8546
8647 <Tabs>
8748 <Tab title="YAML">
8849 ```yaml title="config.yaml"
8950 models:
90- - name: Text Embedding-004
51+ - name: <MODEL_NAME>
9152 provider: vertexai
92- model: text-embedding-004
93- env:
94- projectId: <PROJECT_ID>
95- region: us-central1
96- roles:
97- - embed
98- ```
99- </Tab>
100- <Tab title="JSON">
101- ```json title="config.json"
102- {
103- "embeddingsProvider": {
104- "provider": "vertexai",
105- "model": "text-embedding-004",
106- "projectId": "[PROJECT_ID]",
107- "region": "us-central1"
108- }
109- }
53+ model: <MODEL_ID>
54+ apiKey: <YOUR_GOOGLE_CLOUD_API_KEY>
11055 ```
11156 </Tab>
112-</Tabs>
113-
114-## How to Configure Vertex AI Reranking Models
115-
116-Vertex AI currently does not offer any reranking models.
117-
118-[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
119-
120-## How to Enable Vertex AI Express Mode
121-
122-You can use VertexAI in [express mode](https://cloud.google.com/vertex-ai/generative-ai/docs/start/express-mode/overview) by only providing an API Key. Only some Gemini models are supported in express mode for now.
123-
124-<Tabs groupId="config-example">
125- <TabItem value="yaml" label="YAML">
126- ```yaml title="config.yaml"
127- models:
128- - name: Gemini 2.5 Flash - VertexAI
129- provider: vertexai
130- model: gemini-2.5-flash
131- apiKey: ${{ secrets.GOOGLE_CLOUD_API_KEY }}
132- ```
133- </TabItem>
134- <TabItem value="json" label="JSON">
57+ <Tab title="JSON (Deprecated)">
13558 ```json title="config.json"
13659 {
13760 "models": [
13861 {
139- "title": "Gemini 2.5 Flash - VertexAI",
62+ "title": "<MODEL_NAME>",
14063 "provider": "vertexai",
141- "model": "gemini-2.5-flash",
142- "apiKey": "[YOUR_GOOGLE_CLOUD_API_KEY]",
64+ "model": "<MODEL_ID>",
65+ "apiKey": "<YOUR_GOOGLE_CLOUD_API_KEY>",
14366 }
14467 ]
14568 }
14669 ```
147- </TabItem>
148-</Tabs>
70+ </Tab>
71+</Tabs>
No newline at the end of the file
deleted docs/customize/model-providers/top-level/xAI.mdx +0 −61
@@ -1,61 +0,0 @@
1----
2-title: "How to Configure xAI with Continue"
3-slug: ../xai
4-description: "Configure xAI's Grok 4 model with Continue for advanced chat capabilities, with easy API key setup from the xAI console"
5-sidebarTitle: "xAI"
6----
7-
8-<Info>
9- You can get an API key from the [xAI console](https://console.x.ai/)
10-</Info>
11-
12-## How to Set Up xAI Chat Models
13-
14-We recommend configuring **grok-4** as your chat model. For information on other available models, visit [xAI Documentation](https://docs.x.ai/docs/models).
15-
16-<Tabs>
17- <Tab title="Config">
18- Add the [xAI Grok 4 model block](https://hub.continue.dev/xai/grok-4) on the hub.
19- </Tab>
20- <Tab title="YAML">
21- ```yaml title="config.yaml"
22- models:
23- - name: Grok 4
24- provider: xAI
25- model: grok-4
26- apiKey: <YOUR_XAI_API_KEY>
27- ```
28- </Tab>
29- <Tab title="JSON">
30- ```json title="config.json"
31- {
32- "models": [
33- {
34- "title": "Grok 4",
35- "provider": "xAI",
36- "model": "grok-4",
37- "apiKey": "<YOUR_XAI_API_KEY>"
38- }
39- ]
40- }
41- ```
42- </Tab>
43-</Tabs>
44-
45-## How to Set Up xAI Autocomplete Models
46-
47-xAI currently does not offer any autocomplete models.
48-
49-[Click here](../../model-roles/autocomplete) to see a list of autocomplete model providers.
50-
51-## How to Configure xAI Embeddings Models
52-
53-xAI currently does not offer any embeddings models.
54-
55-[Click here](../../model-roles/embeddings.mdx) to see a list of embeddings model providers.
56-
57-## How to Configure xAI Reranking Models
58-
59-xAI currently does not offer any reranking models.
60-
61-[Click here](../../model-roles/reranking.mdx) to see a list of reranking model providers.
modified docs/customize/model-roles/chat.mdx +4 −4
@@ -7,7 +7,7 @@
77
88 A "chat model" is an LLM that is trained to respond in a conversational format. Because they should be able to answer general questions and generate complex code, the best chat models are typically large, often 405B+ parameters.
99
10-In Continue, these models are used for normal [Chat](../../features/chat/quick-start) and [VS Code actions](../deep-dives/vscode-actions). The selected chat model will also be used for [Edit](../../features/edit/quick-start) and [Apply](./apply) if no `edit` or `apply` models are specified, respectively.
10+In Continue, these models are used for normal [Chat](../../features/chat/quick-start). The selected chat model will also be used for [Edit](../../features/edit/quick-start) and [Apply](./apply.mdx) if no `edit` or `apply` models are specified, respectively.
1111
1212 ## Recommended Chat models
1313
@@ -156,7 +156,7 @@
156156
157157 ### Grok-2 from xAI
158158
159-If you prefer to use a model from [xAI](../model-providers/top-level/xAI), then we recommend Grok-2.
159+If you prefer to use a model from [xAI](../model-providers/more/xAI), then we recommend Grok-2.
160160
161161 <Tabs>
162162 <Tab title="Hub">
@@ -226,7 +226,7 @@
226226
227227 ### Llama 3.1 8B
228228
229-If your local machine can run an 8B parameter model, then we recommend running Llama 3.1 8B on your machine (e.g. using [Ollama](../model-providers/top-level/ollama) or [LM Studio](../model-providers/more/lmstudio)).
229+If your local machine can run an 8B parameter model, then we recommend running Llama 3.1 8B on your machine (e.g. using [Ollama](../model-providers/top-level/ollama) or [LM Studio](../model-providers/top-level/lmstudio)).
230230
231231 <Tabs>
232232 <Tab title="Hub">
@@ -315,7 +315,7 @@
315315
316316 ### DeepSeek Coder 2 16B
317317
318-If your local machine can run a 16B parameter model, then we recommend running DeepSeek Coder 2 16B (e.g. using [Ollama](../model-providers/top-level/ollama.mdx) or [LM Studio](../model-providers/more/lmstudio.mdx)).
318+If your local machine can run a 16B parameter model, then we recommend running DeepSeek Coder 2 16B (e.g. using [Ollama](../model-providers/top-level/ollama) or [LM Studio](../model-providers/top-level/lmstudio)).
319319
320320 <Tabs>
321321 {/* HUB_TODO nonexistent blocks */}
modified docs/customize/model-roles/embeddings.mdx +2 −2
@@ -138,7 +138,7 @@
138138
139139 ### Mistral
140140
141-See [here](../model-providers/top-level/mistral#how-to-configure-mistral-embeddings-models) for instructions on how to use Mistral for embeddings.
141+See [here](../model-providers/more/mistral#how-to-configure-mistral-embeddings-models) for instructions on how to use Mistral for embeddings.
142142
143143 ### NVIDIA
144144
@@ -154,4 +154,4 @@
154154
155155 ### LMStudio
156156
157-See [here](../model-providers/more/lmstudio#embeddings-model) for instructions on how to use LMStudio for embeddings.
157+See [here](../model-providers/top-level/lmstudio#embeddings-model) for instructions on how to use LMStudio for embeddings.
modified docs/customize/overview.mdx +8 −8
@@ -3,17 +3,11 @@
33 description: "Explore Continue's advanced capabilities for power users and complex development scenarios."
44 ---
55
6-## Context Providers
7-
8-Master how Continue understands your codebase with powerful context providers for code, documentation, and more.
9-
10-[Explore Context Providers →](/customize/custom-providers)
11-
126 ## Context Integration
137
148 Specialized context features for codebase understanding and documentation integration.
159
16-[Browse Context Features →](customize/context/codebase)
10+[Browse Context Features →](/guides/understanding-assistants)
1711
1812 ## Deep Dives
1913
@@ -33,6 +27,12 @@
3327
3428 [Learn Model Roles →](/customize/model-roles)
3529
30+## Deep Dives
31+
32+Detailed technical explanations of Continue's internal workings and advanced configuration options.
33+
34+[Read Deep Dives →](/customization/overview#configuration)
35+
3636 ## Reference
3737
3838 Complete configuration reference and API documentation.
@@ -47,4 +47,4 @@
4747
4848 ---
4949
50-These advanced topics help you get the most out of Continue in complex development environments.
50+These advanced topics help you get the most out of Continue in complex development environments.
No newline at the end of the file
deleted docs/customize/settings.mdx +0 −41
@@ -1,41 +0,0 @@
1----
2-title: "User Settings Page"
3-description: "Reference for Adjusting User-Specific Settings"
4-keywords: [config, settings, configuration, customize, customization, sidebar]
5----
6-
7-The **User Settings page** can be accessed by clicking the gear icon in the header of the Continue sidebar and then selecting the "Settings" tab.
8-
9-![settings](/images/settings-header.png)
10-
11-Which takes you to this page (select the "Settings" tab):
12-
13-![User Settings Page](/images/settings-page.png)
14-
15-Below that, the following settings which are not part of a configuration file are available:
16-
17-- **Show Session Tabs**: If on, displays tabs above the chat as an alternative way to organize and access your sessions. Off by default
18-- **Wrap Codeblocks**: If on, enables text wrapping in code blocks. Off by default
19-- **Show Chat Scrollbar**: If on, enables a scrollbar in the chat window. Off by default
20-- **Text-to-Speech Output**: If on, reads LLM responses aloud with TTS. Off by default
21-- **Enable Session Titles**: If on, generates summary titles for each chat session after the first message, using the current Chat model. On by default
22-- **Format Markdown**: If off, shows responses as raw text. On by default
23-- **Allow Anonymous Telemetry**: If on, allows Continue to send anonymous telemetry. **On** by default
24-- **Enable Indexing**: Enables indexing of the codebase for the @codebase and @code context providers. **On** by default
25-- **Font Size**: Specifies base font size for UI elements
26-- **Multiline Autocompletions**: Controls multiline completions for autocomplete. Can be set to `always`, `never`, or `auto`. Defaults to `auto`
27-- **Autocomplete timeout**: Maximum time in milliseconds for autocomplete request/retrieval. Defaults to 150
28-- **Autocomplete debounce**: Minimum time in milliseconds to trigger an autocomplete request after a change. Defaults to 250
29-- **Disable autocomplete in files**: List of comma-separated glob pattern to disable autocomplete in matching files. E.g., `**/*.{txt,md}`
30-
31-## Experimental settings
32-
33-At the bottom of the User Settings page there is an "Experimental Settings" section which contains new or otherwise experimental settings, including:
34-
35-<Warning>
36- **Auto-Accept Agent Edits**: Be very careful with this setting. When turned
37- on, Agent mode's edit tool can make changes to files with no manual review or
38- guaranteed stopping point. If on, diffs generated by the edit tool are
39- automatically accepted and Agent proceeds with the next conversational turn.
40- Off by default.
41-</Warning>
modified docs/customize/telemetry.mdx +1 −1
@@ -25,6 +25,6 @@
2525
2626 ## How to Opt Out
2727
28-You can disable anonymous telemetry by visiting the [User Settings Page](/customize/settings) and toggling "Allow Anonymous Telemetry" off.
28+You can disable anonymous telemetry by toggling "Allow Anonymous Telemetry" off in the user settings.
2929
3030 Alternatively in VS Code, you can disable telemetry through your VS Code settings by unchecking the "Continue: Telemetry Enabled" box (this will override the Settings Page settings). VS Code settings can be accessed with `File` > `Preferences` > `Settings` (or use the keyboard shortcut `ctrl` + `,` on Windows/Linux or `cmd` + `,` on macOS).
modified docs/docs.json +136 −75
@@ -27,6 +27,18 @@
2727 "group": "Features",
2828 "icon": "star",
2929 "pages": [
30+ {
31+ "group": "Agent",
32+ "icon": "robot",
33+ "pages": [
34+ "features/agent/quick-start",
35+ "features/agent/how-it-works",
36+ "features/agent/plan-mode",
37+ "features/agent/model-setup",
38+ "features/agent/how-to-customize",
39+ "features/agent/context-selection"
40+ ]
41+ },
3042 {
3143 "group": "Chat",
3244 "icon": "messages",
@@ -60,18 +72,6 @@
6072 "features/edit/how-to-customize",
6173 "features/edit/context-selection"
6274 ]
63- },
64- {
65- "group": "Agent",
66- "icon": "robot",
67- "pages": [
68- "features/agent/quick-start",
69- "features/agent/how-it-works",
70- "features/agent/plan-mode",
71- "features/agent/model-setup",
72- "features/agent/how-to-customize",
73- "features/agent/context-selection"
74- ]
7575 }
7676 ]
7777 },
@@ -81,9 +81,9 @@
8181 "pages": [
8282 "customization/overview",
8383 "customization/models",
84- "customization/prompts",
84+ "customization/mcp-tools",
8585 "customization/rules",
86- "customization/mcp-tools"
86+ "customization/prompts"
8787 ]
8888 },
8989 {
@@ -109,32 +109,30 @@
109109 "group": "Popular Providers",
110110 "pages": [
111111 "customize/model-providers/top-level/anthropic",
112- "customize/model-providers/top-level/openai",
113112 "customize/model-providers/top-level/azure",
114113 "customize/model-providers/top-level/bedrock",
115- "customize/model-providers/top-level/ollama",
116114 "customize/model-providers/top-level/gemini",
117- "customize/model-providers/top-level/deepseek",
118- "customize/model-providers/top-level/mistral",
119- "customize/model-providers/top-level/xAI",
120- "customize/model-providers/top-level/vertexai",
121- "customize/model-providers/top-level/inception"
115+ "customize/model-providers/top-level/inception",
116+ "customize/model-providers/top-level/lmstudio",
117+ "customize/model-providers/top-level/ollama",
118+ "customize/model-providers/top-level/openrouter",
119+ "customize/model-providers/top-level/openai",
120+ "customize/model-providers/top-level/vertexai"
122121 ]
123122 },
124123 {
125124 "group": "More Providers",
126125 "pages": [
126+ "customize/model-providers/more/deepseek",
127+ "customize/model-providers/more/deepinfra",
127128 "customize/model-providers/more/groq",
128- "customize/model-providers/more/together",
129- "customize/model-providers/more/lmstudio",
129+ "customize/model-providers/more/huggingfaceinferenceapi",
130130 "customize/model-providers/more/llamacpp",
131131 "customize/model-providers/more/llamastack",
132- "customize/model-providers/more/openrouter",
133- "customize/model-providers/more/huggingfaceinferenceapi",
134- "customize/model-providers/more/cohere",
132+ "customize/model-providers/more/mistral",
135133 "customize/model-providers/more/nvidia",
136- "customize/model-providers/more/cloudflare",
137- "customize/model-providers/more/deepinfra"
134+ "customize/model-providers/more/together",
135+ "customize/model-providers/more/xAI"
138136 ]
139137 }
140138 ]
@@ -152,36 +150,23 @@
152150 "customize/model-roles/reranking"
153151 ]
154152 },
155- {
156- "group": "Context Providers",
157- "icon": "code",
158- "pages": [
159- "customize/context/codebase",
160- "customize/context/documentation"
161- ]
162- },
153+
163154 {
164155 "group": "Deep Dives",
165156 "icon": "microscope",
166157 "pages": [
167158 "customize/deep-dives/configuration",
168- "customize/settings",
169159 "customize/deep-dives/slash-commands",
170160 "customize/deep-dives/rules",
171161 "customize/deep-dives/prompts",
172162 "customize/deep-dives/autocomplete",
173163 "customize/deep-dives/development-data",
174- "customize/deep-dives/vscode-actions",
175164 "customize/deep-dives/mcp",
165+ "customize/deep-dives/custom-providers",
176166 "customize/deep-dives/model-capabilities"
177167 ]
178168 },
179- {
180- "group": "Telemetry",
181- "icon": "chart-line",
182- "pages": ["customize/telemetry"]
183- },
184- "customize/custom-providers"
169+ "customize/telemetry"
185170 ]
186171 }
187172 ]
@@ -210,8 +195,7 @@
210195 "hub/blocks/intro",
211196 "hub/blocks/use-a-block",
212197 "hub/blocks/block-types",
213- "hub/blocks/create-a-block",
214- "hub/blocks/bundles"
198+ "hub/blocks/create-a-block"
215199 ]
216200 },
217201 {
@@ -245,14 +229,12 @@
245229 "pages": [
246230 "guides/overview",
247231 "guides/understanding-assistants",
232+ "guides/codebase-documentation-awareness",
248233 "guides/cli",
249234 "guides/plan-mode-guide",
250235 "guides/ollama-guide",
251- "guides/llama3.1",
252- "guides/set-up-codestral",
253236 "guides/running-continue-without-internet",
254237 "guides/custom-code-rag",
255- "guides/build-your-own-context-provider",
256238 "guides/how-to-self-host-a-model"
257239 ]
258240 }
@@ -266,9 +248,12 @@
266248 "icon": "code",
267249 "pages": [
268250 "reference",
269- "reference/json-reference",
270251 "reference/yaml-migration",
271- "reference/continue-mcp"
252+ "reference/continue-mcp",
253+ "reference/json-reference",
254+ "reference/deprecated-context-providers",
255+ "reference/deprecated-codebase",
256+ "reference/deprecated-docs"
272257 ]
273258 }
274259 ]
@@ -393,14 +378,6 @@
393378 "source": "/install/jetbrains",
394379 "destination": "/getting-started/install"
395380 },
396- {
397- "source": "/advanced/deep-dives/settings",
398- "destination": "/customize/settings"
399- },
400- {
401- "source": "/customize/deep-dives/settings",
402- "destination": "/customize/settings"
403- },
404381 {
405382 "source": "/customize/model-types",
406383 "destination": "/customize/model-roles/intro"
@@ -479,19 +456,19 @@
479456 },
480457 {
481458 "source": "/walkthroughs/codebase-embeddings",
482- "destination": "/customize/context/codebase"
459+ "destination": "/reference/deprecated-codebase"
483460 },
484461 {
485462 "source": "/features/codebase-embeddings",
486- "destination": "/customize/context/codebase"
463+ "destination": "/reference/deprecated-codebase"
487464 },
488465 {
489466 "source": "/advanced/deep-dives/codebase",
490- "destination": "/customize/context/codebase"
467+ "destination": "/reference/deprecated-codebase"
491468 },
492469 {
493470 "source": "/advanced/context/codebase",
494- "destination": "/customize/context/codebase"
471+ "destination": "/reference/deprecated-codebase"
495472 },
496473 {
497474 "source": "/walkthroughs/tab-autocomplete",
@@ -555,11 +532,15 @@
555532 },
556533 {
557534 "source": "/walkthroughs/quick-actions",
558- "destination": "/customize/deep-dives/vscode-actions"
535+ "destination": "/customize/overview"
559536 },
560537 {
561538 "source": "/advanced/deep-dives/vscode-actions",
562- "destination": "/customize/deep-dives/vscode-actions"
539+ "destination": "/customize/overview"
540+ },
541+ {
542+ "source": "/customize/deep-dives/vscode-actions",
543+ "destination": "/customize/overview"
563544 },
564545 {
565546 "source": "/changelog",
@@ -579,19 +560,19 @@
579560 },
580561 {
581562 "source": "/customization/context-providers",
582- "destination": "/customize/custom-providers"
563+ "destination": "/customize/deep-dives/custom-providers"
583564 },
584565 {
585566 "source": "/advanced/context-integration/custom-providers",
586- "destination": "/customize/custom-providers"
567+ "destination": "/customize/deep-dives/custom-providers"
587568 },
588569 {
589570 "source": "/advanced/context/custom-providers",
590- "destination": "/customize/custom-providers"
571+ "destination": "/customize/deep-dives/custom-providers"
591572 },
592573 {
593574 "source": "/advanced/custom-providers",
594- "destination": "/customize/custom-providers"
575+ "destination": "/customize/deep-dives/custom-providers"
595576 },
596577 {
597578 "source": "/development-data",
@@ -607,19 +588,19 @@
607588 },
608589 {
609590 "source": "/features/talk-to-your-docs",
610- "destination": "/customize/context/documentation"
591+ "destination": "/reference/deprecated-docs"
611592 },
612593 {
613594 "source": "/advanced/context-integration/documentation",
614- "destination": "/customize/context/documentation"
595+ "destination": "/reference/deprecated-docs"
615596 },
616597 {
617598 "source": "/advanced/deep-dives/docs",
618- "destination": "/customize/context/documentation"
599+ "destination": "/reference/deprecated-docs"
619600 },
620601 {
621602 "source": "/advanced/context/documentation",
622- "destination": "/customize/context/documentation"
603+ "destination": "/reference/deprecated-docs"
623604 },
624605 {
625606 "source": "/reference/Model Providers/anthropicllm",
@@ -1013,13 +994,93 @@
1013994 "source": "/agent/context-selection",
1014995 "destination": "/features/agent/context-selection"
1015996 },
997+ {
998+ "source": "/customize/context/codebase",
999+ "destination": "/guides/codebase-documentation-awareness"
1000+ },
1001+ {
1002+ "source": "/customize/context/documentation",
1003+ "destination": "/guides/codebase-documentation-awareness"
1004+ },
10161005 {
10171006 "source": "/customization/overview#codebase-context",
1018- "destination": "/customize/context/codebase"
1007+ "destination": "/guides/codebase-documentation-awareness"
10191008 },
10201009 {
10211010 "source": "/customization/overview#documentation-context",
1022- "destination": "/customize/context/documentation"
1011+ "destination": "/guides/codebase-documentation-awareness"
1012+ },
1013+ {
1014+ "source": "/guides/llama3.1",
1015+ "destination": "/guides/ollama-guide"
1016+ },
1017+ {
1018+ "source": "/guides/set-up-codestral",
1019+ "destination": "/customize/model-providers/top-level/mistral"
1020+ },
1021+ {
1022+ "source": "/guides/build-your-own-context-provider",
1023+ "destination": "/customize/deep-dives/custom-providers"
1024+ },
1025+ {
1026+ "source": "/hub/blocks/bundles",
1027+ "destination": "/hub/blocks/intro"
1028+ },
1029+ {
1030+ "source": "/customize/settings",
1031+ "destination": "/customize/overview"
1032+ },
1033+ {
1034+ "source": "/advanced/deep-dives/settings",
1035+ "destination": "/customize/overview"
1036+ },
1037+ {
1038+ "source": "/customize/deep-dives/settings",
1039+ "destination": "/customize/overview"
1040+ },
1041+ {
1042+ "source": "/customize/custom-providers#@greptile-context-provider",
1043+ "destination": "/reference/deprecated-context-providers"
1044+ },
1045+ {
1046+ "source": "/customize/custom-providers#@commits-context-provider",
1047+ "destination": "/reference/deprecated-context-providers"
1048+ },
1049+ {
1050+ "source": "/customize/custom-providers#@discord-context-provider",
1051+ "destination": "/reference/deprecated-context-providers"
1052+ },
1053+ {
1054+ "source": "/customize/custom-providers#@jira-context-provider",
1055+ "destination": "/reference/deprecated-context-providers"
1056+ },
1057+ {
1058+ "source": "/customize/custom-providers#@gitlab-merge-request-context-provider",
1059+ "destination": "/reference/deprecated-context-providers"
1060+ },
1061+ {
1062+ "source": "/customize/custom-providers#@google-context-provider",
1063+ "destination": "/reference/deprecated-context-providers"
1064+ },
1065+ {
1066+ "source": "/customize/custom-providers#@database-context-provider",
1067+ "destination": "/reference/deprecated-context-providers"
1068+ },
1069+ {
1070+ "source": "/customize/custom-providers#@issue-context-provider",
1071+ "destination": "/reference/deprecated-context-providers"
1072+ },
1073+ {
1074+ "source": "/customize/custom-providers#@url-context-provider",
1075+ "destination": "/reference/deprecated-context-providers"
1076+ },
1077+ {
1078+ "source": "/customize/custom-providers#@search-context-provider",
1079+ "destination": "/reference/deprecated-context-providers"
1080+ },
1081+ {
1082+ "source": "/customize/custom-providers#@web-context-provider",
1083+ "destination": "/reference/deprecated-context-providers"
10231084 },
10241085 {
10251086 "source": "/troubleshooting#faqs",
modified docs/features/agent/model-setup.mdx +4 −0
@@ -28,3 +28,7 @@
2828 ### How to Configure Agent Mode
2929
3030 Agent mode automatically determines whether to use native or system message tools based on the model's capabilities. No additional configuration is required - simply select your model and Continue handles the rest.
31+
32+## How to Check Model Compatibility
33+
34+To see which models support specific features like tool use (for Agent mode) and image input, check out our [Model Capabilities guide](/customize/deep-dives/model-capabilities).
No newline at the end of the file
modified docs/features/chat/context-selection.mdx +4 −8
@@ -20,17 +20,13 @@
2020
2121 You can include a specific file in your current workspace by typing '@Files' and selecting the file.
2222
23-## How to Include a Specific Folder
23+## Codebase Search
2424
25-You can include a folder in your current workspace by typing '@Folder' and selecting the directory.
26-
27-## How to Use Codebase Search
28-
29-You can automatically include relevant files from your codebase by typing '@Codebase'.
25+For better codebase awareness, see our [guide on making agents aware of codebases and documentation](/guides/codebase-documentation-awareness).
3026
3127 ## How to Include Documentation Sites
3228
33-You can include a documentation site as context by typing '@Docs' and selecting the site.
29+For better documentation awareness, see our [guide on making agents aware of codebases and documentation](/guides/codebase-documentation-awareness).
3430
3531 ## How to Include Terminal Contents
3632
@@ -42,4 +38,4 @@
4238
4339 ## How to Use Other Context Providers
4440
45-You can see a full list of built-in context providers [here](/customize/custom-providers) and learn about how to create your own context provider [here](/guides/build-your-own-context-provider).
41+You can see a full list of built-in context providers [here](/customize/deep-dives/custom-providers).
modified docs/features/chat/how-it-works.mdx +4 −6
@@ -22,10 +22,7 @@
2222
2323 ### How to Add Manual Context
2424
25-- `@Codebase` - Search and include relevant code from your project
26-- `@Docs` - Include documentation context
2725 - `@Files` - Reference specific files
28-- Custom context providers
2926
3027 ## How Response Handling Works
3128
@@ -47,12 +44,13 @@
4744
4845 View the exact prompt sent to the AI model in the [prompt logs](/troubleshooting) for debugging and optimization.
4946
50-### How to Learn More About Context Providers
47+### Context
5148
52-Learn more about how context providers work:
49+Learn more about how you can bring in context:
5350
5451 - [Codebase Context](/customize/context/codebase)
55-- [Documentation Context](/customize/context/documentation)
52+- [Documentation Context](/guides/codebase-documentation-awareness)
53+- [Built-in Context Providers](/customize/deep-dives/custom-providers)
5654
5755 ---
5856
modified docs/features/chat/how-to-customize.mdx +2 −5
@@ -7,8 +7,5 @@
77
88 There are a number of different ways to customize Chat:
99
10-- Add a `rules` block to give the model persistent instructions through the system prompt
11-- Configure `@Codebase`
12-- Configure `@Docs`
13-- [Build your own context provider](/guides/build-your-own-context-provider)
14-- [Create a custom code RAG](/guides/custom-code-rag)
10+- Add [rules](/customization/rules) to give the model persistent instructions through the system prompt
11+- Create [prompts](/customization/prompts) to kickoff workflows with instructions you repeat often
No newline at the end of the file
modified docs/features/chat/model-setup.mdx +1 −90
@@ -7,93 +7,4 @@
77 For a comprehensive comparison of all available models by role, see our [model recommendations table](/customization/models#recommended-models).
88 </Info>
99
10-For model recommendations, please refer to our [Model Recommendations page](/customization/models).
11-
12-### What Other Hosted Models Are Available?
13-
14-These models have varying tool calling and reasoning capabilities.
15-
16-[Kimi K2](https://hub.continue.dev/openrouter/kimi-k2) from Moonshot AI
17-
18-1. Get your API key from [OpenRouter](https://openrouter.ai/settings/keys)
19-2. Add [Kimi K2](https://hub.continue.dev/openrouter/kimi-k2) to your assistant on Continue Hub
20-3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
21-4. Click `Reload config` in the assistant selector in the Continue IDE extension
22-
23-[Qwen Coder 3 480B](https://hub.continue.dev/openrouter/qwen3-coder) from Qwen
24-
25-1. Get your API key from [OpenRouter](https://openrouter.ai/settings/keys)
26-2. Add [Qwen Coder 3 480B](https://hub.continue.dev/openrouter/qwen3-coder) to your assistant on Continue Hub
27-3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
28-4. Click `Reload config` in the assistant selector in the Continue IDE extension
29-
30-[Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) from Google
31-
32-1. Get your API key from [Google AI Studio](https://aistudio.google.com)
33-2. Add [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) to your assistant on Continue Hub
34-3. Add `GEMINI_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
35-4. Click `Reload config` in the assistant selector in the Continue IDE extension
36-
37-[o3](https://hub.continue.dev/openai/o3) from OpenAI
38-
39-1. Get your API key from [OpenAI](https://platform.openai.com)
40-2. Add [o3](https://hub.continue.dev/openai/o3) to your assistant on Continue Hub
41-3. Add `OPENAI_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
42-4. Click `Reload config` in the assistant selector in the Continue IDE extension
43-
44-[Grok 4](https://hub.continue.dev/xai/grok-4) from xAI
45-
46-1. Get your API key from [xAI](https://console.x.ai/)
47-2. Add [Grok 4](https://hub.continue.dev/xai/grok-4) to your assistant on Continue Hub
48-3. Add `XAI_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
49-4. Click `Reload config` in the assistant selector in the Continue IDE extension
50-
51-[Devstral Medium](https://hub.continue.dev/mistral/devstral-medium) from Mistral AI
52-
53-1. Get your API key from [Mistral AI](https://console.mistral.ai/)
54-2. Add [Devstral Medium](https://hub.continue.dev/mistral/devstral-medium) to your assistant on Continue Hub
55-3. Add `MISTRAL_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
56-4. Click `Reload config` in the assistant selector in the Continue IDE extension
57-
58-[DeepSeek-V3](https://hub.continue.dev/togetherai/deepseek-v3) from DeepSeek
59-
60-1. Get your API key from [Together AI](https://api.together.ai)
61-2. Add [DeepSeek-V3](https://hub.continue.dev/togetherai/deepseek-v3) to your assistant on Continue Hub
62-3. Add `TOGETHER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
63-4. Click `Reload config` in the assistant selector in the Continue IDE extension
64-
65-### What Local Models Are Available?
66-
67-These models can be run on your computer if you have enough VRAM.
68-
69-Their limited tool calling and reasoning capabilities will make it challenging to use Agent mode.
70-
71-[Qwen2.5-Coder 32B](https://hub.continue.dev/ollama/qwen2.5-coder-32b)
72-
73-1. Add [Qwen2.5-Coder 32B](https://hub.continue.dev/ollama/qwen2.5-coder-32b) to your assistant on Continue Hub
74-2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
75-3. Click `Reload config` in the assistant selector in the Continue IDE extension
76-
77-[Devstral Small 27B](https://hub.continue.dev/ollama/devstral)
78-
79-1. Add [Devstral Small](https://hub.continue.dev/ollama/devstral) to your assistant on Continue Hub
80-2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
81-3. Click `Reload config` in the assistant selector in the Continue IDE extension
82-
83-[Qwen2.5-Coder 7B](https://hub.continue.dev/ollama/qwen2.5-coder-7b) from Qwen
84-
85-1. Add [Qwen2.5-Coder 7B](https://hub.continue.dev/ollama/qwen2.5-coder-7b) to your assistant on Continue Hub
86-2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
87-3. Click `Reload config` in the assistant selector in the Continue IDE extension
88-
89-[Gemma 3 4B](https://hub.continue.dev/ollama/gemma3-4b) from Google
90-
91-1. Add [Gemma 3 4B](https://hub.continue.dev/ollama/gemma3-4b) to your assistant on Continue Hub
92-2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
93-3. Click `Reload config` in the assistant selector in the Continue IDE extension
94-
95-For more detailed setup instructions, see [here](/getting-started/install#setup-your-first-model).
96-
97-## How to Check Model Compatibility
98-
99-To see which models support specific features like tool use (for Agent mode) and image input, check out our [Model Capabilities guide](/customize/deep-dives/model-capabilities).
10+For model recommendations, please refer to our [Model Recommendations page](/customization/models).
No newline at the end of the file
modified docs/features/chat/quick-start.mdx +0 −2
@@ -33,8 +33,6 @@
3333
3434 Type `@` to include specific context:
3535
36-- `@Codebase` - Search your project for relevant code
37-- `@Docs` - Include documentation
3836 - `@Files` - Reference specific files
3937 - `@Terminal` - Include terminal output
4038
deleted docs/guides/build-your-own-context-provider.mdx +0 −162
@@ -1,162 +0,0 @@
1----
2-title: "How to Build Your Own Context Provider"
3-description: "Learn how to create custom context providers for Continue using HTTP servers, CustomContextProvider API, or VSCode extensions to provide tailored context to your AI assistant"
4----
5-
6-## How to Create an HTTP Context Provider
7-
8-Continue can retrieve context from a custom HTTP server that you create and serve. Add the `@HTTP` context provider to your configuration like this:
9-
10-- YAML
11-- JSON
12-
13-config.yaml
14-
15-```
16-context: provider: http params: url: https://myserver.com/context-provider title: http displayTitle: My Custom Context description: Gets things from my private list options: maxItems: 20
17-```
18-
19-config.json
20-
21-```json
22-{
23- "name": "http",
24- "params": {
25- "url": "https://myserver.com/context-provider",
26- "title": "http",
27- "description": "Custom HTTP Context Provider",
28- "displayTitle": "My Custom Context",
29- "options": { "maxItems": 20 }
30- }
31-}
32-```
33-
34-Then, create a server that responds to requests as are made from [HttpContextProvider.ts](https://github.com/continuedev/continue/blob/main/core/context/providers/HttpContextProvider.ts). See the `hello` endpoint in [context_provider_server.py](https://github.com/continuedev/continue/blob/main/core/context/providers/context_provider_server.py) for an example that uses FastAPI.
35-
36-The `"options"` property can be used to send additional parameters to your endpoint. The full request body has the following shape:
37-
38-```json
39-{ query: string; fullInput: string; options: Record<string, JsonValue>; workspacePath?: string; // Only provided if the server is local.}
40-```
41-
42-<Info>
43- The following methods for creating custom context providers are deprecated. We
44- recommend using HTTP context providers, [MCP
45- Servers](/customize/deep-dives/mcp), and [Prompts](/customize/deep-dives/prompts)
46- where possible.
47-</Info>
48-
49-## How to Use CustomContextProvider
50-
51-Custom context providers can be implemented in a `config.ts` placed in your Continue global directory (`~/.continue` for MacOS, `%USERPROFILE%/.continue` for Windows). You can implement the `CustomContextProvider` interface in your `config.ts`
52-
53-```
54-interface CustomContextProvider { title: string; displayTitle?: string; description?: string; renderInlineAs?: string; type?: ContextProviderType; getContextItems( query: string, extras: ContextProviderExtras, ): Promise<ContextItem[]>; loadSubmenuItems?: ( args: LoadSubmenuItemsArgs, ) => Promise<ContextSubmenuItem[]>;}
55-```
56-
57-As an example, let's say you have a set of internal documents that have been indexed in a vector database. You've set up a simple REST API that allows internal users to query and get back relevant snippets. This context provider will send the query to this server and return the results from the vector database. The return type of `getContextItems` _must_ be an array of objects that have all of the following properties:
58-
59-- `name`: The name of the context item, which will be displayed as a title
60-- `description`: A longer description of the context item
61-- `content`: The actual content of the context item, which will be fed to the LLM as context
62-
63-\~/.continue/config.ts
64-
65-```
66-const RagContextProvider: CustomContextProvider = { title: "rag", displayTitle: "RAG", description: "Retrieve snippets from our vector database of internal documents", getContextItems: async ( query: string, extras: ContextProviderExtras, ): Promise<ContextItem[]> => { const response = await fetch("https://internal_rag_server.com/retrieve", { method: "POST", body: JSON.stringify({ query }), }); const results = await response.json(); return results.map((result) => ({ name: result.title, description: result.title, content: result.contents, })); },};
67-```
68-
69-It can then be added in `config.ts` like so:
70-
71-\~/.continue/config.ts
72-
73-```
74-export function modifyConfig(config: Config): Config { if (!config.contextProviders) { config.contextProviders = []; } config.contextProviders.push(RagContextProvider); return config;}
75-```
76-
77-This is automatically appended to your configuration.
78-
79-### How to Create Custom Context Providers with Submenu or Query
80-
81-There are 3 types of context providers: "normal", "query", and "submenu". The "normal" type is the default, and is what we've seen so far.
82-
83-The **"query"** type is used when you want to display a text box to the user, and then use the contents of that text box to generate the context items. Built-in examples include "search" and "google". This text is what gets passed to the "query" argument in `getContextItems`. To implement a "query" context provider, simply set `"type": "query"` in your custom context provider object.
84-
85-The **"submenu"** type is used when you want to display a list of searchable items in the dropdown. Built-in examples include "issue" and "folder". To implement a "submenu" context provider, set `"type": "submenu"` and implement the `loadSubmenuItems` and `getContextItems` functions. Here is an example that shows a list of all README files in the current workspace:
86-
87-\~/.continue/config.ts
88-
89-```
90-const ReadMeContextProvider: CustomContextProvider = { title: "readme", displayTitle: "README", description: "Reference README.md files in your workspace", type: "submenu", getContextItems: async ( query: string, extras: ContextProviderExtras, ): Promise<ContextItem[]> => { // 'query' is the filepath of the README selected from the dropdown const content = await extras.ide.readFile(query); return [ { name: getFolder(query), description: getFolderAndBasename(query), content, }, ]; }, loadSubmenuItems: async ( args: LoadSubmenuItemsArgs, ): Promise<ContextSubmenuItem[]> => { const { ide } = args; // Filter all workspace files for READMEs const workspaceDirs = await ide.getWorkspaceDirs(); const allFiles = await Promise.all( workspaceDirs.map((dir) => ide.subprocess(`find ${dir} -name "README.md"`), ), ); // 'readmes' now contains an array of file paths for each README.md file found in the workspace, // excluding those in 'node_modules' const readmes = allFiles .flatMap((mds) => mds[0].split("\n")) .filter((file) => file.trim() !== "" && !file.includes("/node_modules/")); // Return the items that will be shown in the dropdown return readmes.map((filepath) => { return { id: filepath, title: getFolder(filepath), description: getFolderAndBasename(filepath), }; }); },};export function modifyConfig(config: Config): Config { if (!config.contextProviders) { config.contextProviders = []; } config.contextProviders.push(ReadMeContextProvider); return config;}function getFolder(path: string): string { return path.split(/[\/\\]/g).slice(-2)[0];}function getFolderAndBasename(path: string): string { return path .split(/[\/\\]/g) .slice(-2) .join("/");}
91-```
92-
93-The flow of information in the above example is as follows:
94-
95-1. The user types `@readme` and selects it from the dropdown, now displaying the submenu where they can search for any item returned by `loadSubmenuItems`.
96-2. The user selects one of the READMEs in the submenu, enters the rest of their input, and presses enter.
97-3. The `id` of the chosen `ContextSubmenuItem` is passed to `getContextItems` as the `query` argument. In this case it is the filepath of the README.
98-4. The `getContextItems` function can then use the `query` to retrieve the full contents of the README and format the content before returning the context item which will be included in the prompt.
99-
100-### How to Import Outside Modules
101-
102-To include outside Node modules in your config.ts, run `npm install <module_name>` from the `~/.continue` directory, and then import them in config.ts.
103-
104-Continue will use [esbuild](https://esbuild.github.io/) to bundle your `config.ts` and any dependencies into a single Javascript file. The exact configuration used can be found [here](https://github.com/continuedev/continue/blob/5c9874400e223bbc9786a8823614a2e501fbdaf7/extensions/vscode/src/ideProtocol.ts#L45-L52).
105-
106-### `CustomContextProvider` Reference
107-
108-- `title`: An identifier for the context provider
109-
110-- `displayTitle` (optional): The title displayed in the dropdown
111-
112-- `description` (optional): The longer description displayed in the dropdown when hovered
113-
114-- `type` (optional): The type of context provider. Options are "normal", "query", and "submenu". Defaults to "normal".
115-
116-- `renderInlineAs` (optional): The string that will be rendered inline at the top of the prompt. If no value is provided, the `displayTitle` will be used. An empty string can be provided to prevent rendering the default `displayTitle`.
117-
118-- `getContextItems`: A function that returns the documents to include in the prompt. It should return a list of `ContextItem`s, and is given access to the following arguments:
119-
120- - `extras.fullInput`: A string representing the user's full input to the text box. This can be used for example to generate an embedding to compare against a set of other embedded documents
121- - `extras.embeddingsProvider`: The embeddings provider has an `embed` function that will convert text (such as `fullInput`) to an embedding
122- - `extras.llm`: The current default LLM, which you can use to make completion requests
123- - `extras.ide`: An instance of the `IDE` class, which lets you gather various sources of information from the IDE, including the contents of the terminal, the list of open files, or any warnings in the currently open file.
124- - `query`: (not currently used) A string representing the query
125-
126-- `loadSubmenuItems` (optional): A function that returns a list of `ContextSubmenuItem`s to display in a submenu. It is given access to an `IDE`, the same that is passed to `getContextItems`. .
127-
128-## How to Use Extension API for VSCode
129-
130-Continue exposes an API for registering context providers from a 3rd party VSCode extension. This is useful if you have a VSCode extension that provides some additional context that you would like to use in Continue. To use this API, add the following to your `package.json`:
131-
132-package.json
133-
134-```json
135-{ "extensionDependencies": ["continue.continue"] }
136-```
137-
138-Or install the Continue Core module from npm:
139-
140-```
141-npm i @continuedev/core
142-```
143-
144-You can add the Continue core module as a dev dependency in your `package.json`:
145-
146-package.json
147-
148-```json
149-{ "devDependencies": { "@continuedev/core": "^0.0.1" } }
150-```
151-
152-Then, you can use the `registerCustomContextProvider` function to register your context provider. Your custom context provider must implement the `IContextProvider` interface. Here is an example:
153-
154-myCustomContextProvider.ts
155-
156-```
157-import * as vscode from "vscode";import { IContextProvider, ContextProviderDescription, ContextProviderExtras, ContextItem, LoadSubmenuItemsArgs, ContextSubmenuItem,} from "@continuedev/core";class MyCustomProvider implements IContextProvider { get description(): ContextProviderDescription { return { title: "Custom", displayTitle: "Custom", description: "my custom context provider", type: "normal", }; } async getContextItems( query: string, extras: ContextProviderExtras, ): Promise<ContextItem[]> { return [ { name: "Custom", description: "Custom description", content: "Custom content", }, ]; } async loadSubmenuItems( args: LoadSubmenuItemsArgs, ): Promise<ContextSubmenuItem[]> { return []; }}// create an instance of your custom providerconst customProvider = new MyCustomProvider();// get Continue extension using vscode APIconst continueExt = vscode.extensions.getExtension("Continue.continue");// get the API from the extensionconst continueApi = continueExt?.exports;// register your custom providercontinueApi?.registerCustomContextProvider(customProvider);
158-```
159-
160-This will register `MyCustomProvider` with Continue!
161-
162-![alt text](/images/guides/images/image-8befb5162b7779402f70ff42bb589edb.png)
added docs/guides/codebase-documentation-awareness.mdx +183 −0
@@ -0,0 +1,183 @@
1+---
2+title: How to make your agent aware of codebases and documentation
3+description: Learn how to give your AI agent access to codebases and documentation for more context-aware assistance
4+keywords: [agent, codebase, documentation, MCP, context, RAG, tools]
5+---
6+
7+# How to make your agent aware of codebases and documentation
8+
9+AI coding agents work best when they understand the context of your project. This guide shows you how to give your agent access to codebases and documentation, making it more helpful and accurate.
10+
11+## Make your agent aware of your open codebase
12+
13+When your agent understands your current codebase, it can provide more relevant suggestions and answers.
14+
15+### Let your agent explore the codebase using tools
16+
17+Your agent can use built-in tools to navigate and understand your code:
18+
19+1. **File exploration tools**: The agent can read files, search for patterns, and understand project structure
20+2. **Code search**: Use search to find relevant code snippets
21+3. **Git integration**: Access commit history and understand code evolution
22+
23+### Create rules to help the agent understand your codebase
24+
25+Rules guide your agent's behavior and understanding. Place markdown files in `.continue/rules` in your project to provide context:
26+
27+```markdown
28+# Project Architecture
29+
30+This is a React application with:
31+- Components in `/src/components`
32+- API routes in `/src/api`
33+- State management using Redux in `/src/store`
34+
35+## Coding Standards
36+- Use TypeScript for all new files
37+- Follow the existing naming conventions
38+- Write tests for all new features
39+```
40+
41+<Tip>
42+ Place rules files at different levels of your project hierarchy to scope when they trigger
43+</Tip>
44+
45+Learn more about [rules configuration](/customize/deep-dives/rules).
46+
47+## Make your agent aware of other codebases
48+
49+Sometimes you need your agent to understand code beyond your current project.
50+
51+### Public codebases
52+
53+For open-source projects and public repositories, you have several options:
54+
55+#### Rules with hyperlinks
56+
57+Create rules that point to external codebases:
58+
59+```markdown
60+# External Dependencies
61+
62+Our authentication system is based on:
63+- [Auth.js documentation](https://authjs.dev/)
64+- [Example implementation](https://github.com/nextauthjs/next-auth-example)
65+
66+When implementing auth features, reference these patterns.
67+```
68+
69+#### GitHub and GitLab CLIs
70+
71+Enable `gh` or `glab` CLI access for your agent to interact with repositories.
72+
73+Add rules to guide CLI usage:
74+
75+```markdown
76+# Repository Access
77+
78+You can use the `gh` CLI to:
79+- Search for issues: `gh issue list --repo owner/repo`
80+- View pull requests: `gh pr list --repo owner/repo`
81+- Clone repositories: `gh repo clone owner/repo`
82+```
83+
84+#### DeepWiki MCP
85+
86+[DeepWiki MCP](https://hub.continue.dev/deepwiki/deepwiki-mcp) lets your agent explore any public GitHub repository.
87+```
88+
89+Once configured, your agent can explore repositories like:
90+- "Explore the React repository structure"
91+- "Find how authentication is implemented in NextAuth.js"
92+
93+### Internal codebases
94+
95+For private and internal repositories, you need additional setup:
96+
97+#### Custom MCP servers
98+
99+Create an MCP server that has access to your internal repositories.
100+
101+#### Custom code RAG
102+
103+For faster retrieval and lower costs with very large internal codebases, consider implementing a [custom code RAG](/guides/custom-code-rag) system. This is an advanced approach that requires more setup but can provide performance benefits at scale.
104+
105+## Make your agent aware of relevant documentation
106+
107+Documentation provides crucial context for your agent to understand APIs, frameworks, and best practices.
108+
109+### Public documentation
110+
111+#### Rules with documentation links
112+
113+Guide your agent to relevant documentation:
114+
115+```markdown
116+# Documentation Resources
117+
118+For framework-specific questions, refer to:
119+- React: https://react.dev/reference/react
120+- Next.js: https://nextjs.org/docs
121+- Tailwind CSS: https://tailwindcss.com/docs
122+
123+Always cite documentation when explaining concepts.
124+```
125+
126+#### Context7 MCP
127+
128+[Context7 MCP](https://hub.continue.dev/upstash/context7-mcp) enables your agent to search and retrieve information from public documentation:
129+
130+Your agent can then answer questions like:
131+- "How do I use React hooks?"
132+- "What's the syntax for Tailwind CSS animations?"
133+
134+### Internal documentation
135+
136+For private documentation and wikis:
137+
138+#### Rules with internal links
139+
140+Create rules that reference internal resources:
141+
142+```markdown
143+# Internal Documentation
144+
145+Our team documentation is available at:
146+- API Documentation: https://internal.docs/api
147+- Architecture Guide: https://internal.docs/architecture
148+- Deployment Process: https://internal.docs/deployment
149+
150+Always follow our internal standards when suggesting code.
151+```
152+
153+#### Custom MCP servers for docs
154+
155+Create an MCP server that accesses your internal documentation.
156+
157+## Migrating from deprecated context providers
158+
159+If you were previously using the `@Codebase` or `@Docs` context providers, here's how to migrate to the new approach:
160+
161+### Migrating from @Codebase
162+
163+The `@Codebase` context provider has been deprecated. Instead:
164+
165+1. **Use built-in tools**: Your agent can now use file exploration and search tools to understand your codebase
166+2. **Add rules**: Create `.continue/rules` files to provide context about your project structure
167+3. **Use MCP servers**: For external codebases, use DeepWiki MCP or custom MCP servers
168+
169+### Migrating from @Docs
170+
171+The `@Docs` context provider has been deprecated. Instead:
172+
173+1. **Use Context7 MCP**: For public documentation, Context7 MCP provides similar functionality
174+2. **Add documentation links in rules**: Create rules that reference documentation URLs
175+3. **Use custom MCP servers**: For internal documentation, create an MCP server with access to your docs
176+
177+The new approach provides better integration with Continue's Agent features and more intelligent context selection.
178+
179+## Next steps
180+
181+- Learn more about [MCP servers](/reference/continue-mcp)
182+- Explore [rules configuration](/customize/deep-dives/rules)
183+- Set up [custom assistants](/guides/understanding-assistants) with specific knowledge domains
No newline at the end of the file
modified docs/guides/custom-code-rag.mdx +83 −33
@@ -1,6 +1,7 @@
11 ---
22 title: "How to Build Custom Code RAG"
3-description: "Learn how to build a custom retrieval-augmented generation (RAG) system for code using vector databases like LanceDB, embeddings models like voyage-code-3, and chunking strategies for better code search and context"
3+description: "Build a custom retrieval-augmented generation (RAG) system for faster and more cost-efficient code search across large codebases. This guide is for advanced users who need to index code a single time across all users or include custom logic."
4+keywords: [RAG, vector database, embeddings, code search, MCP]
45 ---
56
67 ## Step 1: How to Choose an Embeddings Model
@@ -61,45 +62,94 @@
6162
6263 In the beginning, you should probably run it by hand. Once you are confident that your custom RAG is providing value and is ready for the long-term, then you can set up a cron job to run it periodically. Because codebases are largely unchanged in short time frames, you won't want to re-index more than once a day. Once per week or month is probably even sufficient.
6364
64-## Step 6: How to Set Up Your Server
65-
66-In order for the Continue extension to access your custom RAG system, you'll need to set up a server. This server is responsible for recieving a query from the extension, querying the vector database, and returning the results in the format expected by Continue.
67-
68-Here is a reference implementation using FastAPI that is capable of handling requests from Continue's "http" context provider.
69-
70-```
71-"""This is an example of a server that can be used with the "http" context provider."""from fastapi import FastAPIfrom pydantic import BaseModelclass ContextProviderInput(BaseModel): query: str fullInput: strapp = FastAPI()@app.post("/retrieve")async def create_item(item: ContextProviderInput): results = [] # TODO: Query your vector database here. # Construct the "context item" format expected by Continue context_items = [] for result in results: context_items.append({ "name": result.filename, "description": result.filename, "content": result.text, }) return context_items
65+## Step 6: How to set up an MCP server
66+
67+To integrate your custom RAG system with Continue, you'll create an MCP (Model Context Protocol) server. MCP provides a standardized way for AI tools to access external resources.
68+
69+### Create your MCP server
70+
71+Here's a reference implementation using Python that queries your vector database:
72+
73+```python
74+"""Custom RAG MCP server for code retrieval"""
75+import asyncio
76+from mcp.server import Server
77+from mcp.server.stdio import stdio_server
78+from mcp.types import Tool, TextContent
79+import lancedb
80+
81+# Initialize your vector database connection
82+db = lancedb.connect("/path/to/your/db")
83+table = db.open_table("code_chunks")
84+
85+app = Server("custom-rag-server")
86+
87+@app.tool()
88+async def search_codebase(query: str, limit: int = 10) -> list[TextContent]:
89+ """
90+ Search the codebase using vector similarity.
91+
92+ Args:
93+ query: The search query
94+ limit: Maximum number of results to return
95+ """
96+ # Query your vector database
97+ results = table.search(query).limit(limit).to_list()
98+
99+ # Format results for Continue
100+ formatted_results = []
101+ for result in results:
102+ formatted_results.append(TextContent(
103+ type="text",
104+ text=f"File: {result['filename']}\n\n{result['text']}"
105+ ))
106+
107+ return formatted_results
108+
109+@app.tool()
110+async def get_file_context(filename: str) -> list[TextContent]:
111+ """
112+ Get all chunks from a specific file.
113+
114+ Args:
115+ filename: The name of the file to retrieve
116+ """
117+ results = table.where(f"filename = '{filename}'").to_list()
118+
119+ return [TextContent(
120+ type="text",
121+ text="\n".join([r['text'] for r in results])
122+ )]
123+
124+if __name__ == "__main__":
125+ stdio_server(app).run()
72126 ```
73127
74-After you've set up your server, you can configure Continue to use it by adding the "http" context provider to your `contextProviders` array in your configuration:
75-
76-- YAML
77-- JSON
78-
79-config.yaml
80-
128+### Configure Continue to use your MCP server
129+
130+Add your MCP server to Continue's configuration:
131+
132+**config.yaml:**
133+```yaml
134+mcpServers:
135+ - name: custom-rag
136+ command: python
137+ args:
138+ - /path/to/your/mcp_server.py
139+ env:
140+ VOYAGE_API_KEY: ${VOYAGE_API_KEY}
81141 ```
82-context:
83- - provider: http
84- params:
85- url: https://myserver.com/retrieve
86- name: http
87- description: Custom HTTP Context Provider
88- displayTitle: My Custom Context
89-```
90-
91-config.json
92142
143+**config.json:**
93144 ```json
94145 {
95- "contextProviders": [
146+ "mcpServers": [
96147 {
97- "name": "http",
98- "params": {
99- "url": "https://myserver.com/retrieve",
100- "title": "http",
101- "description": "Custom HTTP Context Provider",
102- "displayTitle": "My Custom Context"
148+ "name": "custom-rag",
149+ "command": "python",
150+ "args": ["/path/to/your/mcp_server.py"],
151+ "env": {
152+ "VOYAGE_API_KEY": "${VOYAGE_API_KEY}"
103153 }
104154 }
105155 ]
deleted docs/guides/llama3.1.mdx +0 −228
@@ -1,228 +0,0 @@
1----
2-title: "How to Use Llama 3.1 with Continue"
3-description: "Learn how to set up and use Llama 3.1 models with Continue using Ollama, Groq, Together AI, Replicate, SambaNova, or Cerebras Inference for local and cloud-based development"
4----
5-
6-If you haven't already installed Continue, you can do that [here for VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) or [here for JetBrains](https://plugins.jetbrains.com/plugin/22707-continue). For more general information on customizing Continue, read [our customization docs](/customize/overview).
7-
8-Below we share some of the easiest ways to get up and running, depending on your use-case.
9-
10-## How to Use Llama 3.1 with Ollama
11-
12-Ollama is the fastest way to get up and running with local language models. We recommend trying Llama 3.1 8b, which is impressive for its size and will perform well on most hardware.
13-
14-1. Download Ollama [here](https://ollama.ai/) (it should walk you through the rest of these steps)
15-2. Open a terminal and run `ollama run llama3.1:8b`
16-3. Change your Continue config file like this:
17-
18-- YAML
19-- JSON
20-
21-config.yaml
22-
23-```
24-models:
25- - name: Llama 3.1 8b
26- provider: ollama
27- model: llama3.1-8b
28-```
29-
30-config.json
31-
32-```json
33-{
34- "models": [
35- { "title": "Llama 3.1 8b", "provider": "ollama", "model": "llama3.1-8b" }
36- ]
37-}
38-```
39-
40-## How to Use Llama 3.1 with Groq
41-
42-<Info>
43- Check if your chosen model is still supported by referring to the [model
44- documentation](https://console.groq.com/docs/models). If a model has been
45- deprecated, you may encounter a 404 error when attempting to use it.
46-</Info>
47-
48-Groq provides the fastest available inference for open-source language models, including the entire Llama 3.1 family.
49-
50-1. Obtain an API key [here](https://console.groq.com/keys)
51-2. Update your Continue config file like this:
52-
53-- YAML
54-- JSON
55-
56-config.yaml
57-
58-```
59-models:
60- - name: Llama 3.3 70b Versatile
61- provider: groq
62- model: llama-3.3-70b-versatile
63- apiKey: <YOUR_GROQ_API_KEY>
64-```
65-
66-config.json
67-
68-```json
69-{
70- "models": [
71- {
72- "title": "Llama 3.3 70b Versatile",
73- "provider": "groq",
74- "model": "llama-3.3-70b-versatile",
75- "apiKey": "<YOUR_GROQ_API_KEY>"
76- }
77- ]
78-}
79-```
80-
81-## How to Use Llama 3.1 with Together AI
82-
83-Together AI provides fast and reliable inference of open-source models. You'll be able to run the 405b model with good speed.
84-
85-1. Create an account [here](https://api.together.xyz/signup)
86-2. Copy your API key that appears on the welcome screen
87-3. Update your Continue config file like this:
88-
89-- YAML
90-- JSON
91-
92-config.yaml
93-
94-```
95-models:
96- - name: Llama 3.1 405b
97- provider: together
98- model: llama3.1-405b
99- apiKey: <YOUR_TOGETHER_API_KEY>
100-```
101-
102-config.json
103-
104-```json
105-{
106- "models": [
107- {
108- "title": "Llama 3.1 405b",
109- "provider": "together",
110- "model": "llama3.1-405b",
111- "apiKey": "<YOUR_TOGETHER_API_KEY>"
112- }
113- ]
114-}
115-```
116-
117-## How to Use Llama 3.1 with Replicate
118-
119-Replicate makes it easy to host and run open-source AI with an API.
120-
121-1. Get your Replicate API key [here](https://replicate.ai/)
122-2. Change your Continue config file like this:
123-
124-- YAML
125-- JSON
126-
127-config.yaml
128-
129-```
130-models:
131- - name: Llama 3.1 405b
132- provider: replicate
133- model: llama3.1-405b
134- apiKey: <YOUR_REPLICATE_API_KEY>
135-```
136-
137-config.json
138-
139-```json
140-{
141- "models": [
142- {
143- "title": "Llama 3.1 405b",
144- "provider": "replicate",
145- "model": "llama3.1-405b",
146- "apiKey": "<YOUR_REPLICATE_API_KEY>"
147- }
148- ]
149-}
150-```
151-
152-## How to Use Llama 3.1 with SambaNova
153-
154-SambaNova Cloud provides world record Llama3.1 70B/405B serving.
155-
156-1. Create an account [here](http://cloud.sambanova.ai?utm_source=continue&utm_medium=external&utm_campaign=cloud_signup)
157-2. Copy your API key
158-3. Update your Continue config file like this:
159-
160-- YAML
161-- JSON
162-
163-config.yaml
164-
165-```
166-models:
167- - name: SambaNova Llama 3.1 405B
168- provider: sambanova
169- model: llama3.1-405b
170- apiKey: <YOUR_SAMBA_API_KEY>
171-```
172-
173-config.json
174-
175-```json
176-{
177- "models": [
178- {
179- "title": "SambaNova Llama 3.1 405B",
180- "provider": "sambanova",
181- "model": "llama3.1-405b",
182- "apiKey": "<YOUR_SAMBA_API_KEY>"
183- }
184- ]
185-}
186-```
187-
188-## How to Use Llama 3.1 and 3.3 with Cerebras Inference
189-
190-<Info>
191- Check if your chosen model is still supported by referring to the [model
192- status](https://status.cerebras.ai/). If a model has been
193- deprecated, you may encounter a 404 error when attempting to use it.
194-</Info>
195-
196-Cerebras Inference uses specialized silicon to provides fast inference for the Llama3.1 8B and Llama3.3 70B.
197-
198-1. Create an account in the portal [here](https://cloud.cerebras.ai/).
199-2. Create and copy the API key for use in Continue.
200-3. Update your Continue config file:
201-
202-- YAML
203-- JSON
204-
205-config.yaml
206-
207-```
208-models:
209- - name: Cerebras Llama 3.3 70B
210- provider: cerebras
211- model: llama3.3-70b
212- apiKey: <YOUR_CEREBRAS_API_KEY>
213-```
214-
215-config.json
216-
217-```json
218-{
219- "models": [
220- {
221- "title": "Cerebras Llama 3.3 70B",
222- "provider": "cerebras",
223- "model": "llama3.3-70b",
224- "apiKey": "<YOUR_CEREBRAS_API_KEY>"
225- }
226- ]
227-}
228-```
modified docs/guides/overview.mdx +2 −4
@@ -6,15 +6,13 @@
66 ## What Model & Setup Guides Are Available
77
88 - [Using Ollama with Continue](/guides/ollama-guide) - Local AI development with Ollama
9-- [Setting up Codestral](/guides/set-up-codestral) - Configure Mistral's Codestral model
109 - [How to Self-Host a Model](/guides/how-to-self-host-a-model) - Self-hosting AI models
1110 - [Running Continue Without Internet](/guides/running-continue-without-internet) - Offline development setup
12-- [Llama 3.1 Setup](/guides/llama3.1) - Getting started with Llama 3.1
1311
1412 ## What Advanced Tutorials Are Available
1513
16-- [Build Your Own Context Provider](/guides/build-your-own-context-provider) - Create custom context providers
17-- [Custom Code RAG](/guides/custom-code-rag) - Implement custom retrieval-augmented generation
14+- [Codebase and Documentation Awareness](/guides/codebase-documentation-awareness) - Make your agent aware of codebases and documentation
15+- [Custom Code RAG](/guides/custom-code-rag) - Advanced: Build custom retrieval-augmented generation for large codebases
1816
1917 ## How to Contribute to Guides
2018
modified docs/guides/plan-mode-guide.mdx +0 −4
@@ -113,9 +113,6 @@
113113 | **Highlighted Code** | `cmd/ctrl + L` (VS Code) or `cmd/ctrl + J` (JetBrains) | Component-specific analysis |
114114 | **Active File** | `opt/alt + enter` when sending request | Current file context |
115115 | **@Files** | `@Files package.json tsconfig.json` | Specific file analysis |
116-| **@Folder** | `@Folder src/auth` | Directory-wide planning |
117-| **@Codebase** | `@Codebase` | Comprehensive system analysis |
118-| **@Docs** | `@Docs React Router` | Standards-compliant planning |
119116 | **@Terminal** | `@Terminal` | Debugging with output |
120117 | **@Git Diff** | `@Git Diff` | Change impact analysis |
121118
@@ -275,7 +272,6 @@
275272 **Remember:**
276273
277274 - Choose the right mode for each task
278-- Leverage context providers (@Codebase, @Files, @Docs, etc.) for better planning
279275 - Start broad, then focus your planning sessions for better results
280276 - Transition to Agent mode with clear execution steps
281277
modified docs/guides/running-continue-without-internet.mdx +2 −2
@@ -4,6 +4,6 @@
44 ---
55
66 1. Download the latest .vsix file from the [Open VSX Registry](https://open-vsx.org/extension/Continue/continue) and [install it to VS Code](https://code.visualstudio.com/docs/editor/extension-marketplace#_install-from-a-vsix).
7-2. Open the [User Settings Page](/customize/settings) and turn off "Allow Anonymous Telemetry". This will stop Continue from attempting requests to PostHog for [anonymous telemetry](/customize/telemetry).
8-3. Also in `config.json`, set the default model to a local model. You can find available options [here](/customize/model-providers/overview).
7+2. Turn off "Allow Anonymous Telemetry" in the user settings. This will stop Continue from attempting requests to PostHog for [anonymous telemetry](/customize/telemetry).
8+3. Also in `config.json`, set the default model to a local model. You can available options [here](/customization/models#openai).
99 4. Restart VS Code to ensure that the changes to `config.json` or `config.yaml` take effect.
deleted docs/guides/set-up-codestral.mdx +0 −58
@@ -1,58 +0,0 @@
1----
2-title: "How to Set Up Codestral"
3-description: "Step-by-step guide for configuring Mistral's Codestral model with Continue for both chat and autocomplete functionality using your Mistral AI API key"
4----
5-
6-**Here is a step-by-step guide on how to set up Codestral with Continue using the Mistral AI API:**
7-
8-1. Install the Continue VS Code or JetBrains extension following the instructions [here](/getting-started/install)
9-
10-2. Click on the gear icon in the bottom right corner of the Continue window to open `~/.continue/config.json` (MacOS) / `%userprofile%\.continue\config.json` (Windows)
11-
12-3. Log in and create an API key on Mistral AI's La Plateforme [here](https://console.mistral.ai/codestral). Make sure you get an API key from the "Codestral" page.
13-
14-4. To use Codestral as your model for both `autocomplete` and `chat`, insert your Mistral API key below and add it to your configuration file:
15-
16-- YAML
17-- JSON
18-
19-config.yaml
20-
21-```
22-models:
23- - name: Codestral
24- provider: mistral
25- model: codestral-latest
26- apiKey: <YOUR_CODESTRAL_API_KEY>
27- apiBase: https://codestral.mistral.ai/v1
28- roles:
29- - chat
30- - autocomplete
31-```
32-
33-config.json
34-
35-```json
36-{
37- "models": [
38- {
39- "title": "Codestral",
40- "provider": "mistral",
41- "model": "codestral-latest",
42- "apiKey": "<YOUR_CODESTRAL_API_KEY>",
43- "apiBase": "https://codestral.mistral.ai/v1"
44- }
45- ],
46- "tabAutocompleteModel": [
47- {
48- "title": "Codestral",
49- "provider": "mistral",
50- "model": "codestral-latest",
51- "apiKey": "<YOUR_CODESTRAL_API_KEY>",
52- "apiBase": "https://codestral.mistral.ai/v1"
53- }
54- ]
55-}
56-```
57-
58-5. If you run into any issues or have any questions, please join our Discord and post in the `#help` channel [here](https://discord.gg/EfJEfdFnDQ)
modified docs/hub/blocks/block-types.mdx +2 −16
@@ -1,7 +1,7 @@
11 ---
2-title: "Block Types in Continue Hub: Models, Context Providers, Prompts, and More"
2+title: "Blocks: Models, Rules, Prompts, and MCP servers"
33 sideBarTitle: "Block Types"
4-description: "Explore the different types of reusable blocks in Continue Hub including models, context providers, documentation, MCP servers, rules, prompts, and data components"
4+description: "Explore the different types of reusable blocks in Continue Hub including models, MCP servers, rules, and prompts"
55 ---
66
77 ## Models
@@ -10,17 +10,7 @@
1010
1111 Continue supports [many model providers](/customize/model-providers), including Anthropic, OpenAI, Gemini, Ollama, Amazon Bedrock, Azure, xAI, DeepSeek, and more. Models can have one or more of the following roles depending on its capabilities, including `chat`, `edit`, `apply`, `autocomplete`, `embed`, and `rerank`. Read more about roles [here](/customize/model-roles). View [`models`](/reference#models) in the YAML Reference for more details.
1212
13-## Context
1413
15-Context blocks define a context provider which can be referenced in Chat with `@` to pull in data from external sources such as files and folders, a URL, Jira or Confluence, and GitHub issues, among others. [Explore context provider blocks](https://hub.continue.dev/explore/context) on the hub.
16-
17-Learn more about context providers [here](/reference#context), and check out [this guide](/guides/build-your-own-context-provider) to creating your own custom context provider. The `config.yaml` spec for context can be found [`here`](/reference#context).
18-
19-## Docs
20-
21-Docs are blocks that point to documentation sites, which will be indexed locally and then can be referenced as context using @Docs in Chat. [Explore docs](https://hub.continue.dev/explore/docs) on the hub.
22-
23-Learn more in the [@Docs context provider documentation](/customize/context/documentation), and view [`docs`](/reference#docs) in the YAML Reference for more details.
2414
2515 ## MCP Servers
2616
@@ -41,8 +31,4 @@
4131 Prompt blocks are pre-written, reusable prompts that can be referenced at any time during chat. They are especially useful as context for repetitive and/or complex tasks. [Explore prompts](https://hub.continue.dev/explore/prompts) on the hub.
4232 Prompt blocks have the same syntax as [prompt files](/customize/deep-dives/prompts). The `config.yaml` spec for `prompts` can be found [here](/reference#prompts).
4333
44-## Data
45-
46-Data blocks allow you send your development data to custom destinations of your choice. Development data can be used for a variety of purposes, including analyzing usage, gathering insights, or fine-tuning models. You can read more about development data [here](/customize/overview#development-data). Explore data block examples [here](https://hub.continue.dev/explore/data).
4734
48-Data destinations are configured in the [`data`](/reference#data) section of `config.yaml`.
deleted docs/hub/blocks/bundles.mdx +0 −33
@@ -1,33 +0,0 @@
1----
2-title: "Bundles"
3-description: "Bundles are collections of blocks that are commonly used together. You can use them to add multiple building blocks to your custom AI code assistants at once. They are only a concept on , so they are not represented in ."
4----
5-
6-## How to Use a Bundle
7-
8-Once you know which bundle you want to use, you’ll need to:
9-
10-1. Make sure the correct assistant is in the sidebar
11-2. Click “Add all blocks". This adds the individual blocks to your assistant.
12-3. Add any required inputs (e.g. secrets) for each block.
13-4. Select “Save changes” in assistant sidebar on the right hand side
14-
15-After this, you can then go to your IDE extension using the "Open VS Code" or "Open Jetbrains" buttons and begin using the new blocks.
16-
17-## How to Create a Bundle
18-
19-To create a bundle, click “New bundle” in the header.
20-
21-![New bundle button](/images/hub/blocks/images/bundle-new-button-4e6ae842500100fffeff8b39f74728f0.png)
22-
23-Choose a name, slug, description, and visibility for your bundle.
24-
25-Then, search blocks using the "Search blocks" input and add them to your bundle.
26-
27-![Create bundle page](/images/hub/blocks/images/bundle-create-page-51dc9d72652c6675edb2e2a085db16a1.png)
28-
29-Once you have added all the blocks you want in your bundle, click "Create Bundle" to save it and make it available for use.
30-
31-## How to Remix a Bundle
32-
33-It is not currently possible to remix a bundle.
modified docs/hub/blocks/intro.mdx +2 −2
@@ -1,6 +1,6 @@
11 ---
2-title: "Introduction to Continue Blocks"
3-description: "Blocks are the components you use to build a custom AI code assistant. These include models, prompts, tools, context, and more."
2+title: "Introduction"
3+description: "Blocks are the components you use to build a custom AI code assistant. These include Models, MCP Servers, Rules, and Prompts."
44 ---
55
66 Blocks follow the [`config.yaml`](/reference) format. When combined with other blocks into a complete `config.yaml`, they form a custom AI code assistant.
modified docs/hub/introduction.mdx +8 −3
@@ -3,8 +3,13 @@
33 description: "Continue Hub provides a central registry for creating, managing, and sharing AI coding assistants and their reusable building blocks with organization-level governance and configuration"
44 ---
55
6-[Continue Hub](https://hub.continue.dev) makes it simple to create custom AI code [assistants](/hub/assistants/intro), providing a registry for defining, managing, and sharing assistant [building blocks](/hub/blocks/intro).
6+[Continue Hub](https://hub.continue.dev) is the place to discover, configure, and govern the models, rules, and MCP tools you need to create a custom AI coding agent.
77
8-Assistants can contain several types of blocks, including [models](/hub/blocks/block-types#models), [rules](/hub/blocks/block-types#rules), [context providers](/hub/blocks/block-types#context), [prompts](/hub/blocks/block-types#prompts), [docs](/hub/blocks/block-types#docs), [data destinations](/hub/blocks/block-types#data), and [MCP servers](/hub/blocks/block-types#mcp-servers).
8+Continue Hub provides a centralized platform for managing the essential building blocks of your AI coding workflow:
99
10-Continue Hub also makes it easy for engineering leaders to centrally [configure](/hub/secrets/secret-types) and [govern](/hub/governance/org-permissions) blocks and assistants for their organization.
10+- **[Models](/hub/blocks/block-types#models)**: Discover and configure models from various providers
11+- **[MCP Tools](/hub/blocks/block-types#mcp-servers)**: Access and integrate Model Context Protocol tools to retrieve real-time data and take action
12+- **[Rules](/hub/blocks/block-types#rules)**: Define custom guidelines for your custom AI coding agent to follow
13+- **[Prompts](/hub/blocks/block-types#prompts)**: Create and share reusable prompts that kickoff your custom AI coding agent
14+
15+Continue Hub also makes it easy for engineering leaders to centrally [configure](/hub/secrets/secret-types) and [govern](/hub/governance/org-permissions) these resources for their organization.
No newline at the end of the file
modified docs/reference.mdx +1 −11
@@ -299,7 +299,7 @@
299299
300300 The `context` section defines context providers, which supply additional information or context to the language models. Each context provider can be configured with specific parameters.
301301
302-More information about usage/params for each context provider can be found [here](/customize/custom-providers)
302+More information about usage/params for each context provider can be found [here](/customize/deep-dives/custom-providers)
303303
304304 **Properties:**
305305
@@ -313,16 +313,11 @@
313313 context:
314314 - provider: file
315315 - provider: code
316- - provider: codebase
317- params:
318- nFinal: 10
319- - provider: docs
320316 - provider: diff
321317 - provider: http
322318 name: Context Server 1
323319 params:
324320 url: "https://api.example.com/server1"
325- - provider: folder
326321 - provider: terminal
327322 ```
328323
@@ -512,12 +507,7 @@
512507 context:
513508 - provider: diff
514509 - provider: file
515- - provider: codebase
516510 - provider: code
517- - provider: docs
518- params:
519- startUrl: https://docs.example.com/introduction
520- rootUrl: https://docs.example.com
521511 mcpServers:
522512 - name: DevServer
523513 command: npm
added docs/reference/deprecated-codebase.mdx +116 −0
@@ -0,0 +1,116 @@
1+---
2+title: "@Codebase (Deprecated)"
3+description: Deprecated codebase context provider - use the new codebase awareness approach instead
4+keywords: [deprecated, codebase, embeddings, context, legacy]
5+noindex: true
6+---
7+
8+<Warning>
9+ **This feature is deprecated.** The `@Codebase` context provider has been deprecated in favor of a more integrated approach to codebase awareness. Please refer to our [Guide on Making Agents Aware of Codebases and Documentation](/guides/codebase-documentation-awareness) for the recommended approach.
10+</Warning>
11+
12+## Migration Guide
13+
14+If you're currently using `@Codebase` or `@Folder` context providers, please migrate to the new approach outlined in our [codebase and documentation awareness guide](/guides/codebase-documentation-awareness). The new approach provides:
15+
16+- Better integration with Continue's Agent features
17+- More intelligent context selection
18+- Improved performance and accuracy
19+
20+## Legacy Documentation
21+
22+*Below is the original documentation for the `@Codebase` context provider, preserved for reference*
23+
24+Continue indexes your codebase so that it can later automatically pull in the most relevant context from throughout your workspace. This is done via a combination of embeddings-based retrieval and keyword search. By default, all embeddings are calculated locally using `transformers.js` and stored locally in `~/.continue/index`.
25+
26+<Info>
27+ **Note:** `transformers.js` cannot be used in JetBrains IDEs. However, you can
28+ select a different embeddings model from [the list
29+ here](../customize/model-roles/embeddings).
30+</Info>
31+
32+## How to Use @Codebase and @Folder Context Providers
33+
34+Currently, the codebase retrieval feature is available as the "codebase" and "folder" context providers. You can use them by typing `@Codebase` or `@Folder` in the input box, and then asking a question. The contents of the input box will be compared with the embeddings from the rest of the codebase (or folder) to determine relevant files.
35+
36+### When @Codebase Context Provider Is Useful
37+
38+Here are some common use cases where it can be useful:
39+
40+- **Asking high-level questions about your codebase**
41+ - "How do I add a new endpoint to the server?"
42+ - "Do we use VS Code's CodeLens feature anywhere?"
43+ - "Is there any code written already to convert HTML to markdown?"
44+- **Generate code using existing samples as reference**
45+ - "Generate a new React component with a date picker, using the same patterns as existing components"
46+ - "Write a draft of a CLI application for this project using Python's argparse"
47+ - "Implement the `foo` method in the `bar` class, following the patterns seen in other subclasses of `baz`.
48+- **Use `@Folder` to ask questions about a specific folder, increasing the likelihood of relevant results**
49+ - "What is the main purpose of this folder?"
50+ - "How do we use VS Code's CodeLens API?"
51+ - Or any of the above examples, but with `@Folder` instead of `@Codebase`
52+
53+### When @Codebase Context Provider Is Not Useful
54+
55+Here are use cases where it is not useful:
56+
57+- **When you need the LLM to see _literally every_ file in your codebase**
58+ - "Find everywhere where the `foo` function is called"
59+ - "Review our codebase and find any spelling mistakes"
60+- **Refactoring tasks**
61+ - "Add a new parameter to the `bar` function and update usages"
62+
63+## How to Configure @Codebase Context Provider Settings
64+
65+There are a few options that let you configure the behavior of the `@codebase` context provider, which are the same for the `@folder` context provider:
66+
67+<Tabs>
68+ <Tab title="YAML">
69+ ```yaml title="config.yaml"
70+ context:
71+ - provider: codebase
72+ params:
73+ nRetrieve: 25
74+ nFinal: 5
75+ useReranking: true
76+ ```
77+ </Tab>
78+ <Tab title="JSON">
79+ ```json title="config.json"
80+ {
81+ "contextProviders": [
82+ {
83+ "name": "codebase",
84+ "params": {
85+ "nRetrieve": 25,
86+ "nFinal": 5,
87+ "useReranking": true
88+ }
89+ }
90+ ]
91+ }
92+ ```
93+ </Tab>
94+</Tabs>
95+
96+### `nRetrieve`
97+
98+Number of results to initially retrieve from vector database (default: 25)
99+
100+### `nFinal`
101+
102+Final number of results to use after re-ranking (default: 5)
103+
104+### `useReranking`
105+
106+Whether to use re-ranking, which will allow initial selection of `nRetrieve` results, then will use an LLM to select the top `nFinal` results (default: true)
107+
108+## How to Ignore Files During Indexing
109+
110+Continue respects `.gitignore` files in order to determine which files should not be indexed. If you'd like to exclude additional files, you can add them to a `.continueignore` file, which follows the exact same rules as `.gitignore`.
111+
112+Continue also supports a **global** `.continueignore` file that will be respected for all workspaces, which can be created at `~/.continue/.continueignore`.
113+
114+If you want to see exactly what files Continue has indexed, the metadata is stored in `~/.continue/index/index.sqlite`. You can use a tool like [DB Browser for SQLite](https://sqlitebrowser.org/) to view the `tag_catalog` table within this file.
115+
116+If you need to force a refresh of the index, reload the VS Code window with <kbd>cmd/ctrl</kbd> + <kbd>shift</kbd> + <kbd>p</kbd> + "Reload Window".
No newline at the end of the file
added docs/reference/deprecated-context-providers.mdx +448 −0
@@ -0,0 +1,448 @@
1+---
2+title: "Context Providers (Deprecated)"
3+description: "These context providers have been deprecated and are no longer actively maintained. They remain documented here for reference purposes only."
4+noindex: true
5+---
6+
7+<Warning>
8+The context providers documented on this page have been deprecated and are no longer actively maintained. We recommend using alternative solutions or the Model Context Protocol (MCP) for similar functionality. These providers may be removed in future versions.
9+</Warning>
10+
11+## Deprecated Providers
12+
13+The following context providers have been deprecated but are kept here for reference. If you're currently using any of these providers, consider migrating to alternative solutions.
14+
15+### `@Greptile`
16+
17+Query a [Greptile](https://www.greptile.com/) index of the current repo/branch.
18+
19+<Tabs>
20+ <Tab title="YAML">
21+ ```yaml config.yaml
22+ context:
23+ - provider: greptile
24+ params:
25+ greptileToken: "..."
26+ githubToken: "..."
27+ ```
28+ </Tab>
29+ <Tab title="JSON">
30+ ```json config.json
31+ {
32+ "contextProviders": [
33+ {
34+ "name": "greptile",
35+ "params": { "GreptileToken": "...", "GithubToken": "..." }
36+ }
37+ ]
38+ }
39+```
40+ </Tab>
41+</Tabs>
42+
43+### `@Commits`
44+
45+Reference specific git commit metadata and diff or all of the recent commits.
46+
47+<Tabs>
48+ <Tab title="YAML">
49+ ```yaml config.yaml
50+ context:
51+ - provider: commit
52+ params:
53+ Depth: 50
54+ LastXCommitsDepth: 10
55+ ```
56+ </Tab>
57+ <Tab title="JSON">
58+ ```json config.json
59+ {
60+ "contextProviders": [
61+ { "name": "commit", "params": { "Depth": 50, "LastXCommitsDepth": 10 } }
62+ ]
63+ }
64+ ```
65+ </Tab>
66+</Tabs>
67+
68+The depth is how many commits will be loaded into the submenu, defaults to 50. The LastXCommitsDepth is how many recent commits will be included, defaults to 10.
69+
70+### `@Discord`
71+
72+Reference the messages in a Discord channel.
73+
74+<Tabs>
75+ <Tab title="YAML">
76+ ```yaml config.yaml
77+ context:
78+ - provider: discord
79+ params:
80+ discordKey: "bot token"
81+ guildId: "1234567890"
82+ channels:
83+ - id: "123456"
84+ name: "example-channel"
85+ - id: "678901"
86+ name: "example-channel-2"
87+ ```
88+ </Tab>
89+ <Tab title="JSON">
90+ ```json config.json
91+ {
92+ "contextProviders": [
93+ {
94+ "name": "discord",
95+ "params": {
96+ "discordKey": "bot token",
97+ "guildId": "1234567890",
98+ "channels": [
99+ { "id": "123456", "name": "example-channel" },
100+ { "id": "678901", "name": "example-channel-2" }
101+ ]
102+ }
103+ }
104+ ]
105+ }
106+```
107+ </Tab>
108+</Tabs>
109+
110+Make sure to include your own [Bot Token](https://discord.com/developers/applications), and join it to your related server . If you want more granular control over which channels are searched, you can specify a list of channel IDs to search in. If you don't want to specify any channels, just include the guild id(Server ID) and all channels will be included. The provider only reads text channels.
111+
112+### `@Jira`
113+
114+Reference the conversation in a Jira issue.
115+
116+<Tabs>
117+ <Tab title="YAML">
118+ ```yaml config.yaml
119+ context:
120+ - provider: jira
121+ params:
122+ domain: company.atlassian.net
123+ token: ATATT...
124+ ```
125+ </Tab>
126+ <Tab title="JSON">
127+ ```json config.json
128+ {
129+ "contextProviders": [
130+ {
131+ "name": "jira",
132+ "params": { "domain": "company.atlassian.net", "token": "ATATT..." }
133+ }
134+ ]
135+ }
136+```
137+ </Tab>
138+</Tabs>
139+
140+Make sure to include your own [Atlassian API Token](https://id.atlassian.com/manage-profile/security/api-tokens), or use your `email` and `token`, with token set to your password for basic authentication. If you use your own Atlassian API Token, don't configure your email.
141+
142+#### Jira Datacenter Support
143+
144+This context provider supports both Jira API version 2 and 3. It will use version 3 by default since that's what the cloud version uses, but if you have the datacenter version of Jira, you'll need to set the API Version to 2 using the `apiVersion` property.
145+
146+<Tabs>
147+ <Tab title="YAML">
148+ ```yaml config.yaml
149+ context:
150+ - provider: jira
151+ params:
152+ apiVersion: "2"
153+ ```
154+ </Tab>
155+ <Tab title="JSON">
156+ ```json config.json
157+ { "contextProviders": [{ "name": "jira", "params": { "apiVersion": "2" } }] }
158+ ```
159+ </Tab>
160+</Tabs>
161+
162+#### Issue Query
163+
164+By default, the following query will be used to find issues:
165+
166+```
167+assignee = currentUser() AND resolution = Unresolved order by updated DESC
168+```
169+
170+You can override this query by setting the `issueQuery` parameter.
171+
172+#### Max results
173+
174+You can set the `maxResults` parameter to limit the number of results returned. The default is `50`.
175+
176+### `@Gitlab Merge Request`
177+
178+Reference an open MR for this branch on GitLab.
179+
180+<Tabs>
181+ <Tab title="YAML">
182+ ```yaml config.yaml
183+ context:
184+ - provider: gitlab-mr
185+ params:
186+ token: "..."
187+ ```
188+ </Tab>
189+ <Tab title="JSON">
190+ ```json config.json
191+ { "contextProviders": [{ "name": "gitlab-mr", "params": { "token": "..." } }] }
192+ ```
193+ </Tab>
194+</Tabs>
195+
196+You will need to create a [personal access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) with the `read_api` scope.
197+
198+#### Using Self-Hosted GitLab
199+
200+You can specify the domain to communicate with by setting the `domain` parameter in your configurtion. By default this is set to `gitlab.com`.
201+
202+<Tabs>
203+ <Tab title="YAML">
204+ ```yaml config.yaml
205+ context:
206+ - provider: gitlab-mr
207+ params:
208+ token: "..."
209+ domain: "gitlab.example.com"
210+ ```
211+ </Tab>
212+ <Tab title="JSON">
213+ ```json config.json
214+ {
215+ "contextProviders": [
216+ {
217+ "name": "gitlab-mr",
218+ "params": { "token": "...", "domain": "gitlab.example.com" }
219+ }
220+ ]
221+ }
222+```
223+ </Tab>
224+</Tabs>
225+
226+#### Filtering Comments
227+
228+If you select some code to be edited, you can have the context provider filter out comments for other files. To enable this feature, set `filterComments` to `true`.
229+
230+### `@Google`
231+
232+Reference the results of a Google search.
233+
234+<Tabs>
235+ <Tab title="YAML">
236+ ```yaml config.yaml
237+ context:
238+ - provider: google
239+ params:
240+ serperApiKey: <YOUR_SERPER.DEV_API_KEY>
241+ ```
242+ </Tab>
243+ <Tab title="JSON">
244+ ```json config.json
245+ {
246+ "contextProviders": [
247+ {
248+ "name": "google",
249+ "params": { "serperApiKey": "<YOUR_SERPER.DEV_API_KEY>" }
250+ }
251+ ]
252+ }
253+```
254+ </Tab>
255+</Tabs>
256+
257+For example, type "@Google python tutorial" if you want to search and discuss ways of learning Python.
258+
259+Note: You can get an API key for free at [serper.dev](https://serper.dev).
260+
261+### @Database Context Provider – Reference Database Table Schemas
262+
263+Reference table schemas from Sqlite, Postgres, MSSQL, and MySQL databases.
264+
265+<Tabs>
266+ <Tab title="YAML">
267+ ```yaml config.yaml
268+ context:
269+ - provider: database
270+ params:
271+ connections:
272+ - name: examplePostgres
273+ connection_type: postgres
274+ connection:
275+ user: username
276+ host: localhost
277+ database: exampleDB
278+ password: yourPassword
279+ port: 5432
280+ - name: exampleMssql
281+ connection_type: mssql
282+ connection:
283+ user: username
284+ server: localhost
285+ database: exampleDB
286+ password: yourPassword
287+ - name: exampleSqlite
288+ connection_type: sqlite
289+ connection:
290+ filename: /path/to/your/sqlite/database.db
291+ ```
292+ </Tab>
293+ <Tab title="JSON">
294+ ```json config.json
295+ {
296+ "contextProviders": [
297+ {
298+ "name": "database",
299+ "params": {
300+ "connections": [
301+ {
302+ "name": "examplePostgres",
303+ "connection_type": "postgres",
304+ "connection": {
305+ "user": "username",
306+ "host": "localhost",
307+ "database": "exampleDB",
308+ "password": "yourPassword",
309+ "port": 5432
310+ }
311+ },
312+ {
313+ "name": "exampleMssql",
314+ "connection_type": "mssql",
315+ "connection": {
316+ "user": "username",
317+ "server": "localhost",
318+ "database": "exampleDB",
319+ "password": "yourPassword"
320+ }
321+ },
322+ {
323+ "name": "exampleSqlite",
324+ "connection_type": "sqlite",
325+ "connection": { "filename": "/path/to/your/sqlite/database.db" }
326+ }
327+ ]
328+ }
329+ }
330+ ]
331+ }
332+```
333+ </Tab>
334+</Tabs>
335+
336+Each connection should include a unique name, the `connection_type`, and the necessary connection parameters specific to each database type.
337+
338+Available connection types:
339+
340+- `postgres`
341+- `mysql`
342+- `sqlite`
343+
344+### `@Issue`
345+
346+Reference the conversation in a GitHub issue.
347+
348+<Tabs>
349+ <Tab title="YAML">
350+ ```yaml config.yaml
351+ context:
352+ - provider: issue
353+ params:
354+ repos:
355+ - owner: continuedev
356+ repo: continue
357+ githubToken: ghp_xxx
358+ ```
359+ </Tab>
360+ <Tab title="JSON">
361+ ```json config.json
362+ {
363+ "contextProviders": [
364+ {
365+ "name": "issue",
366+ "params": {
367+ "repos": [{ "owner": "continuedev", "repo": "continue" }],
368+ "githubToken": "ghp_xxx"
369+ }
370+ }
371+ ]
372+ }
373+```
374+ </Tab>
375+</Tabs>
376+
377+Make sure to include your own [GitHub personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token) to avoid being rate-limited.
378+
379+### `@Url`
380+
381+Reference the markdown converted contents of a given URL.
382+
383+<Tabs>
384+ <Tab title="YAML">
385+ ```yaml config.yaml
386+ context:
387+ - provider: url
388+ ```
389+ </Tab>
390+ <Tab title="JSON">
391+ ```json config.json
392+ { "contextProviders": [{ "name": "url" }] }
393+ ```
394+ </Tab>
395+</Tabs>
396+
397+### `@Search`
398+
399+Reference the results of codebase search, just like the results you would get from VS Code search.
400+
401+<Tabs>
402+ <Tab title="YAML">
403+ ```yaml config.yaml
404+ context:
405+ - provider: search
406+ params:
407+ maxResults: 100 # optional, defaults to 200
408+ ```
409+ </Tab>
410+ <Tab title="JSON">
411+ ```json config.json
412+ {
413+ "contextProviders": [
414+ {
415+ "name": "search",
416+ "params": {
417+ "maxResults": 100 // optional, defaults to 200
418+ }
419+ }
420+ ]
421+ }
422+ ```
423+ </Tab>
424+</Tabs>
425+
426+This context provider is powered by [ripgrep](https://github.com/BurntSushi/ripgrep).
427+
428+### `@Web`
429+
430+Reference relevant pages from across the web, automatically determined from your input.
431+
432+Optionally, set `n` to limit the number of results returned (default 6).
433+
434+<Tabs>
435+ <Tab title="YAML">
436+ ```yaml config.yaml
437+ context:
438+ - provider: web
439+ params:
440+ n: 5
441+ ```
442+ </Tab>
443+ <Tab title="JSON">
444+ ```json config.json
445+ { "contextProviders": [{ "name": "web", "params": { "n": 5 } }] }
446+ ```
447+ </Tab>
448+</Tabs>
added docs/reference/deprecated-docs.mdx +411 −0
@@ -0,0 +1,411 @@
1+---
2+title: "@Docs (Deprecated)"
3+description: Deprecated documentation context provider - use the new documentation awareness approach instead
4+keywords: [deprecated, documentation, docs, context, embeddings, legacy]
5+noindex: true
6+---
7+
8+<Warning>
9+ **This feature is deprecated.** The `@Docs` context provider has been deprecated in favor of a more integrated approach to documentation awareness. Please refer to our [Guide on Making Agents Aware of Codebases and Documentation](/guides/codebase-documentation-awareness) for the recommended approach.
10+</Warning>
11+
12+## Migration Guide
13+
14+If you're currently using the `@Docs` context provider, please migrate to the new approach outlined in our [codebase and documentation awareness guide](/guides/codebase-documentation-awareness). The new approach provides:
15+
16+- Better integration with Continue's Agent features
17+- More intelligent context selection
18+- Improved performance and accuracy
19+
20+## Legacy Documentation
21+
22+**Below is the original documentation for the `@Docs` context provider, preserved for reference**
23+
24+The `@Docs` context provider allows you to efficiently reference documentation directly within Continue.
25+
26+## How to Enable the @Docs Context Provider
27+
28+To enable the `@Docs` context provider, add it to the list of context providers in your `config.json` file.
29+
30+<Tabs>
31+ <Tab title="YAML">
32+ ```yaml title="config.yaml"
33+ context:
34+ - provider: docs
35+ ```
36+ </Tab>
37+ <Tab title="JSON">
38+ ```json title="config.json"
39+ {
40+ "contextProviders": [
41+ {
42+ "name": "docs"
43+ }
44+ ]
45+ }
46+ ```
47+ </Tab>
48+</Tabs>
49+
50+## How the @Docs Context Provider Works
51+
52+The `@Docs` context provider works by
53+
54+1. Crawling specified documentation sites
55+2. Generating embeddings for the chunked content
56+3. Storing the embeddings locally on your machine
57+4. Embedding chat input to include similar documentation chunks as context
58+
59+## How to Index Your Own Documentation
60+
61+**Note:** Documentation configuration should now be done directly in your `config.yaml` file. The previous `docs` blocks functionality has been deprecated.
62+
63+### How to Add Documentation Through the @Docs Context Provider
64+
65+To add a single documentation site, we recommend using the **Add Documentation** Form within the GUI. This can be accessed
66+
67+- from the `@Docs` context provider - type `@Docs` in the chat, hit `Enter`, and search for `Add Docs`
68+- from the `More` page (three dots icon) in the `@docs indexes` section
69+ the `@Docs` context provider.
70+
71+In the **Add Documentation** Form, enter a `Title` and `Start URL` for the site.
72+
73+- `Title`: The name of the documentation site, used for identification in the UI.
74+- `Start URL`: The URL where the indexing process should begin.
75+
76+Indexing will begin upon submission. Progress can be viewed in the form or later in the `@docs indexes` section of the `More` page.
77+
78+Documentation sources may be suggested based on package files in your repo. This currently works for Python `requirements.txt` files and Node.js (Javascript/Typescript) `package.json` files.
79+
80+- Packages with a valid documentation URL (with a `+` icon) can be clicked to immediately kick off indexing
81+- Packages with partial information (with a pen icon) can be clicked to fill the form with the available information
82+- Note that you can hover over the information icon to see where the package suggestion was found.
83+
84+![Add documentation form](/images/docs-form.png)
85+
86+### How to Add Documentation in Configuration Files
87+
88+For bulk documentation site adds or edits, we recommend editing your global configuration file directly. Documentation sites are stored in an array within `docs` in your global configuration, as follows:
89+
90+<Tabs>
91+ <Tab title="YAML">
92+ ```yaml title="config.yaml"
93+ docs:
94+ - title: Nest.js
95+ startUrl: https://docs.nestjs.com/
96+ faviconUrl: https://docs.nestjs.com/favicon.ico
97+ ```
98+ </Tab>
99+ <Tab title="JSON">
100+ ```json title="config.json"
101+ {
102+ "docs": [
103+ {
104+ "title": "Nest.js",
105+ "startUrl": "https://docs.nestjs.com/",
106+ "faviconUrl": "https://docs.nestjs.com/favicon.ico"
107+ }
108+ ]
109+ }
110+ ```
111+ </Tab>
112+</Tabs>
113+
114+See [the config reference](/reference) for all documentation site configuration options.
115+
116+Indexing will re-sync upon saving the configuration file.
117+
118+## How to Configure @Docs Advanced Settings
119+
120+### How to Use Your Custom Embeddings Provider
121+
122+If you have set up an [embeddings provider](../customize/model-roles/embeddings.mdx), @docs will use your embeddings provider. Switching embeddings providers will trigger a re-index of all documentation sites in your configuration.
123+
124+### How to Configure Reranking for Better Results
125+
126+As with [@Codebase context provider configuration](./deprecated-codebase#configuration), you can adjust the reranking behavior of the `@Docs` context provider with the `nRetrieve`, `nFinal`, and `useReranking`.
127+
128+<Tabs>
129+ <Tab title="YAML">
130+ ```yaml title="config.yaml"
131+ context:
132+ - provider: docs
133+ params:
134+ nRetrieve: 25 # The number of docs to retrieve from the embeddings query
135+ nFinal: 5 # The number of docs chunks to return IF reranking
136+ useReranking: true # use reranking if a reranker is configured (defaults to true)
137+ ```
138+ </Tab>
139+ <Tab title="JSON">
140+ ```json title="config.json"
141+ {
142+ "contextProviders": [
143+ {
144+ "name": "docs",
145+ "params": {
146+ "nRetrieve": 25, // The number of docs to retrieve from the embeddings query
147+ "nFinal": 5, // The number of docs chunks to return IF reranking
148+ "useReranking": true // use reranking if a reranker is configured (defaults to true)
149+ }
150+ }
151+ ]
152+ }
153+ ```
154+ </Tab>
155+</Tabs>
156+
157+### How to Set Up GitHub Token for GitHub Documentation
158+
159+The GitHub API rate limits public requests to 60 per hour. If you want to reliably index GitHub repos, you can add a github token to your config file:
160+
161+<Tabs>
162+ <Tab title="YAML">
163+ ```yaml title="config.yaml"
164+ context:
165+ - provider: docs
166+ params:
167+ githubToken: <GITHUB_TOKEN>
168+ ```
169+ </Tab>
170+ <Tab title="JSON">
171+ ```json title="config.json"
172+ {
173+ "contextProviders": [
174+ {
175+ "name": "docs",
176+ "params": {
177+ "githubToken": "github_..."
178+ }
179+ }
180+ ]
181+ }
182+ ```
183+ </Tab>
184+</Tabs>
185+
186+### How to Enable Local Crawling for Private Documentation
187+
188+By default, Continue crawls documentation sites using a specialized crawling service that provides the best experience for most users and documentation sites.
189+
190+If your documentation is private, you can skip the default crawler and use a local crawler instead by setting `useLocalCrawling` to `true`.
191+
192+<Tabs>
193+ <Tab title="YAML">
194+ ```yaml title="config.yaml"
195+ docs:
196+ - title: My Private Docs
197+ startUrl: http://10.2.1.2/docs
198+ faviconUrl: http://10.2.1.2/docs/assets/favicon.ico,
199+ useLocalCrawling: true
200+ ```
201+ </Tab>
202+ <Tab title="JSON">
203+ ```json title="config.json"
204+ {
205+ "docs": [
206+ {
207+ "title": "My Private Docs",
208+ "startUrl": "http://10.2.1.2/docs",
209+ "faviconUrl": "http://10.2.1.2/docs/assets/favicon.ico",
210+ "useLocalCrawling": true
211+ }
212+ ]
213+ }
214+ ```
215+ </Tab>
216+</Tabs>
217+
218+<Info>
219+ The default local crawler is a lightweight tool that cannot render sites that
220+ are dynamically generated using JavaScript. If your sites need to be rendered,
221+ you can enable the experimental `Use Chromium for Docs Crawling` feature from
222+ your User Settings Page. This will download and install Chromium
223+ to `~/.continue/.utils`, and use it as the local crawler. **Note:** Chromium
224+ crawling support is being deprecated and may be removed in future versions.
225+</Info>
226+
227+Further notes:
228+
229+- If the site is only locally accessible, the default crawler will fail anyways and fall back to the local crawler. `useLocalCrawling` is especially useful if the URL itself is confidential.
230+- For GitHub Repos this has no effect because only the GitHub Crawler will be used, and if the repo is private it can only be accessed with a priveleged GitHub token anyways.
231+
232+## How to Manage Your Documentation Indexes
233+
234+You can view indexing statuses and manage your documentation sites from the `@docs indexes` section of the `More` page (three dots)
235+
236+- Continue does not automatically re-index your docs. Use `Click to re-index` to trigger a reindex for a specific source
237+- While a site is indexing, click `Cancel indexing` to cancel the process
238+- Failed indexing attempts will show an error status bar and icon
239+- Delete a documentation site from your configuration using the trash icon
240+
241+![More Page @docs indexes section](/images/docs-indexes.png)
242+
243+You can also view the overall status of currently indexing docs from a hideable progress bar at the bottom of the chat page
244+
245+![Documentation indexing peek](/images/docs-indexing-peek.png)
246+
247+You can also use the following IDE command to force a re-index of all docs: `Continue: Docs Force Re-Index`.
248+
249+## Configuration Examples for Different Setups
250+
251+### How to Set Up @Docs in VS Code (Minimal Configuration)
252+
253+The following configuration example works out of the box for VS Code. This uses the built-in embeddings provider with no reranking.
254+
255+<Tabs>
256+ <Tab title="YAML">
257+ ```yaml title="config.yaml"
258+ context:
259+ - provider: docs
260+
261+ docs:
262+ - title: Nest.js
263+ startUrl: https://docs.nestjs.com/
264+ ```
265+ </Tab>
266+ <Tab title="JSON">
267+ ```json title="config.json"
268+ {
269+ "contextProviders": [
270+ {
271+ "name": "docs",
272+ }
273+ ],
274+ "docs": [
275+ {
276+ "title": "Nest.js",
277+ "startUrl": "https://docs.nestjs.com/",
278+ },
279+ ]
280+ }
281+ ```
282+ </Tab>
283+</Tabs>
284+
285+### How to Set Up @Docs in JetBrains IDEs (Minimal Configuration)
286+
287+Here is the equivalent minimal example for Jetbrains, which requires setting up an [embeddings provider](../customize/model-roles/embeddings.mdx).
288+
289+<Tabs>
290+ <Tab title="YAML">
291+ ```yaml title="config.yaml"
292+ models:
293+ - name: LMStudio embedder
294+ provider: lmstudio
295+ model: nomic-ai/nomic-embed-text-v1.5-GGUF
296+ roles:
297+ - embed
298+ context:
299+ - provider: docs
300+ docs:
301+ - title: Nest.js
302+ startUrl: https://docs.nestjs.com/
303+ ```
304+ </Tab>
305+ <Tab title="JSON">
306+ ```json title="config.json"
307+ {
308+ "contextProviders": [
309+ {
310+ "name": "docs",
311+ }
312+ ],
313+ "docs": [
314+ {
315+ "title": "Nest.js",
316+ "startUrl": "https://docs.nestjs.com/",
317+ },
318+ ],
319+ "embeddingsProvider": {
320+ "provider": "lmstudio",
321+ "model": "nomic-ai/nomic-embed-text-v1.5-GGUF"
322+ }
323+ }
324+ ```
325+ </Tab>
326+</Tabs>
327+
328+### How to Set Up @Docs with Advanced Features (VS Code or JetBrains)
329+
330+The following configuration example includes:
331+
332+- Examples of both public and private documentation sources
333+- A custom embeddings provider
334+- A reranker model available, with reranking parameters customized
335+- A GitHub token to enable GitHub crawling
336+
337+<Tabs>
338+ <Tab title="YAML">
339+ ```yaml title="config.yaml"
340+ models:
341+ - name: LMStudio Nomic Text
342+ provider: lmstudio
343+ model: nomic-ai/nomic-embed-text-v1.5-GGUF
344+ roles:
345+ - embed
346+ - name: Voyage Rerank-2
347+ provider: voyage
348+ apiKey: <VOYAGE_API_KEY>
349+ model: rerank-2
350+ roles:
351+ - rerank
352+ context:
353+ - provider: docs
354+ params:
355+ githubToken: <GITHUB_TOKEN>
356+ nRetrieve: 25
357+ nFinal: 5
358+ useReranking: true
359+ docs:
360+ - title: Nest.js
361+ startUrl: https://docs.nestjs.com/
362+ - title: My Private Docs
363+ startUrl: http://10.2.1.2/docs
364+ faviconUrl: http://10.2.1.2/docs/assets/favicon.ico
365+ useLocalCrawling: true
366+ ```
367+ </Tab>
368+ <Tab title="JSON">
369+ ```json title="config.json"
370+ {
371+ "contextProviders": [
372+ {
373+ "name": "docs",
374+ "params": {
375+ "githubToken": "github_...",
376+ "nRetrieve": 25,
377+ "nFinal": 5,
378+ "useReranking": true
379+ }
380+ }
381+ ],
382+ "docs": [
383+ {
384+ "title": "Nest.js",
385+ "startUrl": "https://docs.nestjs.com/"
386+ },
387+ {
388+ "title": "My Private Docs",
389+ "startUrl": "http://10.2.1.2/docs",
390+ "faviconUrl": "http://10.2.1.2/docs/assets/favicon.ico",
391+ "maxDepth": 4,
392+ "useLocalCrawling": true
393+ }
394+ ],
395+ "reranker": {
396+ "name": "voyage",
397+ "params": {
398+ "model": "rerank-2",
399+ "apiKey": "<YOUR_VOYAGE_API_KEY>"
400+ }
401+ },
402+ "embeddingsProvider": {
403+ "provider": "lmstudio",
404+ "model": "nomic-ai/nomic-embed-text-v1.5-GGUF"
405+ }
406+ }
407+ ```
408+ </Tab>
409+</Tabs>
410+
411+This setup could also involve enabling Chromium as a backup for local documentation through the [User Settings Page](../customize/settings).
No newline at the end of the file
modified docs/reference/json-reference.mdx +3 −24
@@ -20,7 +20,7 @@
2020
2121 ## `models`
2222
23-Your **chat** models are defined here, which are used for [Chat](/features/chat/how-it-works), [Edit](/features/edit/how-it-works) and [VS Code actions](/customize/overview#vscode-actions).
23+Your **chat** models are defined here, which are used for [Chat](/features/chat/how-it-works) and [Edit](/features/edit/how-it-works).
2424
2525 Each model has specific configuration options tailored to its provider and functionality, which can be seen as suggestions while editing the json.
2626
@@ -485,18 +485,7 @@
485485 - `applyCodeBlock`: Model title for applying code blocks.
486486 - `repoMapFileSelection`: Model title for repo map selections.
487487
488-- `quickActions`: Array of custom quick actions
489488
490- - `title` (**required**): Display title for the quick action.
491- - `prompt` (**required**): Prompt for quick action.
492- - `sendToChat`: If `true`, sends result to chat; else inserts in document. Default is `false`.
493-
494-- `contextMenuPrompts`:
495-
496- - `comment`: Prompt for commenting code.
497- - `docstring`: Prompt for adding docstrings.
498- - `fix`: Prompt for fixing code.
499- - `optimize`: Prompt for optimizing code.
500489
501490 - `modelContextProtocolServers`: See [Model Context Protocol](/customize/deep-dives/mcp)
502491
@@ -508,16 +497,6 @@
508497 {
509498 "experimental": {
510499 "modelRoles": { "inlineEdit": "Edit Model" },
511- "quickActions": [
512- {
513- "title": "Tags",
514- "prompt": "Return a list of any function and class names from the included code block",
515- "sendToChat": true
516- }
517- ],
518- "contextMenuPrompts": {
519- "fixGrammar": "Fix grammar in the above but allow for typos."
520- },
521500 "modelContextProtocolServers": [
522501 {
523502 "transport": {
@@ -533,7 +512,7 @@
533512
534513 ## Fully deprecated settings
535514
536-Some deprecated `config.json` settings are no longer stored in config and have been moved to be editable through the [User Settings Page](/customize/settings). If found in `config.json`, they will be auto-migrated to User Settings and removed from `config.json`.
515+Some deprecated `config.json` settings are no longer stored in config and have been moved to be editable through the user settings. If found in `config.json`, they will be auto-migrated to User Settings and removed from `config.json`.
537516
538517 - `allowAnonymousTelemetry`: This value will be migrated to the safest merged value (`false` if either are `false`).
539518
@@ -562,4 +541,4 @@
562541 - `displayRawMarkdown`
563542 - `showChatScrollbar`
564543
565- See [User Settings Page](/customize/settings) for more information about each option.
544+
modified docs/reference/yaml-migration.mdx +1 −1
@@ -308,7 +308,7 @@
308308
309309 ## Deprecated configuration options
310310
311-Some deprecated `config.json` settings are no longer stored in config and have been moved to be editable through the [User Settings Page](/customize/settings) (Gear Icon). If found in `config.json`, they will be auto-migrated to User Settings and removed from `config.json`.
311+Some deprecated `config.json` settings are no longer stored in config and have been moved to be editable through the user settings (Gear Icon). If found in `config.json`, they will be auto-migrated to User Settings and removed from `config.json`.
312312
313313 See the [JSON Config Reference](/reference) for more information on fully deprecated options.
314314
modified docs/telemetry.mdx +1 −1
@@ -26,6 +26,6 @@
2626
2727 ## How to Opt Out
2828
29-You can disable anonymous telemetry by visiting the [User Settings Page](/customize/settings) and toggling "Allow Anonymous Telemetry" off.
29+You can disable anonymous telemetry by toggling "Allow Anonymous Telemetry" off in the user settings.
3030
3131 Alternatively in VS Code, you can disable telemetry through your VS Code settings by unchecking the "Continue: Telemetry Enabled" box (this will override the Settings Page settings). VS Code settings can be accessed with `File` > `Preferences` > `Settings` (or use the keyboard shortcut `ctrl` + `,` on Windows/Linux or `cmd` + `,` on macOS).