#+TITLE: Emacs AI Configuration
#+property: header-args :tangle ~/.emacs.d/modules/ai.el

* ellama
#+begin_src elisp
  (use-package ellama
    :ensure t
    :bind ("C-c e" . ellama)
    :hook (org-ctrl-c-ctrl-c-final . ellama-chat-send-last-message)
    :init (setopt ellama-auto-scroll t)
    :config
    (ellama-context-header-line-global-mode +1)
    (ellama-session-header-line-global-mode +1)
    )
#+end_src

* Providers
#+begin_src elisp
  (setq llm-debug t)
  ;; Note: API keys should be handled via auth-source as seen in original config
#+end_src
