emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gptel 07992f79cc 227/273: gptel-anthropic: Support for the


From: ELPA Syncer
Subject: [nongnu] elpa/gptel 07992f79cc 227/273: gptel-anthropic: Support for the Claude haiku model
Date: Wed, 1 May 2024 10:02:39 -0400 (EDT)

branch: elpa/gptel
commit 07992f79cc716beacc62185922a374ad35db3844
Author: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>

    gptel-anthropic: Support for the Claude haiku model
    
    * gptel-anthropic.el (gptel-make-anthropic): Add Claude-3-haiku to
    the list of supported Anthropic models.
---
 gptel-anthropic.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gptel-anthropic.el b/gptel-anthropic.el
index 113c4fb093..99a2fb1016 100644
--- a/gptel-anthropic.el
+++ b/gptel-anthropic.el
@@ -104,7 +104,9 @@
            (lambda () (when-let (key (gptel--get-api-key))
                         `(("x-api-key" . ,key)
                           ("anthropic-version" . "2023-06-01")))))
-          (models '("claude-3-sonnet-20240229" "claude-3-opus-20240229"))
+          (models '("claude-3-sonnet-20240229"
+                    "claude-3-haiku-20240307"
+                    "claude-3-opus-20240229"))
           (host "api.anthropic.com")
           (protocol "https")
           (endpoint "/v1/messages"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]