branch: elpa/gptel
commit 825a32f290f350429dd07b8a2f96b0a45490f66a
Author: Karthik Chikmagalur <karthikchikmaga...@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmaga...@gmail.com>

    README: Explain difference between GitHub models/copilot
    
    * NEWS (Breaking changes): Explain the effect of adding the
    `:transforms' argument to `gptel-request'.
    
    * README.org (Github Models): Explain difference between GitHub
    models and GitHub copilot in setup section. (#886)
---
 NEWS       | 6 ++++++
 README.org | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/NEWS b/NEWS
index d67b71ea67..f70a40ffeb 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,12 @@
         (gptel-backend-models (gptel-get-backend "ChatGPT")))
   #+end_src
 
+- Only relevant if you use ~gptel-request~ in your elisp code,
+  /interactive gptel usage is unaffected/: ~gptel-request~ now takes a
+  new, optional =:transforms= argument.  Any prompt modifications
+  (like adding context to requests) must now be specified via this
+  argument.  See the definition of ~gptel-send~ for an example.
+
 ** New models and backends
 
 - Add support for ~gpt-4.1~, ~gpt-4.1-mini~, ~gpt-4.1-nano~, ~o3~ and
diff --git a/README.org b/README.org
index f84b337906..ca3621dc79 100644
--- a/README.org
+++ b/README.org
@@ -822,6 +822,8 @@ The above code makes the backend available to select.  If 
you want it to be the
 **** Github Models
 #+html: </summary>
 
+NOTE:  [[https://docs.github.com/en/github-models/about-github-models][GitHub 
Models]] is /not/ GitHub Copilot!  If you want to use GitHub Copilot chat via 
gptel, look at the instructions for GitHub CopilotChat below instead.
+
 Register a backend with
 #+begin_src emacs-lisp
   ;; Github Models offers an OpenAI compatible API

Reply via email to