You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cody/capabilities/agentic-context-fetching.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ Agentic context fetching can be helpful to assist you with a wide range of tasks
54
54
55
55
## Enable agentic context fetching
56
56
57
-
Agentic context fetching is enabled by default for all Cody users. It uses LLM reflection and basic tool use steps to gather and refine context before sending it in the final model query. The review step in agentic context fetching experience defaults to Gemini 2.5 Flash and falls back to Claude Haiku or GPT 4.1 mini if Flash is unavailable.
57
+
Agentic context fetching is enabled by default. It uses LLM reflection and basic tool use steps to gather and refine context before sending it in the final model query. The review step in agentic context fetching experience defaults to Gemini 2.5 Flash and falls back to Claude Haiku or GPT 4.1 mini if Flash is unavailable.
58
58
59
59
You can disable agentic context in your extension settings using `cody.agenticContext`.
Copy file name to clipboardExpand all lines: docs/cody/capabilities/auto-edit.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
<pclassName="subtitle">Auto-edit suggests code changes by analyzing cursor movements and typing. After you've made at least one character edit in your codebase, it begins proposing contextual modifications based on your cursor position and recent changes.</p>
4
4
5
-
<Callouttype="info">Auto-edit is currently supported with Sourcegraph v6.0+ for Pro, Enterprise Starter, and Enterprise accounts on Cody Gateway. Auto-edit requires Fireworks to be enabled as a provider. Enterprise customers without Fireworks enabled can disable the feature flag.</Callout>
5
+
<Callouttype="info">Auto-edit is currently supported with Sourcegraph v6.0+ for Enterprise accounts on Cody Gateway. Auto-edit requires Fireworks to be enabled as a provider. Enterprise customers without Fireworks enabled can disable the feature flag.</Callout>
6
6
7
7
## Capabilities of auto-edit
8
8
@@ -46,11 +46,11 @@ Auto-edit is supported by Cody VS Code, JetBrains, and Visual Studio plugins.
46
46
<Tabs>
47
47
<Tabtitle="VS Code">
48
48
49
-
<Callouttype="info">Auto-edit is available for Pro, Enterprise Starter, and Enterprise users on Cody Gateway. Auto-edit requires Fireworks to be enabled as a provider. Enterprise customers without Fireworks enabled can disable the feature flag.</Callout>
49
+
<Callouttype="info">Auto-edit is available for Enterprise users on Cody Gateway. Auto-edit requires Fireworks to be enabled as a provider. Enterprise customers without Fireworks enabled can disable the feature flag.</Callout>
50
50
51
51
## Enabling auto-edit in VS Code
52
52
53
-
Auto-edit is enabled by default for Cody Pro Enterprise Starter and Enterprise users. You can opt out and switch back to autocomplete by selecting it from the suggestion mode in the Cody VS Code extension settings.
53
+
Auto-edit is enabled by default for Cody Enterprise users. You can opt out and switch back to autocomplete by selecting it from the suggestion mode in the Cody VS Code extension settings.
54
54
55
55
Site admins can opt their organization out of the auto-edit feature by disabling it from their config settings.
56
56
@@ -88,11 +88,11 @@ The following example demonstrates how to add Fireworks as an allowed LLM provid
88
88
89
89
<Tabtitle="JetBrains">
90
90
91
-
<Callouttype="info">JetBrains IDEs support auto-edit for versions 7.84.0+. It's available for Pro, Enterprise Starter, and Enterprise users on Cody Gateway. Auto-edit requires Fireworks to be enabled as a provider. Enterprise customers without Fireworks enabled can disable the feature flag.</Callout>
91
+
<Callouttype="info">JetBrains IDEs support auto-edit for versions 7.84.0+. It's available for Enterprise users on Cody Gateway. Auto-edit requires Fireworks to be enabled as a provider. Enterprise customers without Fireworks enabled can disable the feature flag.</Callout>
92
92
93
93
## Enabling auto-edit in JetBrains
94
94
95
-
Auto-edit is enabled by default for Cody Pro Enterprise Starter and Enterprise users. You can opt out and switch back to autocomplete by selecting it from the suggestion mode in the Cody JetBrains extension settings.
95
+
Auto-edit is enabled by default for Cody Enterprise users. You can opt out and switch back to autocomplete by selecting it from the suggestion mode in the Cody JetBrains extension settings.
96
96
97
97
Site admins can opt their organization out of the auto-edit feature by disabling it from their config settings.
98
98
@@ -136,11 +136,11 @@ The following example demonstrates how to add Fireworks as an allowed LLM provid
136
136
137
137
<Tabtitle="Visual Studio">
138
138
139
-
<Callouttype="info">Visual Studio supports auto-edit for versions 17.6 and above. It's available for Pro, Enterprise Starter, and Enterprise users on Cody Gateway. Auto-edit requires Fireworks to be enabled as a provider. Enterprise customers without Fireworks enabled can disable the feature flag.</Callout>
139
+
<Callouttype="info">Visual Studio supports auto-edit for versions 17.6 and above. It's available for Enterprise users on Cody Gateway. Auto-edit requires Fireworks to be enabled as a provider. Enterprise customers without Fireworks enabled can disable the feature flag.</Callout>
140
140
141
141
## Enabling auto-edit in Visual Studio
142
142
143
-
Auto-edit is enabled by default for Cody Pro Enterprise Starter and Enterprise users. Two settings must be enabled by default in the Visual Studio Cody extension settings to make the auto-edit feature work.
143
+
Auto-edit is enabled by default for Cody Enterprise users. Two settings must be enabled by default in the Visual Studio Cody extension settings to make the auto-edit feature work.
Copy file name to clipboardExpand all lines: docs/cody/capabilities/autocomplete.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
Cody predicts what you're trying to write before you even type it. It offers single-line and multi-line suggestions based on the provided code context, ensuring accurate autocomplete suggestions. Cody autocomplete supports a [wide range of programming languages](/cody/faq#what-programming-languages-does-cody-support) because it uses LLMs trained on broad data.
6
6
7
-
Code autocompletions are optimized for both server-side and client-side performance, ensuring seamless integration into your coding workflow. The **default** autocomplete model for Cody Free, Pro, and Enterprise users is **[DeepSeek V2](https://huggingface.co/deepseek-ai/DeepSeek-V2)**, which significantly helps boost both the responsiveness and accuracy of autocomplete.
7
+
Code autocompletions are optimized for both server-side and client-side performance, ensuring seamless integration into your coding workflow. The **default** autocomplete model for Cody Enterprise users is **[DeepSeek V2](https://huggingface.co/deepseek-ai/DeepSeek-V2)**, which significantly helps boost both the responsiveness and accuracy of autocomplete.
8
8
9
9
## Cody's autocomplete capabilities
10
10
@@ -18,10 +18,10 @@ The autocompletion model is designed to enhance speed, accuracy, and the overall
18
18
19
19
First, you'll need the following setup:
20
20
21
-
- A Free or Pro account via Sourcegraph.com or a Sourcegraph Enterprise instance
21
+
- A Sourcegraph Enterprise account with Cody enabled
22
22
- A supported editor extension (VS Code, JetBrains, Visual Studio)
23
23
24
-
The autocomplete feature is enabled by default on all IDE extensions, i.e., VS Codeand JetBrains. Generally, there's a checkbox in the extension settings that confirms whether the autocomplete feature is enabled or not. In addition, some autocomplete settings are optionally and explicitly supported by some IDEs. For example, JetBrains IDEs have settings that allow you to customize colors and styles of the autocomplete suggestions.
24
+
The autocomplete feature is available on all IDE extensions, i.e., VS Code, JetBrains and Visual Studio. Generally, there's a checkbox in the extension settings that confirms whether the autocomplete feature is enabled or not. In addition, some autocomplete settings are optionally and explicitly supported by some IDEs. For example, JetBrains IDEs have settings that allow you to customize colors and styles of the autocomplete suggestions.
25
25
26
26
When you start typing, Cody will automatically provide suggestions and context-aware completions based on your coding patterns and the code context. These autocomplete suggestions appear as grayed text. Press the `Enter` or `Tab` to accept the suggestion.
27
27
@@ -37,8 +37,8 @@ By default, a fully configured Sourcegraph instance picks a default LLM to gener
37
37
38
38
- Go to the **Site admin** of your Sourcegraph instance
39
39
- Navigate to **Configuration > Site configuration**
40
-
- Here, edit the `completionModel` option inside the `completions`
41
-
- Click the **Save** button to save the changes
40
+
- Here, edit the `modelConfiguration`[section](/cody/enterprise/model-configuration) to include the autocomplete model you want to use
41
+
- Click **Save** to save the changes
42
42
43
43
Cody supports and uses a set of models for autocomplete. Learn more about these [here](/cody/capabilities/supported-models#autocomplete). It's also recommended to read the [Enabling Cody on Sourcegraph Enterprise](/cody/clients/enable-cody-enterprise) docs.
Copy file name to clipboardExpand all lines: docs/cody/capabilities/chat.mdx
+6-23Lines changed: 6 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Chat
2
2
3
-
<pclassName="subtitle">Chat with the AI assistant in your code editor or via the Sourcegraph web app to get intelligent suggestions, code autocompletions, and contextually aware answers.</p>
3
+
<pclassName="subtitle">Chat with Cody in your code editor or via the Sourcegraph web app to get intelligent suggestions, code autocompletions, and contextually aware answers.</p>
4
4
5
5
You can **chat** with Cody to ask questions about your code, generate code, and edit code. By default, Cody has the context of your open file and entire repository, and you can use `@` to add context for specific files, symbols, remote repositories, or other non-code artifacts.
6
6
@@ -10,8 +10,8 @@ You can do it from the **chat** panel of the supported editor extensions ([VS Co
10
10
11
11
To use Cody's chat, you'll need the following:
12
12
13
-
-[Sourcegraph Enterprise Starter](https://sourcegraph.com/pricing) or [Enterprise account](https://sourcegraph.com/pricing)
14
-
- A supported editor extension [VS Code](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-ai), [JetBrains](https://plugins.jetbrains.com/plugin/9682-cody-ai-coding-assistant-with-autocomplete--chat)installed or use via Web app
13
+
-A Sourcegraph Enterprise account with Cody enabled
14
+
- A supported editor extension installed or use via the Sourcegraph Web app
15
15
16
16
## How does chat work?
17
17
@@ -41,29 +41,12 @@ When you have both a repository and files @-mentioned, Cody will search the repo
41
41
42
42
You can add new custom context by adding `@-mention` context chips to the chat. At any point, you can use `@-mention` a repository, file, line range, or symbol, to ask questions about your codebase. Cody will use this new context to generate contextually relevant code.
43
43
44
-
## OpenCtx context providers
45
-
46
-
<Callouttype="info">OpenCtx context providers are in the Experimental stage for all Cody VS Code users. Enterprise users can also use this but with limited support. If you have feedback or questions, please visit our [support forum](https://community.sourcegraph.com/c/openctx/10).</Callout>
47
-
48
-
[OpenCtx](https://openctx.org/) is an open standard for bringing contextual info about code into your dev tools. Cody Free and Pro users can use OpenCtx providers to fetch and use context from the following sources:
You can use `@-mention` web URLs to pull live information like docs. You can connect Cody to OpenCtx to `@-mention` non-code artifacts like Google Docs, Notion pages, Jira tickets, and Linear issues.
58
-
59
44
## LLM selection
60
45
61
-
Cody allows you to select the LLM you want to use for your chat, which is optimized for speed versus accuracy. Cody Free and Pro users can select multiple models. Enterprise users with the new [model configuration](/cody/clients/model-configuration) can use the LLM selection dropdown to choose a chat model.
46
+
Cody allows you to select the LLM you want to use for your chat, which is optimized for speed versus accuracy. Enterprise users with the new [model configuration](/cody/clients/model-configuration) can use the LLM selection dropdown to choose a chat model.
62
47
63
48
You can read about these supported LLM models [here](/cody/capabilities/supported-models#chat-and-commands).
Cody lets you dynamically insert code from chat into your files with **Smart Apply**. Whenever Cody provides a code suggestion, you can click the **Apply** button. Cody will then analyze your open code file, find where that relevant code should live, and add a diff. For chat messages where Cody provides multiple code suggestions, you can apply each in sequence to go from chat suggestions to written code.
@@ -74,9 +57,9 @@ Smart Apply also supports the executing of commands in the terminal. When you as
74
57
75
58
### Model used for Smart Apply
76
59
77
-
To ensure low latency, Cody uses a more targeted Qwen 2.5 Coder model for Smart Apply. This model improves the responsiveness of the Smart Apply feature in both VS Code and JetBrains while preserving edit quality. Users on Cody Free, Pro, Enterprise Starter, and Enterprise plans get this default Qwen 2.5 Coder model for Smart Apply suggestions.
60
+
To ensure low latency, Cody uses a more targeted Qwen 2.5 Coder model for Smart Apply. This model improves the responsiveness of the Smart Apply feature in both VS Code and JetBrains while preserving edit quality.
78
61
79
-
Enterprise users not using Cody Gateway get a Claude Sonnet-based model for Smart Apply.
62
+
Enterprise users on Cody Gateway get this default Qwen 2.5 Coder model for Smart Apply suggestions. Enterprise users not using Cody Gateway get a Claude Sonnet-based model for Smart Apply.
Copy file name to clipboardExpand all lines: docs/cody/capabilities/debug-code.mdx
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
<pclassName="subtitle">Learn how Cody helps you identify errors in your code and provides code fixes.</p>
4
4
5
-
Cody is optimized to identify and fix errors in your code. Its debugging capability and autocomplete suggestions can significantly accelerate your debugging process, increasing developer productivity. All Cody IDE extensions (VS Code, JetBrains) support code debugging and fixes capabilities.
5
+
Cody is optimized to identify and fix errors in your code. Its debugging capability and autocomplete suggestions can significantly accelerate your debugging process, increasing developer productivity. Cody IDE extensions (VS Code, JetBrains) support code debugging and fixes capabilities.
6
6
7
7
## Use chat for code fixes
8
8
@@ -33,8 +33,6 @@ You can detect code smells by the **find-code-smells** prompt from the Prompts d
33
33
34
34
## Code Actions
35
35
36
-
<Callouttype="info">Code Actions are available only in Cody VS Code extension.</Callout>
37
-
38
36
When you make a mistake while writing code, Cody's **Code Actions** come into play and a red warning triggers. Along with this, you get a lightbulb icon. If you click on this lightbulb icon, there is an **Ask Cody to fix** option.
Copy file name to clipboardExpand all lines: docs/cody/capabilities/ignore-context.mdx
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
# Manage Cody Context
2
2
3
-
<pclassName="subtitle">You can control and manage what context from your codebase is used by Cody. You can do this by using Cody Context Filters.</p>
4
-
5
-
<Callouttype="note">Cody Context Filters is available only for Enterprise users on all supported [clients](/cody/clients).</Callout>
3
+
<pclassName="subtitle">You can control and manage what context from your codebase is used by Cody. You can do this by using Cody Context Filters. It is supported on all Cody [clients](/cody/clients).</p>
Copy file name to clipboardExpand all lines: docs/cody/capabilities/index.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,11 @@
8
8
9
9
<QuickLinktitle="Chat"icon='lightbulb'href="/cody/capabilities/chat"description="Use Cody's chat to get contextually-aware answers to your questions." />
10
10
11
-
<QuickLinktitle="Autocomplete"icon='installation'href="/cody/capabilities/autocomplete"description="Suggests code completions as you type, utilizing context from your code, open files, and file history." />
11
+
<QuickLinktitle="Auto-edit"icon='installation'href="/cody/capabilities/auto-edit"description="Suggests code changes by analyzing cursor movements and typing." />
12
12
13
13
<QuickLinktitle="Prompts & Prompt Library"icon='theming'href="/cody/capabilities/commands"description="Automate key tasks in your workflow with premade and customizable prompts." />
14
14
15
-
<QuickLinktitle="OpenCtx Context Providers"icon='presets'href="/cody/capabilities/openctx"description="Add additional context sources from outside of your code base by leveraging OpenCtx Providers." />
15
+
<QuickLinktitle="MCP Support"icon='presets'href="/cody/capabilities/agentic-context-fetching#mcp-support"description="Cody supports Model Context Protocol (MCP) for connecting to external context." />
16
16
17
17
<QuickLinktitle="Debug Code"icon='languagemodels'href="/cody/capabilities/debug-code"description="Helps you with identifying and fixing code errors and bugs." />
Copy file name to clipboardExpand all lines: docs/cody/capabilities/openctx.mdx
+1-10Lines changed: 1 addition & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,7 @@
4
4
5
5
<Callouttype="tip">MCP is the recommended method for adding external context in Cody due to its broad community adoption and extensive tool support. [Read the docs](/cody/capabilities/agentic-context-fetching#mcp-support) to learn more about configuring MCP.</Callout>
6
6
7
-
[OpenCtx](https://openctx.org/) is an open standard for bringing contextual info about code into your dev tools. OpenCtx context providers are in the Experimental stage for all Cody users. Enterprise users can use this, but with limited support. Cody Free and Pro users can use OpenCtx providers to fetch and use context from the following sources:
8
-
9
-
-[Webpages (via URL)](https://openctx.org/docs/providers/web) (enabled in Cody by default)
[OpenCtx](https://openctx.org/) is an open standard for bringing contextual info about code into your dev tools. OpenCtx context providers are in the Experimental stage for Enterprise users with limited support.
0 commit comments