✨ (llm) Playing around with chatgpt-shell
Though, I still don't know why
This commit is contained in:
parent
3a3228a53f
commit
6d972bc5fb
1 changed files with 18 additions and 0 deletions
18
config.org
18
config.org
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue