Skip to content

Commit 1b0e878

Browse files
committed
docs(auto-edit): add instructions for configuring Fireworks as an allowed LLM provider (via Aravind)
This change adds a new section to the auto-edit feature documentation that provides an example of how to configure Fireworks as an allowed LLM provider in the Sourcegraph Cody Gateway model configuration. This allows users to utilize Fireworks models for the auto-edit feature.
1 parent 24deab9 commit 1b0e878

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

docs/cody/capabilities/auto-edit.mdx

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,33 @@ Auto-edit is available for Enterprise customers with [Sourcegraph Cody Gateway](
2626

2727
1. Site administrators must:
2828
- Enable the feature flag `cody-autoedit-experiment-enabled-flag`
29-
- Designate `fireworks::*` as an [allowed provider](https://sourcegraph.com/docs/cody/enterprise/model-configuration#model-filters)
29+
- 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
3131

32+
The following example demonstrates how to add Fireworks as an allowed LLM provider:
33+
34+
```json
35+
36+
"cody.enabled": true,
37+
"modelConfiguration": {
38+
"sourcegraph": {
39+
"modelFilters": {
40+
// Only allow "beta" and "stable" models.
41+
// Not "experimental" or "deprecated".
42+
"statusFilter": ["beta", "stable"],
43+
44+
// Allow any models provided by Anthropic, OpenAI, Google and Fireworks.
45+
"allow": [
46+
"anthropic::*", // Anthropic models
47+
"openai::*", // OpenAI models
48+
"google::*", // Google Gemini models
49+
"fireworks::*", // Open source models hosted by Sourcegraph
50+
],
51+
}
52+
}
53+
}
54+
```
55+
3256
## How does auto-edit work?
3357

3458
The system detects potential changes based on the following:

0 commit comments

Comments
 (0)