[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gptel 2b2dbe2664 043/273: gptel: Fix parsing error in url-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gptel 2b2dbe2664 043/273: gptel: Fix parsing error in url-retrieve buffer |
Date: |
Wed, 1 May 2024 10:01:34 -0400 (EDT) |
branch: elpa/gptel
commit 2b2dbe2664851cde53f4f03be41c158c5c45df0d
Author: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
gptel: Fix parsing error in url-retrieve buffer
* gptel.el (gptel--url-parse-response): Fix parsing error.
---
gptel.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gptel.el b/gptel.el
index 58678f5af4..5d0202f216 100644
--- a/gptel.el
+++ b/gptel.el
@@ -348,8 +348,8 @@ INFO is a plist with the following keys:
((string-match-p "200 OK" status)
(list :content (string-trim
(decode-coding-string
- (content (map-nested-elt
- response '(:choices 0 :message
:content)))
+ (map-nested-elt
+ response '(:choices 0 :message :content))
'utf-8))
:status status))
((plist-get response :error)
- [nongnu] elpa/gptel 5e9e36d854 219/273: gptel: rear-nonsticky text-property by default, (continued)
- [nongnu] elpa/gptel 5e9e36d854 219/273: gptel: rear-nonsticky text-property by default, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 3d6147830e 220/273: gptel: Fix model/backend mismatch (#242), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 07992f79cc 227/273: gptel-anthropic: Support for the Claude haiku model, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel fbb0ee29c4 224/273: gptel-org-test: Add mores tests for org conversion, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 376fb4b423 234/273: gptel-transient: Additional directives option (#249), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 34a52aa047 246/273: gptel-anthropic: Remove debug code, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel e3b3591d73 240/273: README: Add support for Groq (#257), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 81bb467104 250/273: gptel: Set window when running post-response hook, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel b4088e3f7b 261/273: README: New pacakge based on gptel, magit-gptcommit (#281), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 9b094b8b1e 265/273: gptel: Fix url-retrieve response parser bug, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 2b2dbe2664 043/273: gptel: Fix parsing error in url-retrieve buffer,
ELPA Syncer <=
- [nongnu] elpa/gptel 5ebaf361f1 046/273: gptel: Handle the prompt prefix string automatically, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel c6abda6f0f 075/273: gptel-transient: Rename gptel-send-menu -> gptel-menu, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 8a9ae56e77 074/273: gptel: Add streaming, in-place options to gptel-request, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel ba133267ec 063/273: gptel: Run post-response-hook after inserting response, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 23caab41cf 042/273: Add gpt-4 model, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 1c07a94e18 052/273: README: Update manual install instructions, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel f0953d569e 069/273: gptel: Simplify response API, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 6c47c0a483 066/273: README: Add videos with streaming, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel c11e53061c 078/273: gptel-transient: New gptel-menu transient options, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 422eba8048 087/273: gptel-curl: Run post-response-hook in gptel buffer, ELPA Syncer, 2024/05/01