Skip to content

Commit 73dc47e

Browse files
authored
Merge pull request #312 from djr7C4/anthropic-latest
Use the latest versions for Anthropic models instead of dated versions
2 parents 9c26ec3 + 04f8256 commit 73dc47e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

chatgpt-shell-anthropic.el

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,23 +92,23 @@ VALIDATE-COMMAND handler."
9292
(list
9393
;; https://docs.anthropic.com/en/docs/about-claude/models#model-comparison-table
9494
;; A token is equivalent to _about_ 4 characters.
95-
(chatgpt-shell-anthropic--make-model :version "claude-3-7-sonnet-20250219"
96-
:short-version "3-7-sonnet-20250219"
95+
(chatgpt-shell-anthropic--make-model :version "claude-3-7-sonnet-latest"
96+
:short-version "3.7-sonnet"
9797
:token-width 4
9898
:max-tokens 8192
9999
:context-window 200000)
100-
(chatgpt-shell-anthropic--make-model :version "claude-3-5-sonnet-20241022"
101-
:short-version "3-5-sonnet-20241022"
100+
(chatgpt-shell-anthropic--make-model :version "claude-3-5-sonnet-latest"
101+
:short-version "3.5-sonnet"
102102
:token-width 4
103103
:max-tokens 8192
104104
:context-window 200000)
105-
(chatgpt-shell-anthropic--make-model :version "claude-3-5-haiku-20241022"
106-
:short-version "3-5-haiku-20241022"
105+
(chatgpt-shell-anthropic--make-model :version "claude-3-5-haiku-latest"
106+
:short-version "3.5-haiku"
107107
:token-width 4
108108
:max-tokens 8192
109109
:context-window 200000)
110-
(chatgpt-shell-anthropic--make-model :version "claude-3-opus-20240229"
111-
:short-version "3-opus-20240229"
110+
(chatgpt-shell-anthropic--make-model :version "claude-3-opus-latest"
111+
:short-version "3-opus"
112112
:token-width 4
113113
:max-tokens 4096
114114
:context-window 200000)))

0 commit comments

Comments
 (0)