branch: externals/minuet
commit dd8301f05dce2c5c536947a6b9bd262a81018e69
Author: Milan Glacier <[email protected]>
Commit: Milan Glacier <[email protected]>
refactor: some minor cosmetic change.
---
minuet.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/minuet.el b/minuet.el
index cbc3487da2..8377ef70b2 100644
--- a/minuet.el
+++ b/minuet.el
@@ -1182,7 +1182,8 @@ to be called when completion items arrive."
:model ,(plist-get options :model)
:messages ,(vconcat
`((:role "system"
- :content ,(minuet--make-system-prompt
(plist-get options :system))))
+ :content ,(minuet--make-system-prompt
+ (plist-get options :system))))
(minuet--eval-value (plist-get options :fewshots))
(--> (minuet--make-chat-llm-shot context options)
minuet--create-chat-messages-from-list))))
@@ -1315,7 +1316,8 @@ to be called when completion items arrive."
(fewshots (minuet--eval-value (plist-get options :fewshots)))
(fewshots (minuet--transform-openai-chat-to-gemini-chat fewshots))
(body `(,@(plist-get options :optional)
- :system_instruction (:parts (:text
,(minuet--make-system-prompt (plist-get options :system))))
+ :system_instruction
+ (:parts (:text ,(minuet--make-system-prompt (plist-get
options :system))))
:contents ,(vconcat
fewshots
(--> (minuet--make-chat-llm-shot context options)