Skip to content

Commit 32f5e90

Browse files
author
xenodium
committed
Potentially fixing #285
1 parent 054a563 commit 32f5e90

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

chatgpt-shell-anthropic.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ or
195195
(mapconcat (lambda (content)
196196
(let-alist content
197197
.text))
198-
.content)))))
198+
.content "")))))
199199
response
200200
(if-let ((chunks (shell-maker--split-text raw-response)))
201201
(let ((response)

chatgpt-shell-google.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ For example:
229229
(let-alist choice
230230
(or .delta.content
231231
.message.content)))
232-
.choices)))))
232+
.choices "")))))
233233
response
234234
(if-let ((chunks (shell-maker--split-text raw-response)))
235235
(let ((response)

chatgpt-shell-openai.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Otherwise:
207207
(let-alist choice
208208
(or .delta.content
209209
.message.content)))
210-
.choices)))))
210+
.choices "")))))
211211
response
212212
(when-let ((chunks (shell-maker--split-text raw-response)))
213213
(let ((response)
@@ -227,7 +227,7 @@ Otherwise:
227227
(let-alist choice
228228
(or .delta.content
229229
.message.content)))
230-
.choices)))))
230+
.choices "")))))
231231
(unless (string-empty-p text)
232232
(setq response (concat response text)))
233233
(setq pending (concat pending

chatgpt-shell-perplexity.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Otherwise:
158158
.message.content)
159159
(t
160160
""))))
161-
.choices)))))
161+
.choices "")))))
162162
(let ((citations (let-alist whole
163163
.citations)))
164164
(chatgpt-shell-perplexity--expand-citations
@@ -183,7 +183,7 @@ Otherwise:
183183
(let-alist choice
184184
(or .delta.content
185185
.message.content)))
186-
.choices)))))
186+
.choices "")))))
187187
(progn
188188
(setq citations (let-alist obj
189189
.citations))

0 commit comments

Comments
 (0)