Skip to content

Commit

Permalink
gptel: Fix gptel--parse-directive (again)
Browse files Browse the repository at this point in the history
* gptel.el (gptel--parse-directive): Handle missing 'raw' argument
correctly.
  • Loading branch information
karthink committed Nov 30, 2024
1 parent 7cf8e3b commit 5c7369f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gptel.el
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ returned as a list of strings."
(and directive
(cl-etypecase directive
(string (list directive))
(function (gptel--parse-directive (funcall directive)))
(function (gptel--parse-directive (funcall directive) raw))
(cons (if raw directive
(cons (car directive)
(gptel--parse-list
Expand Down

0 comments on commit 5c7369f

Please sign in to comment.