Version 0.9.9.3 of package Gptel has just been released in NonGNU ELPA.
You can now find it in M-x list-packages RET.

Gptel describes itself as:

  ===================================
  Interact with ChatGPT or other LLMs
  ===================================

More at https://elpa.nongnu.org/nongnu/gptel.html

## Summary:

  gptel is a simple Large Language Model chat client, with support for multiple
  models and backends.

  It works in the spirit of Emacs, available at any time and in any buffer.

  gptel supports:

  - The services ChatGPT, Azure, Gemini, Anthropic AI, Together.ai, Perplexity,
    AI/ML API, Anyscale, OpenRouter, Groq, PrivateGPT, DeepSeek, Cerebras, 
Github Models,
    GitHub Copilot chat, AWS Bedrock, Novita AI, xAI, Sambanova, Mistral Le
    Chat and Kagi (FastGPT & Summarizer).
  - Local models via Ollama, Llama.cpp, Llamafiles or GPT4All

  Additionally, any LLM service (local or remote) that provides an
  OpenAI-compatible API is supported.

  Features:

## Recent NEWS:

# -*- mode: org; -*-

* 0.9.9.3

** Breaking changes

- The models =gpt-4-copilot= and =o1= have been removed from the default
  list of GitHub Copilot models.  These models are no longer available
  in the GitHub Copilot API.

- Link handling in gptel chat buffers has changed, hopefully for the
  better.  When ~gptel-track-media~ is non-nil, gptel follows links in
  the prompt and includes their contents with queries.  Previously,
  links to files had to be placed "standalone", surrounded by blank
  lines, for the files to be included in the prompt.  This limitation
  has been removed -- all supported links in the prompt will be followed
  now.

  The "standalone" limitation was imposed to make included links stand
  out visually and avoid accidental inclusions, but in practice users
  were often confused about whether a link would be sent.  gptel now
  prominently annotates links that will be followed and sent (see
  below), so it should be visually obvious when links will be followed.
  You can revert to the old behavior by customizing gptel, see below.

- The model =claude-3-sonnet-20240229= has been removed from the default
  list of Anthropic models.  This model is no longer available in the
  Anthropic API.

- The models =gemini-1.5-flash-8b=, =gemini-1.5-flash=,
  =gemini-1.5-pro-latest=, =gemini-2.0-flash-thinking-exp-01-21=,
  =gemini-2.0-flash-lite-preview-02-05=,
  =gemini-2.5-flash-lite-preview-06-17=,
  =gemini-2.5-pro-preview-06-05=, =gemini-2.5-pro-preview-05-06=,
  =gemini-2.5-flash-preview-05-20=, =gemini-2.5-pro-preview-03-25= and
  =gemini-2.5-pro-exp-03-25= have been removed from the default list
  of Gemini models.  These models are either no longer available, or
  they have been superseded by their stable, non-preview versions.  If
  required, you can add these models back to the Gemini backend in
  your personal configuration:
  #+begin_src emacs-lisp
  (push 'gemini-2.5-pro-preview-05-06
        (gptel-backend-models (gptel-get-backend "Gemini")))
  #+end_src


** New models and backends

- GitHub Copilot backend: Add support for =gpt-5-codex=,
  =claude-sonnet-4.5= and =claude-haiku-4.5=

- Add support for =claude-sonnet-4-5-20250929= and
  =claude-haiku-4-5-20251001=.

- Add support for =gemini-pro-latest=, =gemini-flash-latest= and
  =gemini-flash-lite-latest=.  These models point to the latest Gemini
  models of the corresponding type.

- Add support for =gemini-2.5-flash-preview-09-2025= and
  =gemini-2.5-flash-lite-preview-09-2025=.

** New features and UI changes

- New minor-mode ~gptel-highlight-mode~ to highlight LLM responses and
  more.  An oft-requested feature, gptel can now highlight responses by
  decorating the (left) margin or fringe, and apply a face to the
  response region.  To use it, just turn on ~gptel-highlight-mode~ in
  any buffer (and not just dedicated chat buffers).  You can customize
  the type of decoration performed via ~gptel-highlight-methods~, which
  see.

- Link annotations: When ~gptel-track-media~ is enabled in gptel chat
  buffers, gptel follows (Markdown/Org) links to files in the prompt and
  includes these files with queries.  However, it was not clear if a
  link type was supported and would be included, making this feature
  unreliable and difficult to use.

  Now all links in the prompt are explicitly annotated in real-time in
  gptel buffers.  Links that will not be sent are marked as such, and
  the link tooltip explains why.  Links that will be sent are explicitly
  indicated as well.

- New user options ~gptel-markdown-validate-link~ and
  ~gptel-org-validate-link~: These control whether links in Markdown/Org
  buffers are followed and their sources included in gptel's prompt.
  Their value should be a function that determines if a link is to be
  considered valid for inclusion with the gptel query.  By default they
  allow all links, but they can be customized to require "standalone"
  link placement, which is gptel's past behavior.

- gptel preset specifications can now modify the current values of gptel
...
...

Reply via email to