diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-08-12 09:37:26 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-08-12 09:37:26 -0700 |
| commit | ca1aa05ba5c1251695dfaa81b3d1fd4d1c2a03fe (patch) | |
| tree | 6aa275d3b335d354389e284a6d8d9ea9c94b0a86 /home/programs/emacs/site-lisp/init-llm.el | |
| parent | move each machine configuration to a folder (diff) | |
| download | infra-ca1aa05ba5c1251695dfaa81b3d1fd4d1c2a03fe.tar.gz | |
delete LLM related stuff for now
Diffstat (limited to '')
| -rw-r--r-- | home/programs/emacs/site-lisp/init-llm.el | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/home/programs/emacs/site-lisp/init-llm.el b/home/programs/emacs/site-lisp/init-llm.el deleted file mode 100644 index 48346e6..0000000 --- a/home/programs/emacs/site-lisp/init-llm.el +++ /dev/null @@ -1,33 +0,0 @@ -;;; init-llm.el --- Configure LLMs -*- lexical-binding: t -*- -;; Author: Franck Cuny <franck@fcuny.net> - -;;; Commentary: - -;; Configure completions - -;;; Code: -(require 's) - -(defun fcuny/read-anthropic-key () - "Read and return the API key for anthropic." - (with-temp-buffer - (insert-file-contents "~/.local/share/agenix/anthropic-api-key") - (s-trim (buffer-string)))) - -(use-package gptel - :custom - (gptel-default-mode 'org-mode) - :config - (gptel-make-anthropic "Claude" :stream t :key (lambda () (fcuny/read-anthropic-key)))) - -(use-package aidermacs - :bind ("C-c a" . aidermacs-transient-menu) - :custom - (aider-args '("--no-check-update" "--no-show-model-warnings")) - (aidermacs-default-model "claude-3-7-sonnet-latest") - :config - (setenv "ANTHROPIC_API_KEY" (fcuny/read-anthropic-key))) - -(provide 'init-llm) - -;;; init-llm.el ends here |
