Adds dynamic Claude model fetching and management #1
@@ -50,7 +50,7 @@ export class NotePromptsCommand {
|
|||||||
editor: Editor,
|
editor: Editor,
|
||||||
view: MarkdownView
|
view: MarkdownView
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
if (!editor || !view) {
|
if (!NotePromptsCommand.canExecute(editor, view)) {
|
||||||
new Notice('No active note found. Please open a note first.');
|
new Notice('No active note found. Please open a note first.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user