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:
Karthik Chikmagalur 2024-03-13 14:23:00 -07:00
parent e18ceb1f84
commit 07992f79cc

View file

@ -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"))