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
4 changes: 3 additions & 1 deletion docs/admin/config/settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ 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 All @@ -119,6 +118,9 @@ Settings options and their default values are shown below.
// The number of seconds to execute the aggregation for when running in extended timeout mode. This value should always be less than any proxy timeout if one exists. The maximum value is equal to searchLimits.maxTimeoutSeconds
"insights.aggregations.extendedTimeout": 55,

// Hides the MCP section on the integrations page, for example when users should install the Sourcegraph MCP server from an MCP gateway's catalog instead of connecting to it directly. This does not disable the MCP server.
"integrations.hideMCPSetupGuide": false,

// Custom informational messages to display to users at specific locations in the Sourcegraph user interface.
// Usually this setting is used in global and organization settings. If set in user settings, the message will only be displayed to that single user.
"notices": null,
Expand Down
5 changes: 0 additions & 5 deletions docs/admin/config/site-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,6 @@ All advanced configuration options and their default values are shown below.
"commands": false
},

// Enables the computation of contributor statistics per author and repository. Will all commits of each repository initially, and then work on deltas.
// Other example values:
// - true
"contributorsDataEnabled": true,

// Required when using any of the native code host integrations for Phabricator, GitLab, or Bitbucket Server. It is a space-separated list of allowed origins for cross-origin HTTP requests which should be the base URL for your Phabricator, GitLab, or Bitbucket Server instance.
// Other example values:
// - "https://my-phabricator.example.com https://my-bitbucket.example.com https://my-gitlab.example.com"
Expand Down
1 change: 1 addition & 0 deletions docs/admin/repo/perforce.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ With this setting, Sourcegraph will ignore any rules with a host other than `*`,
// Configuration for the experimental p4-fusion client
"fusionClient": {
"cacheLabels": false,
"converter": "p4-fusion",
"enabled": false,
"fsyncEnable": false,
"includeBinaries": false,
Expand Down
2 changes: 1 addition & 1 deletion docs/ai/models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This reference lists the models currently used by [Sourcegraph AI features](/ai)
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Claude Haiku 5.5 | Deep Search titles, [Code Finder](/api/mcp#code-finder), [Smart Hover](/code-navigation/smart-hover), Agentic Batch Changes titles, Agentic Batch Changes workspace analysis, Agentic Batch Changes schema help, Coding agent low Finder, Coding agent medium Finder, Coding agent high Finder |
| Claude Opus 5.5 | [Agentic Batch Changes](/agentic-batch-changes), Agentic Batch Changes compaction |
| Claude Sonnet 5 | [Deep Search](/deep-search) |
| Claude Sonnet 5.5 | [Deep Search](/deep-search) |
| Gemini 3.5 Flash-Lite | [Query Assist](/code-search/features#query-assist), Agentic Batch Changes repository search |
| Gemini 4 Argon | Coding agent high |
| GPT Transcribe | [Dictation](https://sourcegraph.com/changelog/agent-dictation) |
Expand Down
11 changes: 6 additions & 5 deletions docs/self-hosted/observability/alerts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7544,20 +7544,21 @@ Custom query for critical alert: `max(((sum by (workload, agent) (increase(src_a

**Descriptions**

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

**Next steps**

- Search worker logs for: "answer truncated due to output token limit with no response generated" to find affected questionIDs.
- The output token budget was consumed before any answer text was produced, usually by reasoning tokens, so affected users got nothing back.
- Check if a recent model change or reasoning effort change caused increased thinking token usage.
- Check whether a Deep Search model, reasoning effort, or output token limit change, or a deploy, landed shortly before the alert started. If one did, it is the likely cause: roll it back.
- Otherwise, search worker logs for: "answer truncated due to output token limit with no response generated" and group by the logged userID. Bursts so far have come from one user or API client sending a batch of questions, cleared on their own within about 20 minutes, and needed no action.
- If affected users are spread out, check for an upstream model problem: compare per-model stream duration (`sum by (model) (rate(src_completions_stream_duration_seconds_sum[10m])) / sum by (model) (rate(src_completions_stream_duration_seconds_count[10m]))`) with the hours before, and check the model provider status page.
- Compare against `deepsearch_response_truncated`: elevated truncations alone are usually users requesting very large outputs and are not a regression.
- More help interpreting this metric is available in the [dashboards reference](/self-hosted/observability/dashboards#deepsearch-deepsearch_response_truncated_no_answer).
- **Silence this alert:** If you are aware of this alert and want to silence notifications for it, add the following to your site configuration and set a reminder to re-evaluate the alert:

```json
"observability.silenceAlerts": [
"critical_deepsearch_deepsearch_response_truncated_no_answer"
"warning_deepsearch_deepsearch_response_truncated_no_answer"
]
```

Expand All @@ -7566,7 +7567,7 @@ Custom query for critical alert: `max(((sum by (workload, agent) (increase(src_a
<details>
<summary>Technical details</summary>

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)`
Custom query for warning 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
2 changes: 1 addition & 1 deletion docs/self-hosted/observability/dashboards.mdx

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading