Skip to content

Commit abc2c86

Browse files
committed
rebrand Cody Gateway as Sourcegraph model provider
1 parent 6438c19 commit abc2c86

File tree

16 files changed

+5346
-6576
lines changed

16 files changed

+5346
-6576
lines changed

docs/admin/architecture.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,13 @@ Debugging includes [tracing](/admin/observability/tracing) and [logging](/admin/
188188

189189
## Cody
190190

191-
This section covers the Enterprise architecture of our AI assistant, Cody. [Cody Enterprise](/cody/clients/enable-cody-enterprise) can be deployed via the Sourcegraph Cloud or on your self-hosted infrastructure.
191+
[Cody Enterprise](/cody/clients/enable-cody-enterprise) can be deployed via [Sourcegraph Cloud](/cloud) or on your self-hosted infrastructure. This section contains architecture diagrams for Cody deployed in different Sourcegraph environments.
192192

193-
### Cody with Sourcegraph Cloud deployment
193+
{/* Figma source: https://www.figma.com/file/lAPHpdhtEmOJ22IQXVZ0vs/Cody-architecture-diagrams-SQS-draft-2024-04?type=whiteboard&node-id=0-1&t=blg78H2YXXbdGSPc-0 */}
194194

195-
This is a recommended deployment for Cody Enterprise. It uses the Sourcegraph Cloud infrastructure and Cody gateway.
195+
### Sourcegraph Cloud deployment
196+
197+
This is a recommended deployment for Cody Enterprise. It uses the Sourcegraph Cloud infrastructure and Cody Gateway, which backs the [Sourcegraph model provider](/model-provider).
196198

197199
<img src="https://sourcegraphstatic.com/docs/enterprise-architecture-cloud-v2.png" />
198200

@@ -202,7 +204,7 @@ This is an example of a more complex deployment that uses Sourcegraph Enterprise
202204

203205
<img src="https://sourcegraphstatic.com/docs/enterprise-architecture-aws-v0.png" />
204206

205-
### Data flow
207+
### Cody Data flow
206208

207209
The following diagram describes the data flow between the different components of Cody Enterprise.
208210

docs/admin/self-hosted.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Administration
1+
# Enterprise Self-Hosted
22

33
<TierCallout>
44
Supported on [Enterprise](/pricing/enterprise) plans.

docs/cody/capabilities/auto-edit.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Site admins can opt their organization out of the auto-edit feature by disabling
5656

5757
### Configure auto-edit access
5858

59-
Auto-edit is available as default for Enterprise customers with [Sourcegraph Cody Gateway](/cody/core-concepts/cody-gateway#sourcegraph-cody-gateway) access. To configure auto-edit:
59+
Auto-edit is available as default for Enterprise customers with [Sourcegraph model provider (Cody Gateway)](/model-provider) access. To configure auto-edit:
6060

6161
- Add `fireworks::*` as an [allowed provider](https://sourcegraph.com/docs/cody/enterprise/model-configuration#model-filters)
6262

@@ -104,7 +104,7 @@ Site admins can opt their organization out of the auto-edit feature by disabling
104104

105105
### Configure auto-edit access
106106

107-
Auto-edit is available as default for Enterprise customers with [Sourcegraph Cody Gateway](/cody/core-concepts/cody-gateway#sourcegraph-cody-gateway) access. To configure auto-edit:
107+
Auto-edit is available as default for Enterprise customers with [Sourcegraph model provider (Cody Gateway)](/model-provider) access. To configure auto-edit:
108108

109109
- Add `fireworks::*` as an [allowed provider](https://sourcegraph.com/docs/cody/enterprise/model-configuration#model-filters)
110110

@@ -151,7 +151,7 @@ You can opt out and switch back to autocomplete by deselecting it from the Cody
151151

152152
### Configure auto-edit access
153153

154-
Auto-edit is available as default for Enterprise customers with [Sourcegraph Cody Gateway](/cody/core-concepts/cody-gateway#sourcegraph-cody-gateway) access. To configure auto-edit:
154+
Auto-edit is available as default for Enterprise customers with [Sourcegraph model provider (Cody Gateway)](/model-provider) access. To configure auto-edit:
155155

156156
- Add `fireworks::*` as an [allowed provider](https://sourcegraph.com/docs/cody/enterprise/model-configuration#model-filters)
157157

docs/cody/clients/enable-cody-enterprise.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ With [Sourcegraph Cloud](/cloud/), you get Cody as a managed service, and you **
2222
### Prerequisites
2323

2424
- You have Sourcegraph version `5.1.0` or more
25-
- A Sourcegraph Enterprise subscription with [Cody Gateway](/cody/core-concepts/cody-gateway) or an account with a third-party LLM provider
25+
- A Sourcegraph Enterprise subscription with [Sourcegraph model provider (Cody Gateway)](/model-provider) or an account with a third-party LLM provider
2626

2727
### Enable Cody on your Sourcegraph instance
2828

2929
Site admins can only enable Cody on the Sourcegraph instance. To do so,
3030

31-
- First, configure your desired LLM provider either by [using Sourcegraph Cody Gateway](/cody/core-concepts/cody-gateway) or by directly using a third-party LLM provider
31+
- First, configure your desired LLM provider either by [using Sourcegraph model provider (Cody Gateway)](/model-provider) or by directly using a third-party LLM provider
3232
- Next, go to **Site admin > Site configuration** (`/site-admin/configuration`) on your instance and set:
3333

3434
```json

docs/cody/clients/install-vscode.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ Enterprise users get Claude 3.5 Sonnet as the default LLM models without extra c
232232

233233
<Callout type="info">For enterprise users on Amazon Bedrock: 3.5 Sonnet is unavailable in `us-west-2` but available in `us-east-1`. Check the current model availability on AWS and your customer's instance location before switching. Provisioned throughput via AWS is not supported for 3.5 Sonnet.</Callout>
234234

235-
You also get additional capabilities like BYOLLM (Bring Your Own LLM), supporting Single-Tenant and Self Hosted setups for flexible coding environments. Your site administrator determines the LLM, and cannot be changed within the editor. However, Cody Enterprise users when using Cody Gateway have the ability to [configure custom models](/cody/core-concepts/cody-gateway#configuring-custom-models) from Anthropic, OpenAI, and Google Gemini.
235+
You also get additional capabilities like BYOLLM (Bring Your Own LLM), supporting Single-Tenant and Self Hosted setups for flexible coding environments. Your site administrator determines the LLM, and cannot be changed within the editor. However, Cody Enterprise users when using Sourcegraph model provider (Cody Gateway) have the ability to [configure custom models](/model-provider#configuring-custom-models) from Anthropic, OpenAI, and Google Gemini.
236236

237237
<Callout type="note">Read more about all the supported LLM models [here](/cody/capabilities/supported-models)</Callout>
238238

docs/cody/core-concepts/cody-gateway.mdx

Lines changed: 0 additions & 51 deletions
This file was deleted.

docs/cody/core-concepts/enterprise-architecture.mdx

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/cody/core-concepts/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
<QuickLink title="Keyword Search" icon='presets' href="/cody/core-concepts/keyword-search" description="Learn how Cody makes use to Keyword Search to gather context." />
1010

11-
<QuickLink title="Cody Gateway" icon='theming' href="/cody/core-concepts/cody-gateway" description="Learn how Cody Gateway powers the default Sourcegraph provider for completions to facilitate Cody features." />
11+
<QuickLink title="Sourcegraph Model Provider" icon='theming' href="/model-provider" description="Learn how the default Sourcegraph model provider facilitates Cody features." />
1212

13-
<QuickLink title="Enterprise Architecture" icon='installation' href="/cody/core-concepts/enterprise-architecture" description="Understand how Cody Enterprise is deployed and fits into your environment." />
13+
<QuickLink title="Enterprise Architecture" icon='installation' href="/admin/architecture#cody" description="Understand how Cody Enterprise is deployed and fits into your environment." />
1414

1515
<QuickLink title="Token Limits" icon='languagemodels' href="/cody/core-concepts/token-limits" description="Understand the constraints of Cody's context window." />
1616

docs/cody/enterprise/completions-configuration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ For the access token,
168168

169169
When tested with other coder models for the autocomplete use case, [StarCoder](https://huggingface.co/blog/starcoder) offered significant improvements in quality and latency compared to our control groups for users on Sourcegraph.com. You can read more about the improvements in our [October 2023 release notes](https://sourcegraph.com/blog/feature-release-october-2023) and the [GA release notes](https://sourcegraph.com/blog/cody-is-generally-available).
170170

171-
To ensure a fast and reliable experience, we are partnering with [Fireworks](https://fireworks.ai/) and have set up a dedicated hardware deployment for our Enterprise users. Sourcegraph supports StarCoder using the [Cody Gateway](/cody/core-concepts/cody-gateway).
171+
To ensure a fast and reliable experience, we are partnering with [Fireworks](https://fireworks.ai/) and have set up a dedicated hardware deployment for our Enterprise users. Sourcegraph supports StarCoder using the [Sourcegraph model provider (Cody Gateway)](/model-provider).
172172

173173
To enable StarCoder, go to **Site admin > Site configuration** (`/site-admin/configuration`) and change the `completionModel`:
174174

docs/cody/enterprise/features.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Site administrators can set the duration of access tokens for users connecting C
1212

1313
<Callout type="warning">Guardrails has been deprecated and is no longer recommended for use.</Callout>
1414

15-
<Callout type= "note">Guardrails for public code is only supported on VS Code, JetBrains IDEs extension, and Sourcegraph Web app for Cody Enterprise customers using [Cody Gateway](https://sourcegraph.com/docs/cody/core-concepts/cody-gateway#sourcegraph-cody-gateway). It is not supported for any BYOK (Bring Your Own Key) deployments. </Callout>
15+
<Callout type= "note">Guardrails for public code is only supported on VS Code, JetBrains IDEs extension, and Sourcegraph Web app for Cody Enterprise customers using [Sourcegraph model provider (Cody Gateway)](/model-provider). It is not supported for any BYOK (Bring Your Own Key) deployments. </Callout>
1616

1717
Open source attribution guardrails for public code, commonly called copyright guardrails, reduce the exposure to copyrighted code. This involves implementing a verification mechanism within Cody to ensure that any code generated by the platform does not replicate open source code.
1818

0 commit comments

Comments
 (0)