feat(ai): Integrate gptel-magit
Integrates `gptel-magit` to provide AI assistance directly within Magit. Disables `gptel-include-reasoning` as a temporary workaround for an upstream issue (ragnard/gptel-magit#8).
This commit is contained in:
@ -39,7 +39,7 @@
|
|||||||
(traductor . "Eres un traductor profesional. Traduce a español tomando en cuenta los posibles tecnicismos y nombres que no deberían traducirse.")
|
(traductor . "Eres un traductor profesional. Traduce a español tomando en cuenta los posibles tecnicismos y nombres que no deberían traducirse.")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
(setopt gptel-include-reasoning nil)) ;; Mantener hasta resolver: https://github.com/ragnard/gptel-magit/issues/8
|
||||||
|
|
||||||
(use-package copilot
|
(use-package copilot
|
||||||
:bind (("M-<return>" . copilot-complete)
|
:bind (("M-<return>" . copilot-complete)
|
||||||
@ -48,5 +48,9 @@
|
|||||||
("C-<return>" . 'copilot-accept-completion)
|
("C-<return>" . 'copilot-accept-completion)
|
||||||
("C-<tab>" . 'copilot-accept-completion-by-word)))
|
("C-<tab>" . 'copilot-accept-completion-by-word)))
|
||||||
|
|
||||||
|
(use-package gptel-magit
|
||||||
|
:ensure t
|
||||||
|
:hook (magit-mode . gptel-magit-install))
|
||||||
|
|
||||||
(provide 'init-ai)
|
(provide 'init-ai)
|
||||||
;;; init-ai.el ends here
|
;;; init-ai.el ends here
|
||||||
|
Reference in New Issue
Block a user