Skip to content

Commit

Permalink
gptel-context: Fix typo
Browse files Browse the repository at this point in the history
* gptel-context.el (gptel-context-add): Fix typo in code to add an
image buffer to the context.
  • Loading branch information
karthink committed Dec 24, 2024
1 parent 55b9f61 commit c165342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gptel-context.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c165342

Please sign in to comment.