Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Claude 3.7 Sonnet model, set to default #161

Merged
merged 1 commit into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NEWS.org
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
* Version 0.24.0
- Add =multi-output= as an option, allowing all llm results to return, call, or stream multiple kinds of data via a plist. This allows separating out reasoning, as well as optionally returning text as well as tool uses at the same time.
* Version 0.23.1
- Add Gemini 2.0 pro experimental model, default to 2.0 flash
- Add Open AI's o3 mini model
- Add Claude 3.7 sonnet
- Fix Claude's capabilities to reflect that it can use tools
* Version 0.23.0
- Add GitHub's GitHub Models
Expand Down
2 changes: 1 addition & 1 deletion llm-claude.el
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
;; Models defined at https://docs.anthropic.com/claude/docs/models-overview
(cl-defstruct (llm-claude (:include llm-standard-chat-provider))
(key nil :read-only t)
(chat-model "claude-3-5-sonnet-20241022" :read-only t))
(chat-model "claude-3-7-sonnet-20250219" :read-only t))

(cl-defmethod llm-nonfree-message-info ((_ llm-claude))
"Return Claude's nonfree ToS."
Expand Down
5 changes: 5 additions & 0 deletions llm-models.el
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ REGEX is a regular expression that can be used to identify the model, uniquely (
:context-length 8192
:regex "text-embedding-ada-002")
;; https://docs.anthropic.com/en/docs/about-claude/models
(make-llm-model
:name "Claude 3.7 Sonnet" :symbol 'claude-3.7-sonnet
:capabilities '(generation tool-use image-input pdf-input caching)
:context-length 200000
:regex "claude-3.7-sonnet")
(make-llm-model
:name "Claude 3.5 Sonnet" :symbol 'claude-3.5-sonnet
:capabilities '(generation tool-use image-input pdf-input caching)
Expand Down