Skip to content

Commit 60b1a8a

Browse files
authored
Merge branch 'main' into sg-next-feb-2025
2 parents 7b864fb + f6e687b commit 60b1a8a

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

docs/cody/capabilities/auto-edit.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ Auto-edit is available for Enterprise customers with [Sourcegraph Cody Gateway](
2828
- Enable the feature flag `cody-autoedit-experiment-enabled-flag`
2929
- Add `fireworks::*` as an [allowed provider](https://sourcegraph.com/docs/cody/enterprise/model-configuration#model-filters) (see below)
3030
2. Once enabled, developers will receive a notification in their editor to turn it on
31+
3. If you skip the notification or don't see it, you can manually enable/disable it from the Cody extension settings.
32+
33+
![enable-from-cody-settings](https://storage.googleapis.com/sourcegraph-assets/Docs/enable-auto-edit-from-settings.jpg)
34+
35+
There is a drop-down menu for Cody's suggestions mode. You can choose between the default autocomplete and the auto-edit mode, or you can turn off the suggestions completely.
3136

3237
The following example demonstrates how to add Fireworks as an allowed LLM provider:
3338

@@ -40,7 +45,7 @@ The following example demonstrates how to add Fireworks as an allowed LLM provid
4045
// Only allow "beta" and "stable" models.
4146
// Not "experimental" or "deprecated".
4247
"statusFilter": ["beta", "stable"],
43-
48+
4449
// Allow any models provided by Anthropic, OpenAI, Google and Fireworks.
4550
"allow": [
4651
"anthropic::*", // Anthropic models

docs/cody/troubleshooting.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,20 @@ It indicates that our web application firewall provider, Cloudflare, has flagged
105105

106106
Consider disabling anonymizers, VPNs, or open proxies. If using a VPN is essential, you can try [1.1.1.1](https://one.one.one.one), which is recognized to be compatible with our services.
107107

108+
### Error with Cody `contextFilters` during chat or editing code
109+
110+
The `contextFilters` setting in Cody is used to control which files are included or excluded when Cody searches for relevant context while answering questions or providing code assistance. Sometimes, you can see the following error:
111+
112+
```
113+
Edit failed to run: file is ignored (due to cody.contextFilters Enterprise configuration setting)
114+
```
115+
116+
This error occurs when you're trying to work with a file that's been excluded by Cody's enterprise-level `contextFilters` configuration. At times, this can happen to files that also haven't been excluded. First, check with your organization's admin to understand which files are excluded.
117+
118+
If the error occurs with a file that's not been excluded, the workaround is to uninstall the Cody plugin, restart your IDE and then reinstall the latest version of the extension.
119+
120+
This should clear the error.
121+
108122
### VS Code Pro License Issues
109123

110124
If VS Code prompts you to upgrade to Pro despite already having a Pro license, this usually happens because you're logged into a free Cody/Sourcegraph account rather than your Pro account. To fix this:

0 commit comments

Comments
 (0)