Skip to content

Version v0.9.5

Compare
Choose a tag to compare
@karthink karthink released this 12 Oct 08:04
· 124 commits to master since this release

Version 0.9.5 adds support for media/images, better rewrite interface, more models/backends

Breaking changes

The value of gptel-model, the LLM in use, is now expected to be a symbol, not a string. This change is necessary to support per-model capabilities like image support. As of this release, gptel deals with models specified as strings gracefully and issues a warning, but this will be an unhandled error in future releases.

Backends

  • Add support for Deepseek (contributed by @jamorphy)
  • Add support for Cerebras (#372, contributed by @bytegorilla)
  • Add support for OpenAI's gpt-4o-mini
  • Add support for Gemini's gemini-1.5-flash and gemini-1.5-pro
  • Add support for Github Models (#386, contributed by @gs-101)
  • Add support for system messages to Gemini models, as the API now supports them

New features

gptel now supports multi-modal models, i.e. models that can accept image or other binary input. Supported media files can be added to the context with gptel-add-file, or included as links in chat buffers. See the README for more information.

You can now specify more model metadata when defining gptel-models. This includes a description string, supported capabilities and a list of supported mime-types for multi-modal input. See the documentation of any of the backend-creation functions gptel-make-* for details.

UI changes

gptel's "rewrite" or "refactoring" interface has been redesigned. Rewriting is now a two step process, but stays out of your way and provides better control over how changes are applied: you can evaluate the suggested changes via a diff/ediff/merge conflict + smerge interface and apply them granularly. See the README for details.

Bug fixes and other news

  • Fix incompatibilities with older Org versions (< 9.7).
  • Fix prompt creation bugs in Org mode.
  • Fix more bugs with setting transient switches buffer-locally in gptel-menu.

New Contributors, Acknowledgments

Thanks to @daedsidog, @bradmont, @mateialexandru, @wlauppe and @nfedyashev for discussions and feedback.

Full Changelog: v0.9.0...v0.9.5