emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gptel 652f3772bb 2/2: README: Mention gptel-rewrite-defaul


From: ELPA Syncer
Subject: [nongnu] elpa/gptel 652f3772bb 2/2: README: Mention gptel-rewrite-default-action
Date: Mon, 25 Nov 2024 19:00:18 -0500 (EST)

branch: elpa/gptel
commit 652f3772bb394a2f8bce1efd1e5c8368ef16a7d1
Author: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>

    README: Mention gptel-rewrite-default-action
    
    * README.org (Additional Configuration): Mention
    `gptel-rewrite-default-action', used to automatically diff, ediff,
    merge or replace refactored text with an LLM response.
---
 README.org | 45 ++++++++++++++++++++++++---------------------
 1 file changed, 24 insertions(+), 21 deletions(-)

diff --git a/README.org b/README.org
index 9598ca1a0e..96176ca684 100644
--- a/README.org
+++ b/README.org
@@ -82,7 +82,7 @@ gptel uses Curl if available, but falls back to url-retrieve 
to work without ext
       - [[#cerebras][Cerebras]]
       - [[#github-models][Github Models]]
       - [[#novita-ai][Novita AI]]
-      - [[#xAI][xAI]]
+      - [[#xai][xAI]]
   - [[#usage][Usage]]
     - [[#in-any-buffer][In any buffer:]]
     - [[#in-a-dedicated-chat-buffer][In a dedicated chat buffer:]]
@@ -990,6 +990,8 @@ These actions are also available directly when the cursor 
is inside the pending
 
 #+html: <img 
src="https://github.com/user-attachments/assets/57e1fff7-f8e4-47f0-9bda-d0b698443559";
 align="center" />
 
+If you want to run one of these actions automatically, you can customize 
=gptel-rewrite-default-action=.
+
 *** Extra Org mode conveniences
 
 gptel offers a few extra conveniences in Org mode.
@@ -1150,17 +1152,17 @@ Other Emacs clients for LLMs prescribe the format of 
the interaction (a comint s
 | =gptel-use-context=   | How/whether to include additional context            
   |
 
|-----------------------+---------------------------------------------------------|
 
-|-------------------------------+----------------------------------------------------------------|
-| *Chat UI options*             |                                              
                  |
-|-------------------------------+----------------------------------------------------------------|
-| =gptel-default-mode=          | Major mode for dedicated chat buffers.       
                  |
-| =gptel-track-response=        | Distinguish between user messages and LLM 
responses?           |
-| =gptel-track-media=           | Send images or other media from links?       
                  |
-| =gptel-prompt-prefix-alist=   | Text inserted before queries.                
                  |
-| =gptel-response-prefix-alist= | Text inserted before responses.              
                  |
-| =gptel-use-header-line=       | Display status messages in header-line 
(default) or minibuffer |
-| =gptel-display-buffer-action= | Placement of the gptel chat buffer.          
                  |
-|-------------------------------+----------------------------------------------------------------|
+|--------------------------------+----------------------------------------------------------------|
+| *Chat UI options*              |                                             
                   |
+|--------------------------------+----------------------------------------------------------------|
+| =gptel-default-mode=           | Major mode for dedicated chat buffers.      
                   |
+| =gptel-track-response=         | Distinguish between user messages and LLM 
responses?           |
+| =gptel-track-media=            | Send images or other media from links?      
                   |
+| =gptel-prompt-prefix-alist=    | Text inserted before queries.               
                   |
+| =gptel-response-prefix-alist=  | Text inserted before responses.             
                   |
+| =gptel-use-header-line=        | Display status messages in header-line 
(default) or minibuffer |
+| =gptel-display-buffer-action=  | Placement of the gptel chat buffer.         
                   |
+|--------------------------------+----------------------------------------------------------------|
 
 
|-------------------------------+-------------------------------------------------------|
 | *Org mode UI options*         |                                              
         |
@@ -1168,15 +1170,16 @@ Other Emacs clients for LLMs prescribe the format of 
the interaction (a comint s
 | =gptel-org-branching-context= | Make each outline path a separate 
conversation branch |
 
|-------------------------------+-------------------------------------------------------|
 
-|---------------------------------+------------------------------------------------------------|
-| *Hooks for customization*       |                                            
                |
-|---------------------------------+------------------------------------------------------------|
-| =gptel-save-state-hook=         | Runs before saving the chat state to a 
file on disk        |
-| =gptel-pre-response-hook=       | Runs before inserting the LLM response 
into the buffer     |
-| =gptel-post-response-functions= | Runs after inserting the full LLM response 
into the buffer |
-| =gptel-post-stream-hook=        | Runs after each streaming insertion        
                |
-| =gptel-context-wrap-function=   | To include additional context formatted 
your way           |
-|---------------------------------+------------------------------------------------------------|
+|---------------------------------+-------------------------------------------------------------|
+| *Hooks for customization*       |                                            
                 |
+|---------------------------------+-------------------------------------------------------------|
+| =gptel-save-state-hook=         | Runs before saving the chat state to a 
file on disk         |
+| =gptel-pre-response-hook=       | Runs before inserting the LLM response 
into the buffer      |
+| =gptel-post-response-functions= | Runs after inserting the full LLM response 
into the buffer  |
+| =gptel-post-stream-hook=        | Runs after each streaming insertion        
                 |
+| =gptel-context-wrap-function=   | To include additional context formatted 
your way            |
+| =gptel-rewrite-default-action=  | Automatically diff, ediff, merge or 
replace refactored text |
+|---------------------------------+-------------------------------------------------------------|
 
 ** COMMENT Will you add feature X?
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]