gptel-anthropic: Modify order of request items
* gptel-anthropic.el (gptel--request-data): Move the messages to the end of the request data object for easier inspection.
This commit is contained in:
parent
12340eda46
commit
e5f54d1d09
1 changed files with 2 additions and 2 deletions
|
@ -65,12 +65,12 @@
|
|||
"JSON encode PROMPTS for sending to ChatGPT."
|
||||
(let ((prompts-plist
|
||||
`(:model ,gptel-model
|
||||
:messages [,@prompts]
|
||||
:system ,gptel--system-message
|
||||
:stream ,(or (and gptel-stream gptel-use-curl
|
||||
(gptel-backend-stream gptel-backend))
|
||||
:json-false)
|
||||
:max_tokens ,(or gptel-max-tokens 1024))))
|
||||
:max_tokens ,(or gptel-max-tokens 1024)
|
||||
:messages [,@prompts])))
|
||||
(when gptel-temperature
|
||||
(plist-put prompts-plist :temperature gptel-temperature))
|
||||
prompts-plist))
|
||||
|
|
Loading…
Add table
Reference in a new issue