branch: externals/llm
commit a69bc797bbeea4d635d6cd7e958346ba0a069332
Author: Andrew Hyatt <[email protected]>
Commit: GitHub <[email protected]>
Add gemma 4 (#259)
---
NEWS.org | 5 +++--
llm-models.el | 5 +++++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/NEWS.org b/NEWS.org
index 9604fd81f2..b1daa9ee87 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -1,7 +1,8 @@
* Version 0.30.1
-- Add Claude Sonnet 4.6.
+- Add Claude Sonnet 4.6
- Add StepFun 3.5 Flash
-- Add support for Open AI compatible =reasoning_content= and =reasoning=
blocks.
+- Add Gemma 4i.
+- Add support for Open AI compatible =reasoning_content= and =reasoning= blocks
* Version 0.30.0
- Add =:input-tokens= and =:output-tokens= to multioutput result.
- Added Qwen 3.5, LFM2 and LFM 2.5 Thinking
diff --git a/llm-models.el b/llm-models.el
index 89aca52aeb..268f7952e5 100644
--- a/llm-models.el
+++ b/llm-models.el
@@ -329,6 +329,11 @@ REGEX is a regular expression that can be used to identify
the model, uniquely (
:capabilities '(generation free-software) ;; Apache license
:context-length 128000
:regex "gemma-?3")
+ (make-llm-model
+ :name "Gemma 4" :symbol 'gemma-4
+ :capabilities '(generation free-software tool-use audio-input video-input
reasoning) ;; Apache license
+ :context-length 128000
+ :regex "gemma-?4")
(make-llm-model
:name "deepseek-r1" :symbol 'deepseek-r1
:capabilities '(generation reasoning free-software) ;; MIT license