summaryrefslogtreecommitdiff
path: root/llm-gemini.el
diff options
context:
space:
mode:
Diffstat (limited to 'llm-gemini.el')
-rw-r--r--llm-gemini.el12
1 files changed, 11 insertions, 1 deletions
diff --git a/llm-gemini.el b/llm-gemini.el
index 4f9e06d..c7eb222 100644
--- a/llm-gemini.el
+++ b/llm-gemini.el
@@ -32,7 +32,17 @@
(require 'llm-provider-utils)
(require 'json)
-(cl-defstruct (llm-gemini (:include llm-google))
+(cl-defstruct (llm-gemini
+ (:include llm-google)
+ (:constructor make-llm-gemini
+ (&key default-chat-temperature
+ default-chat-max-tokens
+ default-chat-non-standard-params
+ ((:key raw-key))
+ (embedding-model "embedding-001")
+ (chat-model "gemini-3.1-pro-preview")
+ &aux
+ (key (llm-provider-utils--wrap-key raw-key)))))
"A struct representing a Gemini client.
KEY is the API key for the client.