Skip to content

Commit c9eb197

Browse files
authored
mcp: fix prompts not being fixed on update notifications (microsoft#250059)
🤦
1 parent 40b2fd1 commit c9eb197

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/mcp/common/mcpServer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,8 +617,8 @@ export class McpServer extends Disposable implements IMcpServer {
617617
}));
618618

619619
store.add(handler.onDidChangePromptList(() => {
620-
handler.logger.info('Prompts list changed, refreshing tools...');
621-
updateTools(undefined);
620+
handler.logger.info('Prompts list changed, refreshing prompts...');
621+
updatePrompts(undefined);
622622
}));
623623

624624
transaction(tx => {

0 commit comments

Comments
 (0)