Skip to content

Commit fd68235

Browse files
authored
restore actions for MCP buckets (microsoft#249870)
1 parent 804f18c commit fd68235

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,16 @@ export async function showToolsPicker(
129129
continue;
130130
}
131131

132+
const buttons: ActionableButton[] = [];
133+
132134
bucket = toolBuckets.get(key) ?? {
133135
type: 'item',
134136
label: localize('mcplabel', "MCP Server: {0}", toolSetOrTool.source.label),
135137
ordinal: BucketOrdinal.Mcp,
136138
picked: false,
137139
alwaysShow: true,
138-
children: []
140+
children: [],
141+
buttons
139142
};
140143
toolBuckets.set(key, bucket);
141144

0 commit comments

Comments
 (0)