[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gptel db46b1364e: gptel-privategpt: handle symbol gptel-mo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gptel db46b1364e: gptel-privategpt: handle symbol gptel-model correctly (#470) |
Date: |
Sat, 9 Nov 2024 12:59:57 -0500 (EST) |
branch: elpa/gptel
commit db46b1364e205202bcc11cee0b42ef6bfc529bdb
Author: rosenstrauch <rosenstrauch@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
gptel-privategpt: handle symbol gptel-model correctly (#470)
gptel-privategpt.el (gptel--request-data): Handle symbol-type gptel-model
correctly.
---
gptel-privategpt.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gptel-privategpt.el b/gptel-privategpt.el
index 80c05fb45a..a10695f786 100644
--- a/gptel-privategpt.el
+++ b/gptel-privategpt.el
@@ -85,7 +85,7 @@
(cl-defmethod gptel--request-data ((_backend gptel-privategpt) prompts)
"JSON encode PROMPTS for sending to ChatGPT."
(let ((prompts-plist
- `(:model ,gptel-model
+ `(:model ,(gptel--model-name gptel-model)
:messages [,@prompts]
:use_context ,(or (gptel-privategpt-context gptel-backend)
:json-false)
:include_sources ,(or (gptel-privategpt-sources gptel-backend)
:json-false)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/gptel db46b1364e: gptel-privategpt: handle symbol gptel-model correctly (#470),
ELPA Syncer <=