2 ms·
I managed to get this working with gemini by using a proxy [1] and the following config (I used quelpa) (use-package efrit :quelpa (efrit :fetcher git
by foobarqux 1y ago
I managed to get this working with gemini by using a proxy [1]
and the following config (I used quelpa)
(use-package efrit
:quelpa (efrit :fetcher git :repo "steveyegge/efrit")
:init
(setq efrit-model "gemini-2.5-pro")
;; (setq efrit-api-url "https://generativelanguage.googleapis.com/v1beta/opena
(setq efrit-api-url "http://127.0.0.1:8089/v1/messages")
:config (defun efrit--get-api-key () (key-from-file "~/.keys/gemini.txt")) ; this isn't needed, it's set by the proxy
:ensure t)
I needed to remove the uvicorn version constraint when importing the project to uv to get it to find a version solution.
Initially I thought you could send it directly to Gemini but apparently you need to proxy and translate the responses.
[1] Seems sketchy, use at your risk: https://github.com/coffeegrind123/gemini-for-claude-code https://github.com/coffeegrind123/gemini-for-claude-code
- _steve_yegge_ 1y agoCongrats on getting it running! This thing is a huge POC (and arguably a POS) so be careful with it. It's terrible at multi-step tasks right now. I'm evolving it to work more like claude code.