switch-to-unstable-os #5

Merged
tristan merged 14 commits from switch-to-unstable-os into main 2024-03-23 19:41:50 +00:00
Showing only changes of commit cd5dbc3697 - Show all commits

View file

@ -288,6 +288,10 @@
(centaur-tabs-local-mode)))) (centaur-tabs-local-mode))))
) )
;; ruby
(setq! lsp-ruby-lsp-use-bundler t)
;; Copilot ;; Copilot
;; accept completion from copilot and fallback to company ;; accept completion from copilot and fallback to company
@ -309,15 +313,20 @@
(use-package! gptel (use-package! gptel
:init :init
:config :config
(setq-default gptel-backend (gptel-make-openai "llama-cpp" ;Any name (setq! gptel-backend (gptel-make-openai "llama-cpp"
:stream t :stream t
:protocol "http" :protocol "http"
:host "100.64.0.3:8080" :host "100.64.0.3:8080"
:models '("test") :models '("test"))
) gptel-model "test")
gptel-model "test")
(add-hook 'gptel-post-response-functions 'gptel-end-of-response) (add-hook 'gptel-post-response-functions 'gptel-end-of-response)
(add-hook 'gptel-post-stream-hook 'gptel-auto-scroll)) (add-hook 'gptel-post-stream-hook 'gptel-auto-scroll)
(map! :leader
"<tab>" 'gptel-complete
"TAB" 'gptel-complete)
)