LLM improvements
This commit is contained in:
Generated
+9
-9
@@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1791484883,
|
"lastModified": 1791642191,
|
||||||
"narHash": "sha256-iKxFHJrg7Sltwhq3ssCZYQ4CFEDVvReVVuVuO9dj3sE=",
|
"narHash": "sha256-0bK0A59rVUn1SRZzo4cNi4VSqAe7vR1gL2/MZl53Frw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "dfadbe5162d5e86bc0808badec8f346f81b4b3f0",
|
"rev": "c58f54c733a7894d84fa2fdff26cc12088c4b78c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -28,11 +28,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1791105314,
|
"lastModified": 1791711434,
|
||||||
"narHash": "sha256-oTM7QFgRQ+vxBpMBMc7hEYpqBtpXAzXu2xuB/tru84U=",
|
"narHash": "sha256-LpIhxnuO0tYeZ4k7BbNMxsPs2zJpB4hWXO1jdhUuE7Q=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "e740bc4e9d8918d7819a51486d5099930c65c72e",
|
"rev": "9a2dd40780eeab8543aa97c59c26f11267025616",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -43,11 +43,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1791456040,
|
"lastModified": 1791734076,
|
||||||
"narHash": "sha256-H83yz/do+hjOO0uujHyH8RgtIQP2v7Mw+cLwcZK/xKc=",
|
"narHash": "sha256-i5qk1kLiit98rRbh1AXmWBNT9QXC/y4l5Wk/u5EdpDQ=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e7439b6b14ad3cc35d05608ebca9bce01a25f5f8",
|
"rev": "7fd4004d0511991fff3a0524856a9be09e28c5f0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -835,6 +835,7 @@ Actually, nix *really* requires ~bash~. This is a plugin that allows using zsh f
|
|||||||
});
|
});
|
||||||
bindKeyMap."C-c c" = "claude-code-command-map";
|
bindKeyMap."C-c c" = "claude-code-command-map";
|
||||||
custom.claude-code-optimize-window-resize = false;
|
custom.claude-code-optimize-window-resize = false;
|
||||||
|
custom.claude-code-terminal-backend = "'ghostel";
|
||||||
};
|
};
|
||||||
|
|
||||||
gptel = {
|
gptel = {
|
||||||
@@ -905,36 +906,35 @@ Actually, nix *really* requires ~bash~. This is a plugin that allows using zsh f
|
|||||||
#+BEGIN_SRC elisp :tangle no :noweb-ref emacs-gptel-agent-config
|
#+BEGIN_SRC elisp :tangle no :noweb-ref emacs-gptel-agent-config
|
||||||
(require 'gptel-agent-tools-introspection)
|
(require 'gptel-agent-tools-introspection)
|
||||||
(gptel-agent-update)
|
(gptel-agent-update)
|
||||||
(gptel-make-preset 'coding
|
|
||||||
:description "Preset for agentic coding"
|
(gptel-make-preset 'conversation
|
||||||
|
:description "Preset with no tools, just for conversing"
|
||||||
:backend "Claude"
|
:backend "Claude"
|
||||||
:model 'claude-sonnet-5
|
:model 'claude-sonnet-5
|
||||||
:use-tools t
|
|
||||||
:max-tokens 128000
|
:max-tokens 128000
|
||||||
:tools '("Grep" "Read" "Glob" "Write" "Insert"
|
:cache t)
|
||||||
"Edit" "Mkdir" "Diagnostics" "WebFetch" "WebSearch" "Bash" "git_uncommitted_diff" "git_head_commit_diff"
|
|
||||||
"git_branch_diff"))
|
|
||||||
(gptel-make-preset 'research
|
(gptel-make-preset 'research
|
||||||
:description "Preset for answering questions with web results"
|
:description "Preset for answering questions with web results"
|
||||||
:backend "Claude"
|
:parents 'conversation
|
||||||
:model 'claude-sonnet-5
|
|
||||||
:use-tools t
|
|
||||||
:max-tokens 128000
|
|
||||||
:confirm-tool-calls nil
|
:confirm-tool-calls nil
|
||||||
:tools '("WebFetch" "WebSearch"))
|
:tools '("WebFetch" "WebSearch"))
|
||||||
|
|
||||||
(gptel-make-preset 'emacs-research
|
(gptel-make-preset 'emacs-research
|
||||||
:description "Preset for answering questions about the live emacs instance"
|
:description "Preset for answering questions about the live emacs instance"
|
||||||
:backend "Claude"
|
:parents 'research
|
||||||
:model 'claude-sonnet-5
|
:tools '(:append ("variable_completions" "command_completions" "function_completions"
|
||||||
:use-tools t
|
|
||||||
:max-tokens 128000
|
|
||||||
:confirm-tool-calls nil
|
|
||||||
:tools '("WebFetch" "WebSearch"
|
|
||||||
"variable_completions" "command_completions" "function_completions"
|
|
||||||
"variable_documentation" "function_documentation" "variable_value"
|
"variable_documentation" "function_documentation" "variable_value"
|
||||||
"variable_source" "function_source" "symbol_manual_section"
|
"variable_source" "function_source" "symbol_manual_section"
|
||||||
"library_source" "manual_node_contents" "manual_nodes" "manual_names"
|
"library_source" "manual_node_contents" "manual_nodes" "manual_names"
|
||||||
"features" "load_paths" "symbol_exists"))
|
"features" "load_paths" "symbol_exists")))
|
||||||
|
|
||||||
|
(gptel-make-preset 'coding
|
||||||
|
:description "Preset for agentic coding"
|
||||||
|
:parents 'research
|
||||||
|
:tools '(:append ("Grep" "Read" "Glob" "Write" "Insert"
|
||||||
|
"Edit" "Mkdir" "Diagnostics" "Bash" "git_uncommitted_diff" "git_head_commit_diff"
|
||||||
|
"git_branch_diff")))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Age
|
** Age
|
||||||
@@ -2562,10 +2562,10 @@ And finally, we want to hide the cursor when presenting.
|
|||||||
#+BEGIN_SRC nix
|
#+BEGIN_SRC nix
|
||||||
{
|
{
|
||||||
programs.emacs.init.usePackage = {
|
programs.emacs.init.usePackage = {
|
||||||
eat = {
|
ghostel = {
|
||||||
enable = true;
|
enable = true;
|
||||||
command = ["eat"];
|
command = ["ghostel"];
|
||||||
hook = ["(eshell-load . eat-eshell-mode)"];
|
hook = ["(eshell-load . ghostel-eshell-visual-command-mode)"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user