Skip to content
Closed
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions docs/admin/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Sourcegraph administration is primarily managed by site administrators, who are
- [Beta and experimental features](/admin/beta_and_experimental_features)
- [Code navigation](/code-search/code-navigation/)
- [Pings](/admin/pings)
- [Telemetry](/admin/telemetry)
- [Enterprise pricing and licenses](/admin/subscriptions/)
- [Search](/admin/search)
- [Usage statistics](/admin/usage_statistics)
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/telemetry/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ Some of the measures we take to ensure privacy and data security are:
2. User identifiers are numeric and anonymized, as identifiers are specific per-instance.
3. Data will be encrypted while in motion from each Sourcegraph instance to Sourcegraph.

You can also explore our [telemetry development reference](https://docs-legacy.sourcegraph.com/dev/background-information/telemetry) to learn more about new system with which we record telemetry events, and refer to our [telemetry events data schema](https://docs-legacy.sourcegraph.com/dev/background-information/telemetry/protocol) for specific attributes that are and are not exported by default.
You can reach out to support@sourcegraph.com for additional information about how telemetry events are recorded and which attributes are exported by default.
21 changes: 21 additions & 0 deletions docs/cody/core-concepts/token-limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,27 @@ Here's a detailed breakdown of the token limits by model:

<Callout type="info">For Cody Enterprise, the token limits are the standard limits. Exact token limits may vary depending on your deployment. Please get in touch with your Sourcegraph representative. For more information on how Cody builds context, see our [docs here](/cody/core-concepts/context).</Callout>

## Enhanced Context Windows (Feature Flag)

Since 6.5 for Enterprise, we rolled out a feature flag `enhanced-context-window` that significantly expands Cody's context capabilities. This feature addresses developers' need to work with more context by expanding both input and output context windows.

When the `enhanced-context-window` feature flag is enabled, Cody Enterprise customers get access to:

**Input context window (via @mention and user input):**
- Anthropic Claude: up to **150k tokens**
- Google Gemini: up to **150k tokens**
- OpenAI GPT-series: up to **102k tokens**
- OpenAI o-series: up to **93k tokens**

**Output context window:**
- Anthropic Claude: up to **64k tokens**
- Google Gemini: up to **65k tokens**
- OpenAI GPT-series: **16k tokens**
- OpenAI o-series: **100k tokens**
- Reasoning models: up to **100k tokens**

<Callout type="note">The enhanced context windows require the `enhanced-context-window` feature flag to be set to `true` in your Sourcegraph instance. Contact Sourcegraph support if you need help enabling this feature.</Callout>

## What is a Context Window?

A context window in large language models refers to the maximum number of tokens (words or subwords) the model can process simultaneously. This window determines how much context the model can consider when generating text or code.
Expand Down