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.
This commit is contained in:
parent
e18ceb1f84
commit
07992f79cc
1 changed files with 3 additions and 1 deletions
|
@ -104,7 +104,9 @@
|
||||||
(lambda () (when-let (key (gptel--get-api-key))
|
(lambda () (when-let (key (gptel--get-api-key))
|
||||||
`(("x-api-key" . ,key)
|
`(("x-api-key" . ,key)
|
||||||
("anthropic-version" . "2023-06-01")))))
|
("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")
|
(host "api.anthropic.com")
|
||||||
(protocol "https")
|
(protocol "https")
|
||||||
(endpoint "/v1/messages"))
|
(endpoint "/v1/messages"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue