diff --git a/build/lib/policies/policyData.jsonc b/build/lib/policies/policyData.jsonc index d1df7469017..3f5211ebe29 100644 --- a/build/lib/policies/policyData.jsonc +++ b/build/lib/policies/policyData.jsonc @@ -915,6 +915,21 @@ "type": "boolean", "default": true, "included": true + }, + { + "key": "dictation.enabled", + "name": "DictationEnabled", + "category": "InteractiveSession", + "minimumVersion": "1.131", + "localization": { + "description": { + "key": "dictation.enabled.policy", + "value": "Controls whether dictation is available across the product (chat input, editor, and terminal)." + } + }, + "type": "boolean", + "default": true, + "included": true } ] } diff --git a/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.ts b/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.ts index 8462aef2ea9..96448c86a3f 100644 --- a/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.ts +++ b/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.ts @@ -260,8 +260,19 @@ configurationRegistry.registerConfiguration({ 'dictation.enabled': { type: 'boolean', markdownDescription: nls.localize('dictation.enabled', "Enables dictation across the product (chat input, editor, and terminal). When enabled on a supported platform, a microphone button appears in the chat input and the dictation shortcut becomes available; the on-device transcription model is downloaded on first use and runs locally."), - default: product.quality !== 'stable', - tags: ['experimental'] + default: true, + tags: ['experimental'], + policy: { + name: 'DictationEnabled', + category: PolicyCategory.InteractiveSession, + minimumVersion: '1.131', + localization: { + description: { + key: 'dictation.enabled.policy', + value: nls.localize('dictation.enabled.policy', "Controls whether dictation is available across the product (chat input, editor, and terminal).") + } + }, + } }, 'dictation.model': { type: 'string',