From 1d4d38e0c70097cf3f5ce6b8a924b8e981577182 Mon Sep 17 00:00:00 2001 From: benj Date: Fri, 19 Sep 2025 18:23:16 +0800 Subject: add x ai to gptel --- init.el | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'init.el') 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 -;;; Maintainer: Benj Bellon -;;; Homepage: https://github.com/benjbellon/emacs.d +;;; Author: Benj Bellon +;;; Maintainer: Benj Bellon +;;; 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))) -- cgit v1.2.3