Skip to content
Open
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
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/github.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ GitHub connections support the following configuration options, which are specif
{
// If non-null, enforces GitHub repository permissions. This requires that there is an item in the [site configuration json](https://sourcegraph.com/docs/admin/config/site_config#auth-providers) `auth.providers` field, of type "github" with the same `url` field as specified in this `GitHubConnection`.
"authorization": {
"groupsCacheTTL": 72,
"groupsCacheTTL": -1,
"markInternalReposAsPublic": false,
"syncInternalRepoPermissions": false
},
Expand Down
6 changes: 4 additions & 2 deletions docs/admin/code-hosts/gitlab.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,12 @@ See [Internal rate limits](/admin/code-hosts/rate-limits#internal-rate-limits).
// A GitLab access token with "api" scope. Can be a personal access token (PAT) or an OAuth token. If you are enabling permissions with identity provider type "username", this token should also have "sudo" scope.
"token": null,

// The OAuth token expiry (Unix timestamp in seconds)
// ⚠️ DEPRECATED: DEPRECATED: This setting has no effect. The OAuth token expiry (Unix timestamp in seconds)
// DEPRECATED: This setting has no effect. The OAuth token expiry (Unix timestamp in seconds)
"token.oauth.expiry": 0,

// The OAuth refresh token
// ⚠️ DEPRECATED: DEPRECATED: This setting has no effect. The OAuth refresh token
// DEPRECATED: This setting has no effect. The OAuth refresh token
"token.oauth.refresh": null,

// The type of the token
Expand Down
1 change: 1 addition & 0 deletions docs/admin/config/settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Settings options and their default values are shown below.
"batchChangeAgentsDisabledDefaultSkills": [],
"batchChangeAgentsGuidance": [],
"boostRelevantRepositories": true,
"changesetsReviewPage": false,
"clientSearchResultRanking": "by-zoekt-ranking",
"codeInsightsRepoUI": "single-search-query",
"deepSearchGuidance": [],
Expand Down
11 changes: 8 additions & 3 deletions docs/admin/config/site-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,8 @@ All advanced configuration options and their default values are shown below.
// The number of concurrent external service syncers that can run.
"repoConcurrentExternalServiceSyncers": 3,

// Interval (in minutes) for checking code hosts (such as GitHub, Gitolite, etc.) for new repositories.
"repoListUpdateInterval": 1,
// Minimum interval (in minutes) between syncs of each code host (such as GitHub, Gitolite, etc.). Code hosts with no changes or with sync errors are synced less often, up to every 8 hours.
"repoListUpdateInterval": 2,

// Configuration for repository purge worker.
"repoPurgeWorker": {
Expand Down Expand Up @@ -643,6 +643,11 @@ All advanced configuration options and their default values are shown below.
// EXPERIMENTAL: Use content-based language detection for lang: filters (Zoekt only).
"searchContentBasedLanguageDetection": false,

// Policies the Sourcegraph instance applies to the src CLI. These are served unauthenticated at /.api/src-cli/config so the CLI can read them before authenticating, so do not place sensitive values here. The allowAccessTokenAuth policy is enforced server-side.
"srcCli": {
"allowAccessTokenAuth": true
},

// Syntax highlighting configuration
// Other example values:
// - {
Expand Down Expand Up @@ -778,7 +783,7 @@ All advanced configuration options and their default values are shown below.
// Enables users to change their username after account creation. Warning: setting this to be true has security implications if you have enabled (or will at any point in the future enable) repository permissions with an option that relies on username equivalency between Sourcegraph and an external service or authentication provider. Do NOT set this to true if you are using non-built-in authentication OR rely on username equivalency for repository permissions.
"auth.enableUsernameChanges": false,

// When enabled, users are required to connect at least one external account to their Sourcegraph account. Site admins are exempt from this requirement.
// When enabled, users are required to connect at least one external account to their Sourcegraph account. Site admins are exempt from this requirement. To require an account for a specific code host authentication provider, set `enforceAccountConnection` on that provider in `auth.providers`.
"auth.enforceExternalAccountConnection": false,

// Enables OAuth 2.0 Dynamic Client Registration (RFC 7591) for the Sourcegraph identity provider. When enabled, OAuth clients can self-register programmatically instead of requiring manual pre-configuration. This is used for MCP clients; if `mcp.enabled` is `false`, this setting is treated as `false`.
Expand Down
22 changes: 11 additions & 11 deletions docs/ai/models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ This reference lists the models currently used by [Sourcegraph AI features](/ai)
{/* BEGIN GENERATED: ai-models-reference */}
{/* DO NOT EDIT: generated via: sg generate ai-docs */}

| Model | Used by |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Claude Sonnet 5 | [Deep Search](/deep-search) |
| GPT-6 Luna | Deep Search categorization, Deep Search answer summaries, Agentic Batch Changes categorization, Agentic Batch Changes diagnostics, Coding agent low Finder, Coding agent medium Finder, Coding agent high Finder |
| GPT-5.6 Luna | Deep Search titles, Deep Search compaction, [Code Finder](/api/mcp#code-finder), [Diff Tour](/diff-tour), Agentic Batch Changes titles, Agentic Batch Changes workspace analysis, Agentic Batch Changes schema help |
| GPT-5.4 Nano | [Smart Hover](/code-navigation/smart-hover) |
| Gemini 3.5 Flash-Lite | [Query Assist](/code-search/query-assist), Agentic Batch Changes repository search |
| Claude Opus 5.5 | [Agentic Batch Changes](/agentic-batch-changes), Agentic Batch Changes compaction |
| GPT-6.1 Sol | Coding agent low, Coding agent medium |
| GPT-6 Astra | Coding agent high, Coding agent low Oracle, Coding agent medium Oracle, Coding agent high Oracle |
| GPT Transcribe | [Dictation](https://sourcegraph.com/changelog/agent-dictation) |
| Model | Used by |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| GPT-5.6 Luna | Change request file grouping, Deep Search compaction, [Code Finder](/api/mcp#code-finder), [Diff Tour](/diff-tour), Agentic Batch Changes workspace analysis, Agentic Batch Changes schema help |
| Claude Sonnet 5 | [Deep Search](/deep-search) |
| GPT-6 Luna | Deep Search categorization, Deep Search answer summaries, Deep Search titles, Agentic Batch Changes titles, Agentic Batch Changes categorization, Agentic Batch Changes diagnostics, Coding agent low Finder, Coding agent medium Finder, Coding agent high Finder |
| GPT-5.4 Nano | [Smart Hover](/code-navigation/smart-hover) |
| Gemini 3.5 Flash-Lite | [Query Assist](/code-search/query-assist), Agentic Batch Changes repository search |
| Claude Opus 5.5 | [Agentic Batch Changes](/agentic-batch-changes), Agentic Batch Changes compaction |
| GPT-6.1 Sol | Coding agent low, Coding agent medium |
| GPT-6 Astra | Coding agent high, Coding agent low Oracle, Coding agent medium Oracle, Coding agent high Oracle |
| GPT Transcribe | [Dictation](https://sourcegraph.com/changelog/agent-dictation) |

{/* END GENERATED: ai-models-reference */}
9 changes: 3 additions & 6 deletions docs/cody/capabilities/supported-models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ Cody supports a variety of cutting-edge large language models for use in chat an
| Anthropic | [Claude Opus 5](https://platform.claude.com/docs/en/about-claude/models/whats-new-opus-5) | ✅ | ✅ |
| Anthropic | [Claude Sonnet 5.5](https://platform.claude.com/docs/en/models/sonnet-5-5/overview) | ✅ | ✅ |
| Anthropic | [Claude Sonnet 5](https://platform.claude.com/docs/en/about-claude/models/whats-new-sonnet-5) | ✅ | ✅ |
| Anthropic | [Claude Haiku 4.5](https://platform.claude.com/docs/en/about-claude/models/overview) | ✅ | ✅ |
| Anthropic | [Claude Haiku 4.5 with Thinking](https://platform.claude.com/docs/en/about-claude/models/overview) | ✅ | ✅ |
| Anthropic | [Claude Haiku 5.5](https://platform.claude.com/docs/en/models/haiku-5-5/overview) | ✅ | ✅ |
| Google | [Gemini 3.8 Flash](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/gemini/3-8-flash) | ✅ | ✅ |
| Google | [Gemini 3.5 Flash-Lite](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/gemini/3-5-flash-lite) | ✅ | ✅ |
| Google | [Gemini 3.1 Pro](https://cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/3-1-pro) | ✅ (beta) | ❌ |
Expand All @@ -39,8 +38,6 @@ Cody supports a variety of cutting-edge large language models for use in chat an
Cody uses a set of models for autocomplete which are suited for the low latency use case.
| **Provider** | **Model** | **Status** | **Hosting region** |
| :----------- | :-------- | :--------- | :----------------- |
| Anthropic | [Claude Haiku 4.5](https://platform.claude.com/docs/en/about-claude/models/overview) | ✅ | global |
| Anthropic | [Claude Haiku 4.5 with Thinking](https://platform.claude.com/docs/en/about-claude/models/overview) | ✅ | global |
| Fireworks.ai | DeepSeek V2 Lite Base | ✅ | US Iowa |
| Fireworks.ai | Autoedits Fine-Tune DeepSeek Coder V2 | ✅ | US Iowa |

Expand All @@ -57,6 +54,6 @@ The following models are used by default for each feature when no specific model

| **Feature** | **Default Model** |
| :---------- | :---------------- |
| Chat | Claude Sonnet 5 |
| Chat | Claude Sonnet 5.5 |
| Autocomplete | DeepSeek V2 Lite Base |
| Fast Chat | Claude Haiku 4.5 |
| Fast Chat | Claude Haiku 5.5 |
21 changes: 9 additions & 12 deletions docs/self-hosted/observability/alerts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3198,6 +3198,7 @@ Generated query for critical alert: `(min((sum(src_worker_jobs{job=~"^worker.*",
**Next steps**

- Completed, unexpired SCIP uploads finished 1-96h ago are not represented in the persisted commit graph fast path.
- Uploads whose commit is no longer reachable from any ref (for example, on a deleted branch) are excluded, so the remaining uploads are expected to become visible.
- Check whether the codeintel commit graph updater worker is running and healthy.
- Check worker logs for commit graph update failures.
- Inspect codeintel commit graph freshness and upload processing panels for related backlog or errors.
Expand Down Expand Up @@ -3876,7 +3877,7 @@ Generated query for warning alert: `min((max by (name) (src_github_rate_limit_re

**Descriptions**

- <span class="badge badge-critical">critical</span> worker: less than 30 remaining calls to GitLab rest API before hitting the rate limit
- <span class="badge badge-warning">warning</span> worker: less than 30 remaining calls to GitLab rest API before hitting the rate limit

**Next steps**

Expand All @@ -3886,7 +3887,7 @@ Generated query for warning alert: `min((max by (name) (src_github_rate_limit_re

```json
"observability.silenceAlerts": [
"critical_worker_gitlab_rest_rate_limit_remaining"
"warning_worker_gitlab_rest_rate_limit_remaining"
]
```

Expand All @@ -3895,7 +3896,7 @@ Generated query for warning alert: `min((max by (name) (src_github_rate_limit_re
<details>
<summary>Technical details</summary>

Generated query for critical alert: `min((max by (name) (src_gitlab_rate_limit_remaining{resource="rest"})) &lt;= 30)`
Generated query for warning alert: `min((max by (name) (src_gitlab_rate_limit_remaining{resource="rest"})) &lt;= 30)`

</details>

Expand Down Expand Up @@ -7368,8 +7369,7 @@ Custom query for critical alert: `max(((sum(increase(src_deepsearch_question_pro

**Descriptions**

- <span class="badge badge-warning">warning</span> deepsearch: 3+ questions taking longer than 5 minutes over 15m
- <span class="badge badge-critical">critical</span> deepsearch: 10+ questions taking longer than 5 minutes over 15m
- <span class="badge badge-warning">warning</span> deepsearch: 3+ questions taking longer than 5 minutes over 15m for 10m0s

**Next steps**

Expand All @@ -7381,8 +7381,7 @@ Custom query for critical alert: `max(((sum(increase(src_deepsearch_question_pro

```json
"observability.silenceAlerts": [
"warning_deepsearch_deepsearch_slow_questions",
"critical_deepsearch_deepsearch_slow_questions"
"warning_deepsearch_deepsearch_slow_questions"
]
```

Expand All @@ -7391,9 +7390,7 @@ Custom query for critical alert: `max(((sum(increase(src_deepsearch_question_pro
<details>
<summary>Technical details</summary>

Generated query for warning alert: `max((sum(increase(src_deepsearch_question_processing_duration_seconds_count{operation="question"\}[15m])) - sum(increase(src_deepsearch_question_processing_duration_seconds_bucket\{le="300",operation="question"}[15m]))) &gt; 3)`

Generated query for critical alert: `max((sum(increase(src_deepsearch_question_processing_duration_seconds_count{operation="question"\}[15m])) - sum(increase(src_deepsearch_question_processing_duration_seconds_bucket\{le="300",operation="question"}[15m]))) &gt; 10)`
Generated query for warning alert: `max((sum(increase(src_deepsearch_question_processing_duration_seconds_count{operation="question"\}[15m])) - sum(increase(src_deepsearch_question_processing_duration_seconds_bucket\{le=~"300([.]0)?",operation="question"}[15m]))) &gt; 3)`

</details>

Expand All @@ -7405,7 +7402,7 @@ Generated query for critical alert: `max((sum(increase(src_deepsearch_question_p

**Descriptions**

- <span class="badge badge-critical">critical</span> deepsearch: 3+ truncated questions with no answer produced over 15m
- <span class="badge badge-critical">critical</span> deepsearch: 5+ truncated questions with no answer produced over 15m for 10m0s

**Next steps**

Expand All @@ -7427,7 +7424,7 @@ Generated query for critical alert: `max((sum(increase(src_deepsearch_question_p
<details>
<summary>Technical details</summary>

Generated query for critical alert: `max((sum(increase(src_deepsearch_question_outcome_total{outcome="response_truncated_no_answer"}[15m]))) &gt; 3)`
Custom query for critical alert: `max(((sum(increase(src_deepsearch_question_outcome_total{outcome="response_truncated_no_answer"\}[15m]))) and (sum(increase(src_deepsearch_question_outcome_total\{outcome="response_truncated_no_answer"\}[5m])) &gt;= 2) and (sum(increase(src_deepsearch_question_outcome_total\{outcome="response_truncated_no_answer"}[15m])) / sum(increase(src_deepsearch_question_outcome_total[15m])) &gt;= 0.05) and (sum(increase(src_deepsearch_question_outcome_total[15m])) &gt;= 20)) &gt;= 5)`

</details>

Expand Down
Loading
Loading