Skip to content

Commit 70f1672

Browse files
authored
add notebook tagged tools (#408)
1 parent 0d60b58 commit 70f1672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension/intents/node/notebookEditorIntent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const getTools = (instaService: IInstantiationService, request: vscode.ChatReque
5757
lookForTools.add(ToolName.RunNotebookCell);
5858
lookForTools.add(ToolName.ReadCellOutput);
5959

60-
return toolsService.getEnabledTools(request, tool => lookForTools.has(tool.name));
60+
return toolsService.getEnabledTools(request, tool => lookForTools.has(tool.name) || tool.tags.includes('notebooks'));
6161
});
6262

6363
export class NotebookEditorIntent extends EditCodeIntent {

0 commit comments

Comments
 (0)