Skip to content

Commit

Permalink
feat: add gptel-quick
Browse files Browse the repository at this point in the history
  • Loading branch information
terlar committed Sep 4, 2024
1 parent aec2145 commit be48129
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
9 changes: 7 additions & 2 deletions init.org
Original file line number Diff line number Diff line change
Expand Up @@ -3973,9 +3973,9 @@ Visual undo history navigation.
:functions
(gptel-make-ollama)
:bind
((:map leader-map
(:map leader-map
("g" . gptel-menu)
("G" . gptel)))
("G" . gptel))
:config
(setq gptel-model "llama3.1:latest")
(setq gptel-backend (gptel-make-ollama "Ollama"
Expand All @@ -3989,6 +3989,11 @@ Visual undo history navigation.
'(cli . "You are a large language model and a correct command line helper. Provide commands and only commands as output without any additional text, prompt or note.")
gptel-directives
:test #'equal))

(use-package gptel-quick
:ensure t
:bind
(:map help-map ("," . gptel-quick)))
#+end_src

* Testing
Expand Down
17 changes: 17 additions & 0 deletions lock/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions lock/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,12 @@
repo = "gptel";
type = "github";
};
gptel-quick = {
flake = false;
owner = "karthink";
repo = "gptel-quick";
type = "github";
};
gradle-mode = {
flake = false;
owner = "scubacabra";
Expand Down
2 changes: 2 additions & 0 deletions recipes/gptel-quick
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(gptel-quick :fetcher github
:repo "karthink/gptel-quick")

0 comments on commit be48129

Please sign in to comment.