diff options
Diffstat (limited to 'llm-github.el')
| -rw-r--r-- | llm-github.el | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/llm-github.el b/llm-github.el index 4bb1448..063030f 100644 --- a/llm-github.el +++ b/llm-github.el @@ -28,8 +28,19 @@ (require 'llm) (require 'llm-azure) -(cl-defstruct (llm-github (:include llm-azure - (url "https://models.inference.ai.azure.com")))) +(cl-defstruct (llm-github + (:include llm-azure + (url "https://models.inference.ai.azure.com")) + (:constructor make-llm-github + (&key default-chat-temperature + default-chat-max-tokens + default-chat-non-standard-params + ((:key raw-key)) + (chat-model "unset") + (embedding-model "unset") + (url "https://models.inference.ai.azure.com") + &aux + (key (llm-provider-utils--wrap-key raw-key)))))) (cl-defmethod llm-provider-chat-url ((provider llm-github)) (format "%s/chat/completions" (llm-azure-url provider))) |
