Files
dot-emacs/.emacs.d/llm.org
T

721 B

LLM Emacs Integration

Implementing LLM features into Emacs through the gptel package.

(use-package gptel
  :config
  (setq gptel-model 'glm-5.3:cloud
        gptel-backend
        (gptel-make-ollama "Ollama"
          :host "mindforge.randomctf.lan:11434"
          :stream t
          :models '(kimi-k3:cloud glm-5.3:cloud gpt-oss:120b-cloud)))
  (jm/leader-keys
    "aa" 'gptel-agent
    "am" 'gptel-menu
    "as" 'gptel-send
    "ak" 'gptel-abort))

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.

(use-package gptel-agent
  :config
  (gptel-agent-update))