branch: externals/llm
commit e6c875d616496528b5ba7ee08488fa8ad62adf1c
Author: Andrew Hyatt <ahy...@gmail.com>
Commit: GitHub <nore...@github.com>

    Add Gemini 2.0 flash to the list of Gemini models (#121)
---
 llm-models.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/llm-models.el b/llm-models.el
index 53819a98a5..c0c7e3a92a 100644
--- a/llm-models.el
+++ b/llm-models.el
@@ -122,6 +122,11 @@ REGEX is a regular expression that can be used to identify 
the model, uniquely (
     :context-length 200000
     :regex "claude-3-haiku")
    ;; https://ai.google.dev/gemini-api/docs/models/gemini
+   (make-llm-model
+    :name "Gemini 2.0 Flash" :symbol 'gemini-2.0-flash
+    :capabilities '(generation tool-use image-input audio-input video-input)
+    :context-length 1048576
+    :regex "gemini-2\\.0-flash")
    (make-llm-model
     :name "Gemini 1.5 Flash" :symbol 'gemini-1.5-flash
     :capabilities '(generation tool-use image-input audio-input video-input)

Reply via email to