LLM improvements

This commit is contained in:
Joe Frikker
2026-10-14 09:49:14 -04:00
parent 679c86d4a8
commit 2a4a3b82c8
2 changed files with 30 additions and 30 deletions
+21 -21
View File
@@ -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";
custom.claude-code-optimize-window-resize = false;
custom.claude-code-terminal-backend = "'ghostel";
};
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
(require 'gptel-agent-tools-introspection)
(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"
:model 'claude-sonnet-5
:use-tools t
:max-tokens 128000
:tools '("Grep" "Read" "Glob" "Write" "Insert"
"Edit" "Mkdir" "Diagnostics" "WebFetch" "WebSearch" "Bash" "git_uncommitted_diff" "git_head_commit_diff"
"git_branch_diff"))
:cache t)
(gptel-make-preset 'research
:description "Preset for answering questions with web results"
:backend "Claude"
:model 'claude-sonnet-5
:use-tools t
:max-tokens 128000
:parents 'conversation
:confirm-tool-calls nil
:tools '("WebFetch" "WebSearch"))
(gptel-make-preset 'emacs-research
:description "Preset for answering questions about the live emacs instance"
:backend "Claude"
:model 'claude-sonnet-5
:use-tools t
:max-tokens 128000
:confirm-tool-calls nil
:tools '("WebFetch" "WebSearch"
"variable_completions" "command_completions" "function_completions"
:parents 'research
:tools '(:append ("variable_completions" "command_completions" "function_completions"
"variable_documentation" "function_documentation" "variable_value"
"variable_source" "function_source" "symbol_manual_section"
"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
** Age
@@ -2562,10 +2562,10 @@ And finally, we want to hide the cursor when presenting.
#+BEGIN_SRC nix
{
programs.emacs.init.usePackage = {
eat = {
ghostel = {
enable = true;
command = ["eat"];
hook = ["(eshell-load . eat-eshell-mode)"];
command = ["ghostel"];
hook = ["(eshell-load . ghostel-eshell-visual-command-mode)"];
};
};
}