Commit Graph

1403 Commits

Author SHA1 Message Date
63f8fb86c9 Add tinyllama 2024-09-16 19:54:07 -04:00
3f43f47bac Merge branch 'master' of github.com:jdormit/dotfiles 2024-09-16 17:05:10 -04:00
91a2df3e08 Fix witchcraft server launch daemon 2024-09-16 17:04:52 -04:00
e8aec0ade3 Add charles and wireshark 2024-09-12 20:19:12 -04:00
0ccb10c8e2 Add CSV mode 2024-09-12 20:19:12 -04:00
ef5b7f03d6 Add commmand to run rspec on files changed from the main branch 2024-09-12 20:17:14 -04:00
fd961c9416 Add some autoloads 2024-09-12 20:17:08 -04:00
2f4d415cba Add anthropic gptel backend 2024-09-09 11:57:42 -04:00
5f11045ae0 Add ability to edit rspec command before running 2024-09-06 19:29:18 -06:00
e1be78e05f Enable rspec-dired-mode in dired buffers 2024-09-06 19:29:05 -06:00
d3a2bcd6f5 Add run-command comint runner 2024-09-05 06:18:59 -06:00
ad1ba5f7fa Use rspec-mode to run Ruby tests 2024-09-05 06:18:36 -06:00
1823e4bcf6 Fontify markdown source blocks 2024-09-05 06:18:27 -06:00
4af3063f30 Close diff when PR is submitted 2024-09-05 06:18:19 -06:00
47727d73f9 Call apheleia-format-buffer normally when there's no region 2024-08-29 13:25:24 -04:00
d5030f749f Bind consult-history in minibuffer 2024-08-28 09:42:12 -04:00
9a1f0aea68 Trim output before inserting 2024-08-28 09:41:54 -04:00
59ab43f820 Add command to format code with gptel 2024-08-22 16:02:54 -04:00
af5e7ab1e0 Add custom apheleia function for formatting regions
Implemented a custom `apheleia` function to format selected regions or entire buffer using Apheleia, handling temp files and regions. Updated keybinding for `C-c f` to use this new function.
2024-08-22 13:01:48 -04:00
685230b4a8 Autoload gptel-context commands manually 2024-08-20 11:06:37 -04:00
d1147a81c3 Default to creating a new buffer when invoking gptel 2024-08-20 10:18:34 -04:00
6898a3e8e5 Add LLM-based PR review
Added `gptel-pr-review` to `init-ai.el` for reviewing pull requests with specific prompts using gptel. Introduced `forge-pullreq-diff` in `init-git.el` to retrieve PR diffs as strings. These changes integrate AI capabilities for improved PR feedback and comment functionality.
2024-08-19 15:37:29 -04:00
e2538b3666 Delete outdated packages 2024-08-19 12:02:37 -04:00
79029fc03b Fix loading of projectile-command-map 2024-08-19 12:02:22 -04:00
3a5d946938 Increase Ollama context window and override gptel--request-data
Added a custom variable `gptel-ollama-context-window` to specify the number of characters for Ollama requests and overridden the `gptel--request-data` method to include this context window in the request data.
2024-08-19 12:01:56 -04:00
d2b7817dc1 Add optional region support to aimenu
This change modifies the function aimenu-get-buffer-with-line-numbers to accept optional start and end arguments, allowing it to add line numbers to a specified region instead of the entire buffer. Additionally, it adjusts usage in aimenu-show-outline to handle active region if present.
2024-08-15 00:04:09 -04:00
e2580c7abe Fix aimenu use-package declaration 2024-08-13 23:30:12 -04:00
555d78eadc Set unique-buffer-name-style 2024-08-13 20:15:07 -04:00
4d022e32d2 Refine commit message prompt to be more specific
Updated the prompt text to include "Be specific" to improve clarity and detail in generated commit messages.
2024-08-12 16:31:54 -04:00
6b4430b854 Optimize Emacs startup and UI settings
Streamlined startup by optimizing garbage collection, UI elements, and performance settings. Moved redundant configurations from init.el to early-init.el for better startup efficiency. Made adjustments to init-ui.el for better tool-bar handling post-init.
2024-08-12 16:31:11 -04:00
f32fbd670b Add optional instruction input for custom outlines
Modified aimenu function to accept an optional instruction argument, allowing users to provide specific instructions for generating the outline. Updated related logic to handle the new argument and adjusted the system message accordingly.
2024-08-12 12:34:36 -04:00
73897be017 Use gpt-4o-mini for aimenu 2024-08-12 11:49:00 -04:00
862c55dfdc Require gptel 2024-08-12 11:48:53 -04:00
76bea3d41a Add keybinding for gptel-quick to ai-map 2024-08-12 11:39:07 -04:00
71861b026a Add aimenu for AI-powered imenu outlines
This commit introduces aimenu, a new package that generates imenu-like outlines using a language model. The new package includes functions for generating and handling outlines, managing cache, and interacting with the user to select headers.
2024-08-12 11:38:59 -04:00
c622de4d80 Add gemma2:2b model option 2024-08-10 22:58:47 -04:00
7c9f4475ce Add swift config 2024-08-10 22:58:17 -04:00
4b7e74afa5 Don't use first person in system prompt 2024-08-07 13:10:54 -04:00
5b0cab188e Move backend selection into interactive call 2024-08-07 13:09:13 -04:00
cc12ad22b4 Expand gptel-directive for org-mode with more guidelines
Updated the gptel-directive for org-mode to provide detailed instructions on how to return Emacs Lisp, Python, and shell-script code blocks. Additionally, included several examples to illustrate the expected code block format and evaluation criteria.
2024-08-07 13:01:35 -04:00
6f353f7e45 Load init-navigation later 2024-08-06 11:59:32 -04:00
5873205a25 Enable Markdown export from org-mode 2024-08-06 11:59:16 -04:00
f4ff08e0ba Add keybinding setup for ace-link in eww mode
Configured ace-link keybinding for eww mode to ensure it works correctly by defining it within a setup function and adding a hook for eww-mode.
2024-08-06 11:59:05 -04:00
82bd3725a2 Generate PR diffs properly 2024-08-06 11:58:50 -04:00
f0a47640e5 Open AWS console links in default browser 2024-08-06 11:58:23 -04:00
2f02bc6e1b Add new directives for code review and prompt generation
This commit introduces two new directives into the gptel configuration: one for code review and another for prompt generation. The code review directive provides guidelines for giving feedback on code snippets, while the prompt generation directive outlines steps for creating effective prompts.
2024-08-05 10:03:30 -04:00
c0f2631b00 Add directive for stable diffusion prompt generation
This change adds a new directive to the gptel configuration for creating detailed prompts for stable diffusion image generators. The directive specifies how to translate a simple natural language description into a more detailed and descriptive prompt to ensure high-quality image generation.
2024-07-25 21:31:47 -04:00
38db89e9be Open ComfyUI in default browser 2024-07-25 21:31:24 -04:00
8f6b50d84e Remove llama configuration from init-ai.el 2024-07-25 21:10:26 -04:00
a47f4e537d Add gptel-chat-with-buffer function and keybinding
This commit introduces the gptel-chat-with-buffer function, allowing users to start a chat with the buffer content. It also updates keybindings, assigning "b" to the new function and moving gptel-select-backend to "B".
2024-07-25 21:10:14 -04:00