Skip to content

Commit 5f5fca3

Browse files
authored
Merge pull request #318 from djr7C4/or-anthropic-fixes
2 parents ecfbd40 + 1707c52 commit 5f5fca3

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

chatgpt-shell-openrouter.el

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ VALIDATE-COMMAND and OTHER-PARAMS for `chatgpt-shell-openai-make-model'."
105105
:short-version "qwen-2.5-coder-32b"
106106
:label "Qwen"
107107
:token-width 16
108-
;; See
109-
:context-window 32768
108+
;; See https://openrouter.ai/qwen/qwen-2.5-coder-32b-instruct
109+
:context-window 33000
110110
;; Multiple quantizations are offered for this model by different
111111
;; providers so we restrict to one for consistency. Note that the sense
112112
;; in which provider is used here means the providers available through
@@ -115,14 +115,13 @@ VALIDATE-COMMAND and OTHER-PARAMS for `chatgpt-shell-openai-make-model'."
115115
;;
116116
;; See https://openrouter.ai/qwen/qwen-2.5-coder-32b-instruct
117117
:other-params '((provider (quantizations . ["bf16"]))))
118-
(chatgpt-shell-openrouter-make-model
118+
(chatgpt-shell-openrouter-make-model
119119
:version "anthropic/claude-3.7-sonnet"
120120
:short-version "claude-3.7-sonnet"
121-
:label "Claude3.7Sonnet"
122-
:token-width 16
123-
;; See
124-
:context-window 200000
125-
)))
121+
:label "Claude"
122+
:token-width 4
123+
;; See https://openrouter.ai/anthropic/claude-3.7-sonnet
124+
:context-window 200000)))
126125

127126
(defcustom chatgpt-shell-openrouter-api-url-base "https://openrouter.ai/api"
128127
"OpenRouter API's base URL.

0 commit comments

Comments
 (0)