Add anthropic gptel backend
This commit is contained in:
parent
5f11045ae0
commit
2f4d415cba
@ -44,6 +44,9 @@
|
|||||||
:models '("llama3.1:latest"
|
:models '("llama3.1:latest"
|
||||||
"mistral-nemo:latest"
|
"mistral-nemo:latest"
|
||||||
"gemma2:2b")))
|
"gemma2:2b")))
|
||||||
|
(defvar gptel-backend-anthropic (gptel-make-anthropic "Claude"
|
||||||
|
:stream t
|
||||||
|
:key (password-store-get "anthropic-api-key")))
|
||||||
(setq gptel-backend gptel-backend-openai
|
(setq gptel-backend gptel-backend-openai
|
||||||
gptel-model "gpt-4o")
|
gptel-model "gpt-4o")
|
||||||
(defun gptel-select-backend (backend)
|
(defun gptel-select-backend (backend)
|
||||||
|
Loading…
Reference in New Issue
Block a user