You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cody/enterprise/model-configuration.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,8 @@ For most administrators, relying on these models alone ensures access to high-qu
42
42
43
43
The use of these models is controlled through the `"modelConfiguration.sourcegraph"` field in the site config.
44
44
45
+
<Callouttype="note">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.</Callout>
46
+
45
47
### Configure Sourcegraph-provided models
46
48
47
49
The minimal configuration for Sourcegraph-provided models is:
0 commit comments