Use gemini-2.5-flash-preview
This commit is contained in:
parent
dabe148755
commit
663b2c4eb4
1 changed files with 2 additions and 2 deletions
|
@ -1015,13 +1015,13 @@ This is meant to be an helper to be called from the window manager."
|
||||||
|
|
||||||
(use-package gptel
|
(use-package gptel
|
||||||
:custom
|
:custom
|
||||||
(gptel-model 'google/gemini-2.0-flash-001)
|
(gptel-model 'google/gemini-2.5-flash-preview)
|
||||||
(gptel-backend (gptel-make-openai "OpenRouter"
|
(gptel-backend (gptel-make-openai "OpenRouter"
|
||||||
:host "openrouter.ai"
|
:host "openrouter.ai"
|
||||||
:endpoint "/api/v1/chat/completions"
|
:endpoint "/api/v1/chat/completions"
|
||||||
:key (lambda () (require 'f) (f-read-text (getenv "OPENAI_API_KEY_PATH")))
|
:key (lambda () (require 'f) (f-read-text (getenv "OPENAI_API_KEY_PATH")))
|
||||||
:stream t
|
:stream t
|
||||||
:models '(google/gemini-2.0-flash-001))
|
:models '(google/gemini-2.5-flash-preview))
|
||||||
)
|
)
|
||||||
(gptel-default-mode 'org-mode)
|
(gptel-default-mode 'org-mode)
|
||||||
(gptel-org-branching-context nil) ;; this is cool but I don't feel comfortable with it
|
(gptel-org-branching-context nil) ;; this is cool but I don't feel comfortable with it
|
||||||
|
|
Loading…
Add table
Reference in a new issue