(llm) Playing around with chatgpt-shell

Though, I still don't know why
This commit is contained in:
Marcel Kapfer 2025-02-10 18:00:47 +01:00
parent 3a3228a53f
commit 6d972bc5fb
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -2871,6 +2871,24 @@ The following function from him takes care of the other way: bringing a message
(global-set-key (kbd "C-c M-m") 'mmk2410/convert-mail-header-to-org-link)
#+end_src
* LLM
#+begin_src emacs-lisp
(use-package chatgpt-shell
:config
(setq chatgpt-shell-models
'(((:provider . "Ollama")
(:label . "Ollama")
(:version . "mistral:latest")
(:short-version . "mistral")
(:token-width . 3)
(:context-window . 131072)
(:handler . chatgpt-shell-ollama--handle-ollama-command)
(:filter . chatgpt-shell-ollama--extract-ollama-response)
(:payload . chatgpt-shell-ollama-make-payload)
(:url . chatgpt-shell-ollama--make-url)))))
#+end_src
* Helpers
** Tab Bar Setup