Use gemini-2.5-flash-preview

This commit is contained in:
Andrea Ciceri 2025-04-28 13:09:50 +02:00
parent dabe148755
commit 663b2c4eb4
No known key found for this signature in database

View file

@ -1015,13 +1015,13 @@ This is meant to be an helper to be called from the window manager."
(use-package gptel
:custom
(gptel-model 'google/gemini-2.0-flash-001)
(gptel-model 'google/gemini-2.5-flash-preview)
(gptel-backend (gptel-make-openai "OpenRouter"
:host "openrouter.ai"
:endpoint "/api/v1/chat/completions"
:key (lambda () (require 'f) (f-read-text (getenv "OPENAI_API_KEY_PATH")))
:stream t
:models '(google/gemini-2.0-flash-001))
:models '(google/gemini-2.5-flash-preview))
)
(gptel-default-mode 'org-mode)
(gptel-org-branching-context nil) ;; this is cool but I don't feel comfortable with it