Update eshell stuff
This commit is contained in:
@@ -2973,6 +2973,9 @@ Actually, return the method name."
|
|||||||
:custom
|
:custom
|
||||||
(eshell-history-append t)
|
(eshell-history-append t)
|
||||||
:config
|
:config
|
||||||
|
(evil-define-key '(normal insert) eshell-mode-map
|
||||||
|
(kbd "RET") #'eshell-send-input
|
||||||
|
(kbd "<return>") #'eshell-send-input)
|
||||||
(defun my/-eshell-filter-alias-list ()
|
(defun my/-eshell-filter-alias-list ()
|
||||||
(cl-remove-if-not (lambda (elt)
|
(cl-remove-if-not (lambda (elt)
|
||||||
(or (string-match-p
|
(or (string-match-p
|
||||||
@@ -4025,17 +4028,17 @@ vising, and their major mode"
|
|||||||
:models my/-ollama-models
|
:models my/-ollama-models
|
||||||
:host (my/get-private 'ollama-host)))
|
:host (my/get-private 'ollama-host)))
|
||||||
(gptel-make-preset 'localai-chat
|
(gptel-make-preset 'localai-chat
|
||||||
:description "LocalAI with Gemma4 (31b) (web search enabled)"
|
:description "LocalAI with Gemma4 (31b) (web search enabled)"
|
||||||
:backend my/-localai-backend
|
:backend my/-localai-backend
|
||||||
:model 'gemma-4-31b-it-qat-q4_0
|
:model 'gemma-4-31b-it-qat-q4_0
|
||||||
:system 'default
|
:system 'default
|
||||||
:tools '("WebSearch" "list_buffers" "read_buffer"))
|
:tools '("WebSearch" "list_buffers" "read_buffer"))
|
||||||
(gptel-make-preset 'localai-code
|
(gptel-make-preset 'localai-code
|
||||||
:description "LocalAI with Qwen2.5 Coder (32b) (web search enabled)"
|
:description "LocalAI with Qwen2.5 Coder (32b) (web search enabled)"
|
||||||
:backend my/-localai-backend
|
:backend my/-localai-backend
|
||||||
:model 'qwen2.5-coder-32b-instruct-q4_k_m
|
:model 'qwen2.5-coder-32b-instruct-q4_k_m
|
||||||
:system 'default
|
:system 'default
|
||||||
:tools '("WebSearch" "list_buffers" "read_buffer"))
|
:tools '("WebSearch" "list_buffers" "read_buffer"))
|
||||||
(gptel-preset 'localai-chat))
|
(gptel-preset 'localai-chat))
|
||||||
(use-package gptel-agent
|
(use-package gptel-agent
|
||||||
:after 'gptel
|
:after 'gptel
|
||||||
|
|||||||
Reference in New Issue
Block a user