Added gptel for LLM integration into emacs

This commit is contained in:
Random936
2026-06-06 07:41:37 -04:00
parent 1d027b9d61
commit de48ef2125
2 changed files with 23 additions and 0 deletions

22
.emacs.d/llm.org Normal file
View File

@@ -0,0 +1,22 @@
* LLM Emacs Integration
Implementing LLM features into Emacs through the ~gptel~ package.
#+begin_src elisp
(use-package gptel
:config
(setq gptel-model 'glm-5.1:cloud
gptel-backend
(gptel-make-ollama "Ollama"
:host "mindforge.randomctf.lan:11434"
:stream t
:models '(kimi-k2.6:cloud glm-5.1:cloud gpt-oss:120b-cloud))))
#+end_src
There are also a set of tools associated with ~gptel~ in a ~gptel-agent~ repo. This contains various tools to make the integration more agentic.
#+begin_src elisp
(use-package gptel-agent
:config
(gptel-agent-update))
#+end_src