From c165342f436b4090bfddc4aab3d54a2843d206e7 Mon Sep 17 00:00:00 2001 From: Karthik Chikmagalur Date: Tue, 24 Dec 2024 08:11:43 -0800 Subject: [PATCH] gptel-context: Fix typo * gptel-context.el (gptel-context-add): Fix typo in code to add an image buffer to the context. --- gptel-context.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gptel-context.el b/gptel-context.el index bd3e3529..ac266499 100644 --- a/gptel-context.el +++ b/gptel-context.el @@ -116,7 +116,7 @@ context chunk. This is accessible as, for example: (dired-get-marked-files))) ;; If in an image buffer ((and (derived-mode-p 'image-mode) - (gptel--model-capable-p 'media;) + (gptel--model-capable-p 'media) (buffer-file-name)) (funcall (if (and arg (< (prefix-numeric-value arg) 0)) #'gptel-context-remove