Closed tvraman closed 6 months ago
@tvraman The description for gptel-backend might be confusing. As of right now, this works:
(setopt gptel-backend (gptel-make-gemini
"Gemini"
:key (lambda ()
(auth-source-pass-get
'secret "api/ai.google.com"))
:stream t))
This is using the customize system to set the backend correctly. Are you looking for a way to create a Gemini backend (among others) interactively from the Customize menu?
Works now, I think I got myself very confused -- mostly as a result of playing with multiple front-ends and back-ends in the same Emacs session. That said, adding what you sent by email as part of the docs for "other" would help. --
--
Thanks for the confirmation. A fully interactive way to specify a backend (in the customize interface) would be nice to have too, but it's a low priority for now.
Setting gptel-backend via customize by choosing other backends and specifying gptel-make-gemini throws a validation check