mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-14 17:54:53 +01:00
Make dictation enterprise managed (#327340)
* Make dictation enterprise managed Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 18f58fa9-d1dc-472f-8b3c-a59f64d8ba2a * Add DictationEnabled to policyData.jsonc Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com> Copilot-Session: 18f58fa9-d1dc-472f-8b3c-a59f64d8ba2a
This commit is contained in:
co-authored by
copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
meganrogge
parent
0e001d5176
commit
6201f0a052
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user