This commit is contained in:
eleanorjboyd
2026-01-28 14:41:38 -08:00
parent 7b2081533c
commit 032f6b93db
2 changed files with 2 additions and 4 deletions
@@ -151,8 +151,6 @@ export class ModePickerActionItem extends ChatInputPickerActionViewItem {
return mode.source.storage === PromptsStorage.local || mode.source.storage === PromptsStorage.user;
};
const isImplementMode = (mode: IChatMode) => isBuiltinImplementMode(mode, this._productService);
const actionProviderWithCustomAgentTarget: IActionWidgetDropdownActionProvider = {
getActions: () => {
const modes = chatModeService.getModes();
@@ -182,7 +180,7 @@ export class ModePickerActionItem extends ChatInputPickerActionViewItem {
const otherBuiltinModes = modes.builtin.filter(mode => mode.id !== ChatMode.Agent.id && !(shouldHideEditMode && mode.id === ChatMode.Edit.id));
// Filter out 'implement' mode from the dropdown - it's available for handoffs but not user-selectable
const customModes = groupBy(
modes.custom.filter(mode => !isImplementMode(mode)),
modes.custom,
mode => isModeConsideredBuiltIn(mode, this._productService) ? 'builtin' : 'custom');
const customBuiltinModeActions = customModes.builtin?.map(mode => {
@@ -329,7 +329,7 @@ export interface IHandOff {
readonly prompt: string;
readonly send?: boolean;
readonly showContinueOn?: boolean; // treated exactly like send (optional boolean)
readonly model?: string; // qualified model name to switch to (e.g., "GPT-4o (copilot)")
readonly model?: string; // qualified model name to switch to (e.g., "GPT-5 (copilot)")
}
export interface IHeaderAttribute {