Update feature toggle for 'ask-code'

- Changed the 'ask-code' feature toggle from true to false in the feature_toggles.ts file.
This commit is contained in:
bobo.yang 2023-08-24 10:45:51 +08:00
parent 9c16bced23
commit 6d75c0d853

View File

@ -5,11 +5,12 @@ import * as path from 'path';
const featureTogglesJson = ` const featureTogglesJson = `
{ {
"ask-code-summary": false, "ask-code-summary": false,
"ask-code": true, "ask-code": false,
"ask-code-dfs": false "ask-code-dfs": false
}`; }`;
const featureToggles = JSON.parse(featureTogglesJson); const featureToggles = JSON.parse(featureTogglesJson);
export function FT(feature: string): boolean { export function FT(feature: string): boolean {
const betaInvitationCode = vscode.workspace.getConfiguration('DevChat').get<string>('betaInvitationCode'); const betaInvitationCode = vscode.workspace.getConfiguration('DevChat').get<string>('betaInvitationCode');
const expectedInvitationCode = 'WELCOMEADDTODEVCHAT'; const expectedInvitationCode = 'WELCOMEADDTODEVCHAT';