Skip to content

Commit 5cd9d4f

Browse files
committed
Add details for ent
1 parent 57852ee commit 5cd9d4f

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

docs/cody/capabilities/auto-edit.mdx

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,42 @@ Auto-edit is enabled by default for Cody Pro and Enterprise users. You can opt o
1818

1919
Site admins can opt their organization out of the auto-edit feature by disabling it from their config settings.
2020

21+
### Auto-edit access for Enterprise customers
22+
23+
Auto-edit is available for Enterprise customers with [Sourcegraph Cody Gateway](/cody/core-concepts/cody-gateway#sourcegraph-cody-gateway) access. Enabling the feature requires two steps:
24+
25+
1. Site administrators must:
26+
- Enable the feature flag `cody-autoedit-experiment-enabled-flag` and can also opt-out via the same flag
27+
- Add `fireworks::*` as an [allowed provider](https://sourcegraph.com/docs/cody/enterprise/model-configuration#model-filters) (see below)
28+
2. Once enabled, auto-edit will become the default suggestion mode for all users
29+
3. Users can optionally switch back to autocomplete from the Cody extension settings
30+
31+
![enable-from-cody-settings](https://storage.googleapis.com/sourcegraph-assets/Docs/enable-auto-edit-from-settings.jpg)
32+
33+
The following example demonstrates how to add Fireworks as an allowed LLM provider:
34+
35+
```json
36+
37+
"cody.enabled": true,
38+
"modelConfiguration": {
39+
"sourcegraph": {
40+
"modelFilters": {
41+
// Only allow "beta" and "stable" models.
42+
// Not "experimental" or "deprecated".
43+
"statusFilter": ["beta", "stable"],
44+
45+
// Allow any models provided by Anthropic, OpenAI, Google and Fireworks.
46+
"allow": [
47+
"anthropic::*", // Anthropic models
48+
"openai::*", // OpenAI models
49+
"google::*", // Google Gemini models
50+
"fireworks::*", // Open source models hosted by Sourcegraph
51+
],
52+
}
53+
}
54+
}
55+
```
56+
2157
## How does auto-edit work?
2258

2359
The system detects potential changes based on the following:

0 commit comments

Comments
 (0)