# -*- mode: org; -*-

* 0.9.9.7-pre

** Breaking changes

- The Codex models =gpt-5.2=, =gpt-5.3-codex= and =gpt-5.3-codex-spark=
  have been removed from the list of default models for
  =gptel-openai-oauth=.  These models are no longer served by OpenAI.

- The behavior of the MCP integration function ~gptel-mcp-connect~ has
  changed.  It now calls its (optional) callback with the list of gptel
  tools to be added.  Additionally, it can now connect to MCP servers
  without adding any gptel tools.

** New models and backends

- New backend ~gptel-systemone~ for decision models using the "System
  One" API.  (Multiple providers, see "new features" below.)

- GitHub Copilot backend: Add support for =gemini-4-argon=.

- Gemini backend: Add support for =gemini-4-argon= and
  =gemini-4-hydrogen=.

- Anthropic backend: Add support for =claude-fable-5-2=,
  =claude-fable-5-1=, =claude-opus-5-5=, =claude-sonnet-5-5= and
  =claude-haiku-5-5=.

- OpenAI backend: Add support for =gpt-6-astra=, =gpt-6.1-sol=,
  =gpt-6-sol= =gpt-6.1-terra= and =gpt-6-luna=.

- Bedrock backend: Add support for =claude-opus-5-5=,
  =claude-sonnet-5-5= and =claude-haiku-5-5=.

- GitHub Copilot backend: Add support for =claude-sonnet-5.5=,
  =claude-opus-5.5= and =claude-haiku-5.5=.

- Deepseek backend: Add support for =deepseek-flash=, and deprecate
  =deepseek-v4-flash= and =deepseek-v4-flash-vision-exp=.

- xAI backend: Add support for =grok-4.7=, =grok-4.6=, =grok-4.20=,
  =grok-4.20-non-reasoning= and =grok-4.20-multi-agent=.

** New features and UI changes

- gptel now supports the "System One" API used by decision models such
  as Typesafe (Jev), Cloudflare (Clef) or Ollaya (various).  Decision
  models respond with probabilities or choices and produce no output
  tokens and are general-purpose classifiers.  Support is at the level
  of ~gptel-request~ only since they are not suitable for chat, but they
  are more predictable to use in scripting.

  Create a new System One backend with ~gptel-make-systemone~.

- The OpenAI backend now supports sending PDFs, common Microsoft Office,
  Apple and Open Office file formats.  As before, such files can be
  included as Org/Markdown file or web links in gptel buffers or via
  ~gptel-add~.

- The Anthropic backend now supports sending PDFs.  As before, such
  files can be included as Org/Markdown file links in gptel buffers or
  via ~gptel-add~.  PDFs can also be specified via web links in buffers.

- The Gemini backend now supports sending files from web links in gptel
  buffers for all supported MIME types.

** Notable bug fixes

- Non UTF-8 characters or raw bytes in tool call results are replaced
  with a readable placeholder, ensuring that the tool call loop can
  continue uninterrupted.


* 0.9.9.6 2026-09-05

** Breaking changes

- The Github Models setup instructions have been removed from the
  README, and the Github Models mentions in gptel.el's commentary
  header removed.  GitHub Models was fully retired on 2026-07-30 and
  its API is no longer available.

- The models =deepseek-chat= and =deepseek-reasoner= have been
  removed from the default list of Deepseek models.  These models are
  either deprecated or no longer available.

- The models =gptel-5-1=, =gpt-5.1-codex=, =gpt-5.1-codex-max=,
  =gpt-5.1-codex-mini=, =gpt-5.2=, =gpt-5.2-codex=, =claude-sonnet-4=,
  =gemini-2.5-pro=, =gemini-3-pro-preview=, =gemini-3-flash-preview= and
  =grok-code-fast-1= have been removed from the default list of Copilot
  models. These models are either deprecated or no longer available.

- The models =claude-3-7-sonnet-20250219=, =claude-3-5-sonnet-20241022=,
  =claude-3-5-sonnet-20240620=, =claude-3-5-haiku-20241022=,
  =claude-3-opus-20240229= and =claude-3-haiku-20240307= have been
  removed from the default list of Anthropic models.  These models are
  either deprecated or no longer available.

- The models =gemini-3.1-flash-lite-preview=, =gemini-3-pro-preview=,
  =gemini-2.5-pro-preview-06-05=, =gemini-2.5-flash-preview-09-2025=,
...
...
