mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-22 16:19:52 +01:00
Merge pull request #313528 from microsoft/dev/mjbvz/original-orangutan
Tweak external ingest settings
This commit is contained in:
@@ -4145,16 +4145,6 @@
|
||||
"onExp"
|
||||
]
|
||||
},
|
||||
"github.copilot.chat.workspace.maxDiffSizeBeforeUsingExternalIngest": {
|
||||
"type": "number",
|
||||
"default": 100,
|
||||
"markdownDescription": "%github.copilot.config.workspace.maxDiffSizeBeforeUsingExternalIngest%",
|
||||
"tags": [
|
||||
"advanced",
|
||||
"experimental",
|
||||
"onExp"
|
||||
]
|
||||
},
|
||||
"github.copilot.chat.workspace.preferredEmbeddingsModel": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
@@ -4891,6 +4881,15 @@
|
||||
"tags": [
|
||||
"advanced"
|
||||
]
|
||||
},
|
||||
"github.copilot.chat.workspace.codeSearchExternalIngest.enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"markdownDescription": "%github.copilot.config.workspace.codeSearchExternalIngest.enabled%",
|
||||
"tags": [
|
||||
"advanced",
|
||||
"onExp"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -177,6 +177,7 @@
|
||||
"github.copilot.config.localIndex.enabled": "Enable local session tracking. When enabled, session data is tracked locally for /chronicle commands.",
|
||||
"github.copilot.config.sessionSearch.cloudSync.enabled": "Enable cloud sync for session data. When enabled, session data is synced to your Copilot account for cross-device access.",
|
||||
"github.copilot.config.sessionSearch.cloudSync.excludeRepositories": "Repository patterns to exclude from cloud sync. Use exact `owner/repo` names or glob patterns like `my-org/*`. Sessions from matching repos will only be stored locally.",
|
||||
"github.copilot.config.workspace.codeSearchExternalIngest.enabled": "Enable external ingest for semantic codebase search.",
|
||||
"copilot.workspace.explain.description": "Explain how the code in your active editor works",
|
||||
"copilot.workspace.edit.description": "Edit files in your workspace",
|
||||
"copilot.workspace.review.description": "Review the selected code in your active editor",
|
||||
@@ -366,7 +367,6 @@
|
||||
"github.copilot.config.projectLabels.inline": "Add project labels in inline edit requests.",
|
||||
"github.copilot.config.workspace.maxLocalIndexSize": "Maximum size of the local workspace index.",
|
||||
"github.copilot.config.workspace.enableCodeSearch": "Enable code search in workspace context.",
|
||||
"github.copilot.config.workspace.maxDiffSizeBeforeUsingExternalIngest": "Maximum number of local changes before we start using using external ingest.",
|
||||
"github.copilot.config.workspace.preferredEmbeddingsModel": "Preferred embeddings model for semantic search.",
|
||||
"github.copilot.config.workspace.prototypeAdoCodeSearchEndpointOverride": "Override endpoint for Azure DevOps code search prototype.",
|
||||
"github.copilot.config.feedback.onChange": "Enable feedback collection on configuration changes.",
|
||||
|
||||
@@ -637,7 +637,7 @@ export namespace ConfigKey {
|
||||
export const ProjectLabelsInline = defineAndMigrateExpSetting<boolean>('chat.advanced.projectLabels.inline', 'chat.projectLabels.inline', false);
|
||||
export const WorkspaceMaxLocalIndexSize = defineAndMigrateExpSetting<number>('chat.advanced.workspace.maxLocalIndexSize', 'chat.workspace.maxLocalIndexSize', 100_000);
|
||||
export const WorkspaceEnableCodeSearch = defineAndMigrateExpSetting<boolean>('chat.advanced.workspace.enableCodeSearch', 'chat.workspace.enableCodeSearch', true);
|
||||
export const WorkspaceMaxDiffSizeBeforeUsingExternalIngest = defineAndMigrateExpSetting<number>('chat.advanced.workspace.maxDiffSizeBeforeUsingExternalIngest', 'chat.workspace.maxDiffSizeBeforeUsingExternalIngest', 100);
|
||||
export const WorkspaceEnableCodeSearchExternalIngest = defineSetting<boolean>('chat.workspace.codeSearchExternalIngest.enabled', ConfigType.ExperimentBased, false, undefined, undefined, { experimentName: 'copilotchat.config.chat.advanced.workspace.codeSearchExternalIngest.enabled' });
|
||||
export const WorkspacePreferredEmbeddingsModel = defineAndMigrateExpSetting<string>('chat.advanced.workspace.preferredEmbeddingsModel', 'chat.workspace.preferredEmbeddingsModel', '');
|
||||
export const NotebookAlternativeDocumentFormat = defineAndMigrateExpSetting<AlternativeNotebookFormat>('chat.advanced.notebook.alternativeFormat', 'chat.notebook.alternativeFormat', AlternativeNotebookFormat.xml);
|
||||
export const UseAlternativeNESNotebookFormat = defineAndMigrateExpSetting<boolean>('chat.advanced.notebook.alternativeNESFormat.enabled', 'chat.notebook.alternativeNESFormat.enabled', false);
|
||||
@@ -888,7 +888,6 @@ export namespace ConfigKey {
|
||||
export const RetryNetworkErrors = defineSetting<boolean>('chat.advanced.enableRetryNetworkErrors', ConfigType.ExperimentBased, true);
|
||||
export const RetryServerErrorStatusCodes = defineSetting<string>('chat.advanced.retryServerErrorStatusCodes', ConfigType.ExperimentBased, '500,502');
|
||||
export const FallbackNodeFetchOnNetworkProcessCrash = defineSetting<boolean>('chat.advanced.enableFallbackNodeFetchOnNetworkProcessCrash', ConfigType.ExperimentBased, true);
|
||||
export const WorkspaceEnableCodeSearchExternalIngest = defineTeamInternalSetting<boolean>('chat.advanced.workspace.codeSearchExternalIngest.enabled', ConfigType.ExperimentBased, false);
|
||||
export const ChatRequestPowerSaveBlocker = defineTeamInternalSetting<boolean>('chat.advanced.chatRequestPowerSaveBlocker', ConfigType.ExperimentBased, true);
|
||||
/** Enable WebSocket transport for Responses API requests. When enabled, uses a persistent WebSocket connection per conversation instead of individual HTTP requests. */
|
||||
export const ResponsesApiWebSocketEnabled = defineTeamInternalSetting<boolean>('chat.advanced.responsesApi.webSocket.enabled', ConfigType.ExperimentBased, true);
|
||||
|
||||
+1
-1
@@ -435,7 +435,7 @@ export class CodeSearchChunkSearch extends Disposable {
|
||||
}
|
||||
|
||||
public isExternalIngestEnabled(): boolean | 'force' {
|
||||
return this._configService.getExperimentBasedConfig<boolean>(ConfigKey.TeamInternal.WorkspaceEnableCodeSearchExternalIngest, this._experimentationService);
|
||||
return this._configService.getExperimentBasedConfig<boolean>(ConfigKey.Advanced.WorkspaceEnableCodeSearchExternalIngest, this._experimentationService);
|
||||
}
|
||||
|
||||
public getRemoteIndexState(): CodeSearchRemoteIndexState {
|
||||
|
||||
Reference in New Issue
Block a user