You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please update gptel first -- errors are often fixed by the time they're reported.
I have updated gptel to the latest commit and tested that the issue still exists
Bug Description
gptel-mode only works with org-mode and markdown-mode derived modes. I have some text-mode derived mode I use it with but oob it fails because of the mode compatibility check.
The reason(s) support for modes derived from text-mode is not currently enabled are:
Many modes derive from text-mode where it does not make sense to use a chat interface. For example, yaml-mode.
You can use gptel in any buffer -- turning on the mode is not necessary to use gptel. (gptel-mode only adds the prompt/resposne prefixes and the header-line.)
I use gptel mode in a wiki mode (Creole syntax - legacy stuff...) that derives from text-mode. Maybe a more appropriate solution is to have an allow list of derived modes (or even just the modes themselves) in a user configurable value?
Please update gptel first -- errors are often fixed by the time they're reported.
Bug Description
gptel-mode only works with org-mode and markdown-mode derived modes. I have some text-mode derived mode I use it with but oob it fails because of the mode compatibility check.
Here's how I fixed it in gptel.el:
Steps to Reproduce
Try to use gptel-mode with a text-mode derived mode that isnt text-mode itself.
The text was updated successfully, but these errors were encountered: