factor
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
;;; ai.el -*- lexical-binding: t; -*-
|
||||
|
||||
(setq gptel-model 'google/gemini-2.5-flash ;; Default model
|
||||
gptel-backend
|
||||
(gptel-make-openai "OpenRouter" ;Any name you want
|
||||
:host "openrouter.ai"
|
||||
:endpoint "/api/v1/chat/completions"
|
||||
:stream t
|
||||
:key "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" ;can be a function that returns the key
|
||||
:models '(google/gemini-2.5-flash
|
||||
google/gemini-2.5-pro
|
||||
anthropic/claude-sonnet-4
|
||||
anthropic/claude-sonnet-4.5
|
||||
)))
|
||||
Reference in New Issue
Block a user