dotfiles/emacs/.emacs.d/config/init-llm.el

12 lines
338 B
EmacsLisp

;; -*- lexical-binding: t; -*-
(use-package llama
:straight `(:local-repo ,(expand-file-name "packages/llama" user-emacs-directory) :type nil)
:load-path "packages/llama"
:config
(require 'llm-ollama)
(setq llama-llm-provider (make-llm-ollama :chat-model "llama3:latest")
llm-warn-on-nonfree nil))
(provide 'init-llm)