branch: externals/minuet
commit 5253d754f0683aed3134f3a48853798714170763
Author: Milan Glacier <d...@milanglacier.com>
Commit: Milan Glacier <d...@milanglacier.com>

    refactor: minor cleanup.
---
 minuet.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/minuet.el b/minuet.el
index c54fa84eab..4ca67f4f51 100644
--- a/minuet.el
+++ b/minuet.el
@@ -1218,7 +1218,7 @@ their endpoint and API key."
            (current-model (plist-get options :model))
            (model (read-string "Model: " (or current-model ""))))
 
-        (setf (plist-get (symbol-value options-sym) :model) model)
+        (plist-put options :model model)
 
         ;; For OpenAI compatible providers, also configure endpoint and API key
         (when (memq provider '(openai-compatible openai-fim-compatible))
@@ -1229,8 +1229,8 @@ their endpoint and API key."
                                          (if (stringp current-api-key)
                                                  current-api-key
                                              ""))))
-                (setf (plist-get (symbol-value options-sym) :end-point) 
endpoint)
-                (setf (plist-get (symbol-value options-sym) :api-key) 
api-key)))
+                (plist-put options :end-point endpoint)
+                (plist-put options :api-key api-key)))
 
         (setq minuet-provider provider)
         (message "Minuet provider configured to %s with model %s" 
provider-name model)))

Reply via email to