summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2025-09-19 18:23:16 +0800
committerbenj <benj@rse8.com>2025-09-19 18:24:35 +0800
commit1d4d38e0c70097cf3f5ce6b8a924b8e981577182 (patch)
treefc12e130e81912400b8361f3ef422dc22a23d17b
parent2fb1a137a2e035653d58854cb111eea69c4b56b7 (diff)
downloademacs-master.tar
emacs-master.tar.gz
emacs-master.tar.bz2
emacs-master.tar.lz
emacs-master.tar.xz
emacs-master.tar.zst
emacs-master.zip
add x ai to gptelHEADmaster
Diffstat (limited to '')
-rw-r--r--init.el16
1 files changed, 11 insertions, 5 deletions
diff --git a/init.el b/init.el
index d72907f..493f71a 100644
--- a/init.el
+++ b/init.el
@@ -1,8 +1,8 @@
;; init.el --- initialize emacs configuration -*- lexical-binding: t; -*-
-;;; Author: Benj Bellon <benjaminbellon@gmail.com>
-;;; Maintainer: Benj Bellon <benjaminbellon@gmail.com>
-;;; Homepage: https://github.com/benjbellon/emacs.d
+;;; Author: Benj Bellon <benj@rse8.com>
+;;; Maintainer: Benj Bellon <benj@rse8.com>
+;;; Homepage: https://code.rse8.com/emacs.git
;;; Keywords: emacs, emacs.d, config
;;; Commentary:
@@ -254,7 +254,12 @@
(gptel-make-gemini "gemini"
:stream t
- :key (auth-source-pass-get 'secret "google.com/aiplatform.googleapis.com/gemini/apikey")))
+ :key (auth-source-pass-get 'secret "google.com/aiplatform.googleapis.com/gemini/apikey"))
+
+ (gptel-make-xai "xAI"
+ :stream t
+ :key (auth-source-pass-get 'secret "x.ai/api.x.ai/apikey")))
+
(use-package glsl-mode
:ensure t)
@@ -409,7 +414,8 @@
'org-babel-load-languages
'((emacs-lisp . t )
(python . t)
- (restclient .t )
+ (restclient . t)
+ (haskell . t)
(shell . t)
(sql . t)))