branch: externals/llm
commit 459702739421cd6cf945240db71192180bd9530a
Author: Andrew Hyatt <[email protected]>
Commit: GitHub <[email protected]>
Add Claude 4.5 Haiku to models (#216)
---
NEWS.org | 2 +-
llm-models.el | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/NEWS.org b/NEWS.org
index a5d0a5b152..1e89e48aaf 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -1,6 +1,6 @@
* Version 0.27.3
- Add reasoning output for Gemini.
-- Add Claude 4.5 to support models, fix model matching for other Claude models.
+- Add Claude 4.5 Sonnet and Haiku to support models, fix model matching for
other Claude models.
- Fix Open AI issue in using =non-stardard-params=.
- Fix incorrect vectorzation of alists in =non-standard-params=.
* Version 0.27.2
diff --git a/llm-models.el b/llm-models.el
index 5b46bd749a..476324ea98 100644
--- a/llm-models.el
+++ b/llm-models.el
@@ -151,6 +151,11 @@ REGEX is a regular expression that can be used to identify
the model, uniquely (
:capabilities '(generation tool-use image-input pdf-input caching)
:context-length 200000
:regex "claude-sonnet-4-5")
+ (make-llm-model
+ :name "Claude 4.5 Haiku" :symbol 'claude-4.5-haiku
+ :capabilities '(generation tool-use image-input pdf-input caching)
+ :context-length 200000
+ :regex "claude-haiku-4-5")
(make-llm-model
:name "Claude 4.1 Opus" :symbol 'claude-4-1-opus
:capabilities '(generation tool-use image-input pdf-input caching)