Skip to content

Commit

Permalink
Fix model selection service initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostwriternr committed Sep 18, 2024
1 parent 7525a00 commit c626678
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
18 changes: 8 additions & 10 deletions extensions/codestory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,20 @@
"*"
],
"enabledApiProposals": [
"inlineCompletionsAdditions",
"interactive",
"chatProvider",
"aideGetInlayHintsProvider",
"aideGetCodeLensProvider",
"aideGetInlayHintsProvider",
"aideProbe",
"chatParticipantAdditions",
"chatParticipantPrivate",
"aideChatParticipant",
"aideChatVariableResolver",
"aideProbe",
"chatProvider",
"chatVariableResolver",
"csAuthentication",
"csevents",
"defaultChatParticipant",
"chatVariableResolver",
"inlineCompletionsAdditions",
"interactive",
"modelSelection",
"terminalSelection",
"csAuthentication"
"terminalSelection"
],
"files": [
"src/llm/embeddings/models/**/*",
Expand Down
2 changes: 0 additions & 2 deletions extensions/codestory/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
"include": [
"src/**/*",
"../../src/vscode-dts/vscode.d.ts",
"../../src/vscode-dts/vscode.proposed.aideChatParticipant.d.ts",
"../../src/vscode-dts/vscode.proposed.aideChatVariableResolver.d.ts",
"../../src/vscode-dts/vscode.proposed.aideProbe.d.ts",
"../../src/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts",
"../../src/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/vs/platform/actions/common/menuService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ class MenuInfo extends MenuInfoSnapshot {
const menuHide = createMenuHide(this._id, isMenuItem ? item.command : item, this._hiddenStates);
if (isMenuItem) {
// MenuItemAction
const menuKeybinding = createConfigureKeybindingAction(this._commandService, this._keybindingService, item.command.id, item.when);
(activeActions ??= []).push(new MenuItemAction(item.command, item.alt, options, menuHide, menuKeybinding, this._contextKeyService, this._commandService));
// const menuKeybinding = createConfigureKeybindingAction(this._commandService, this._keybindingService, item.command.id, item.when);
(activeActions ??= []).push(new MenuItemAction(item.command, item.alt, options, menuHide, undefined, this._contextKeyService, this._commandService));
} else {
// SubmenuItemAction
const groups = new MenuInfo(item.submenu, this._hiddenStates, this._collectContextKeysForSubmenus, this._commandService, this._keybindingService, this._contextKeyService).createActionGroups(options);
Expand Down
1 change: 1 addition & 0 deletions src/vs/workbench/workbench.common.main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ import './services/authentication/browser/authenticationAccessService.js';
import '../editor/browser/services/hoverService/hoverService.js';
import './services/assignment/common/assignmentService.js';
import './services/outline/browser/outlineService.js';
import './services/aiModel/browser/aiModelService.js';
import './services/languageDetection/browser/languageDetectionWorkerServiceImpl.js';
import '../editor/common/services/languageFeaturesService.js';
import '../editor/common/services/csEventsService.js';
Expand Down

0 comments on commit c626678

Please sign in to comment.