Thanks for this package! Been putting it to good use already, but I'm seeing some very weird behavior when trying to set custom directives . After editing the directive, seemingly random text replaces the directive that was entered into the gptel-system window.
Additionally, the focus gets trapped in the transient window when trying to set the custom directive, so you have to C-g before you can edit the directive.
Emacs version 29.0.60
GPTel Version: 20231113.211 installed from melpa
Commit: 17a58d38e7299f254d02c29bbcc9211146394758
Transient Version: 20231112.923 from melpa
Commit: 3cd1de1695084df089cc90cff89b32dfd6ca5a0a
Steps to reproduce:
Select text in buffer
Run M-x gptel-menu
Press h to set directives
Press h again to Set custom directives
*gptel-system* buffer opens, but focus is stuck in the transient window. Only recourse is to C-g to close the transient window.
After closing transient window, *gptel-system* window is usable
Edit the system prompt and C-c to finish editing the prompt. (Would be great if there was a way to abort btw)
The new Directive displayed in the transient window consists of text from the original buffer but several lines above the text that was originally selected. The text inputted as the new system prompt is not included.
Thanks for this package! Been putting it to good use already, but I'm seeing some very weird behavior when trying to set custom directives . After editing the directive, seemingly random text replaces the directive that was entered into the
gptel-system
window.Additionally, the focus gets trapped in the transient window when trying to set the custom directive, so you have to
C-g
before you can edit the directive.Emacs version 29.0.60
GPTel Version: 20231113.211 installed from melpa Commit: 17a58d38e7299f254d02c29bbcc9211146394758
Transient Version: 20231112.923 from melpa Commit: 3cd1de1695084df089cc90cff89b32dfd6ca5a0a
Steps to reproduce:
M-x gptel-menu
h
to set directivesh
again to Set custom directives*gptel-system*
buffer opens, but focus is stuck in the transient window. Only recourse is toC-g
to close the transient window.*gptel-system*
window is usableC-c
to finish editing the prompt. (Would be great if there was a way to abort btw)