Skip to content

Commit

Permalink
feat(telemetry): add code actions and rename candidates event track (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bytemain authored Apr 19, 2024
1 parent 6a7261a commit d59bb5f
Show file tree
Hide file tree
Showing 21 changed files with 519 additions and 244 deletions.
12 changes: 8 additions & 4 deletions packages/ai-native/src/browser/ai-core.contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,22 +204,26 @@ export class AINativeBrowserContribution
});

registry.registerSettingSection(AI_NATIVE_SETTING_GROUP_ID, {
title: localize('preference.aiNative.chat.title'),
title: localize('preference.ai.native.chat.title'),
preferences: [
{
id: AINativeSettingSectionsId.CHAT_VISIBLE_TYPE,
localized: 'preference.aiNative.chat.visible.type',
localized: 'preference.ai.native.chat.visible.type',
},
],
});

if (this.aiNativeConfigService.capabilities.supportsInlineChat) {
registry.registerSettingSection(AI_NATIVE_SETTING_GROUP_ID, {
title: localize('preference.aiNative.inlineChat.title'),
title: localize('preference.ai.native.inlineChat.title'),
preferences: [
{
id: AINativeSettingSectionsId.INLINE_CHAT_AUTO_VISIBLE,
localized: 'preference.aiNative.inlineChat.auto.visible',
localized: 'preference.ai.native.inlineChat.auto.visible',
},
{
id: AINativeSettingSectionsId.INLINE_CHAT_CODE_ACTION_ENABLED,
localized: 'preference.ai.native.inlineChat.codeAction.enabled',
},
],
});
Expand Down
Loading

0 comments on commit d59bb5f

Please sign in to comment.