File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ the response."
219219;;;### autoload
220220(cl-defun gptel-make-perplexity
221221 (name &key curl-args stream key
222- (header
222+ (header
223223 (lambda () (when-let* ((key (gptel--get-api-key)))
224224 `((" Authorization" . ,(concat " Bearer " key))))))
225225 (host " api.perplexity.ai" )
@@ -309,7 +309,7 @@ parameters."
309309 (when (and (stringp reasoning) (length> reasoning 0 ))
310310 (plist-put info :reasoning reasoning))))
311311
312- (cl-defmethod gptel--parse-buffer :around ((_backend gptel-deepseek) max -entries)
312+ (cl-defmethod gptel--parse-buffer :around ((_backend gptel-deepseek) _max -entries)
313313 " Merge successive prompts in the prompts list that have the same role.
314314
315315The Deepseek API requires strictly alternating roles (user/assistant) in messages."
@@ -346,7 +346,9 @@ The Deepseek API requires strictly alternating roles (user/assistant) in message
346346 :context-window 64
347347 :input-cost 0.27
348348 :output-cost 1.10 ))))
349- " Register a DeepSeek backend for gptel with NAME."
349+ " Register a DeepSeek backend for gptel with NAME.
350+
351+ For the meanings of the keyword arguments, see `gptel-make-openai' ."
350352 (declare (indent 1 ))
351353 (let ((backend (gptel--make-deepseek
352354 :name name
Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ information, in the form
522522 (model-name . plist)
523523
524524For a list of currently recognized plist keys, see
525- `gptel--openai-models' . An example of a model specification
525+ `gptel--openai-models' . An example of a model specification
526526including both kinds of specs:
527527
528528:models
Original file line number Diff line number Diff line change @@ -1129,6 +1129,7 @@ supports. See `gptel-track-media' for more information."
11291129
11301130(declare-function gptel-context--at-point " gptel-context" )
11311131(declare-function gptel-add " gptel-context" )
1132+ (declare-function gptel-context-add-current-kill " gptel-context" )
11321133
11331134(transient-define-suffix gptel--infix-context-add-current-kill (&optional arg)
11341135 " Add current kill to gptel's context."
You can’t perform that action at this time.
0 commit comments