diff --git a/docs/cody/enterprise/model-configuration.mdx b/docs/cody/enterprise/model-configuration.mdx index 7ccf62fdb..fd7cce1af 100644 --- a/docs/cody/enterprise/model-configuration.mdx +++ b/docs/cody/enterprise/model-configuration.mdx @@ -42,6 +42,8 @@ For most administrators, relying on these models alone ensures access to high-qu The use of these models is controlled through the `"modelConfiguration.sourcegraph"` field in the site config. +Sourcegraph-provided models through Cody Gateway have context window limitations. To access models with extended context windows (such as Claude Sonnet 4's [1M token context](https://www.anthropic.com/news/1m-context)), configure BYOK (Bring Your Own Key) models using `providerOverrides` and suitable `contextWindow` configuration. See the [examples page](/cody/enterprise/model-config-examples) for BYOK configuration details. + ### Configure Sourcegraph-provided models The minimal configuration for Sourcegraph-provided models is: