Skip to content

Commit 8aa85b8

Browse files
authored
Region-based feature flags for AI Error Help (#6290)
This sets feature flags for the blocks error list (globally enabled) and the AI Error Help (currently set to US only, though we'll likely want to change that to a different region before shipping). Support for region-based feature flags is added in microsoft/pxt#10621
1 parent b61df02 commit 8aa85b8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pxtarget.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,14 +430,18 @@
430430
"workspaceSearch": true,
431431
"allowPackageExtensions": true,
432432
"addNewTypeScriptFile": true,
433-
"aiErrorHelp": true,
433+
"enabledFeatures": {
434+
"blocksErrorList": {},
435+
"aiErrorHelp": {
436+
"includeRegions": ["US"]
437+
}
438+
},
434439
"experiments": [
435440
"accessibleBlocks",
436441
"debugExtensionCode",
437442
"bluetoothUartConsole",
438443
"bluetoothPartialFlashing",
439-
"identity",
440-
"blocksErrorList"
444+
"identity"
441445
],
442446
"supportedExperiences": [
443447
"code-eval"

0 commit comments

Comments
 (0)