Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions docs/cody/core-concepts/cody-gateway.mdx
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Sourcegraph Cody Gateway

<p className="subtitle">Learn how Cody Gateway powers the default Sourcegraph provider for completions to facilitate Cody features.</p>
<p className="subtitle">Learn how Cody Gateway powers the default Sourcegraph provider for completions, enabling Cody features for Sourcegraph Enterprise customers.</p>

<Callout type="note" title="Note">Cody Gateway is supported for Sourcegraph Enterprise customers on v5.1 or more.</Callout>
<Callout type="note" title="Note">Cody Gateway is available for Sourcegraph Enterprise customers using version 5.1 or more.</Callout>

Sourcegraph Cody Gateway powers the default `"provider": "sourcegraph"` and Cody completions for Sourcegraph Enterprise users. It supports a variety of upstream LLM providers, such as [Anthropic](https://www.anthropic.com/) and [OpenAI](https://openai.com/), with rate limits, quotas, and model availability tied to your Sourcegraph Enterprise subscription.
Cody Gateway powers the default `"provider": "sourcegraph"` and Cody completions for Sourcegraph Enterprise users. It integrates with various upstream LLM providers, including [Anthropic](https://www.anthropic.com/) and [OpenAI](https://openai.com/), with rate limits, quotas, and model availability tied to your Sourcegraph Enterprise subscription.

## Supported Models

See our page on [Supported LLMs](/cody/capabilities/supported-models) for a current list of supported models and providers.
For a full list of supported models and providers, read our [Supported LLMs] (/Cody/capabilities/supported-models) docs.

## Using Cody Gateway in Sourcegraph Enterprise
## Setting up Cody Gateway in Sourcegraph Enterprise

To enable completions provided by Cody Gateway on your Sourcegraph Enterprise instance, make sure your license key is set, and Cody is enabled in your [site configuration](/admin/config/site_config):
To enable completions provided by Cody Gateway on your Sourcegraph Enterprise instance, make sure your license key is set and Cody is enabled in your [site configuration](/admin/config/site_config):

```jsonc
{
Expand All @@ -24,11 +24,9 @@ To enable completions provided by Cody Gateway on your Sourcegraph Enterprise in
}
```

After adding the license key, the default configuration and authentication will be automatically applied.
Once the license key is added, default configuration and authentication are automatically applied.

For more details about configuring Cody, read the following resources:

- [Enabling Cody for Sourcegraph Enterprise](/cody/clients/enable-cody-enterprise)
For more details about configuring Cody, it's recommended to read about [Enabling Cody for Sourcegraph Enterprise](/cody/clients/enable-cody-enterprise).

Cody Gateway is hosted at `cody-gateway.sourcegraph.com`. To use Cody Gateway, your Sourcegraph instance must be connected to the service in this domain.

Expand All @@ -48,6 +46,6 @@ In addition to the above, we may throttle concurrent requests to Cody Gateway pe

## Privacy and security

Sourcegraph Cody Gateway does not retain sensitive data (prompt test and source code included in requests, etc.) from any traffic received. Only rate limit consumption per Sourcegraph Enterprise license and some high-level diagnostic data (error codes from upstream, numeric/enum request parameters, etc) are tracked.
Sourcegraph Cody Gateway does not retain sensitive data (prompt test and source code included in requests, etc.) from any traffic received. Only rate limit consumption per Sourcegraph Enterprise license and high-level diagnostic data (error codes from upstream, numeric/enum request parameters, etc) are tracked.

For more details about Cody Gateway security practices, please reach out to your account manager. You can also refer to the [Cody usage and privacy notice](https://about.sourcegraph.com/terms/cody-notice) for more privacy details about Cody in general.
For more details about Cody Gateway security practices, please contact your account manager. For more privacy details about Cody in general, refer to the [Cody usage and privacy notice](https://about.sourcegraph.com/terms/cody-notice).
Loading