-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Show current system prompt in the title line #274
Comments
Holy crap it's @jwiegley 😮 I'm glad you're finding the package useful! The header-line has not seen any updates in almost an year -- it's still the same code that I threw together hastily at the beginning of the project, so I plan to work on it soon. That said, system prompts are often several paragraphs long. Would you find it useful to show just the first few words (as much as will fit) there? I also plan to provide better options for limiting or expanding the conversation context (by including other buffers/files, and supporting branching conversations in Org mode), so the |
Actually, all I want for the system prompt is the "key" I used to define it in the alist, not the prompt itself. That way, I know whether the text I submit is going to be translated into English, or into Spanish, for example. :) |
* gptel.el (gptel): Show chosen system message in header-line (#274). Remove the context indicator `[Send: ...]`, as this needs to be reworked for the upcoming context-inclusion features anyway. * gptel-transient.el (gptel-system-prompt): Autoload `gptel-system-prompt`, this is required for the gptel header-line.
Done. If the system prompt has been edited (so it does not correspond to a "key"), it shows a very truncated version of the string instead. For now I've removed the context indicator ( |
Thank you so much, @karthink, I certainly wasn't expecting such a fast response! I use your tool almost daily now. Early I was using |
Next to where it presently shows the
[Send: ...]
and[<model>]
buttons, I'd love for there to be a button for the current system prompt. When clicked it allows you to change the prompt for future submissions. But it also would let me know whether I need to change the system prompt for my next query or not. Thanks for such an awesome interface! I love being able to talk to both ChatGPT and Claude in a unified environment.The text was updated successfully, but these errors were encountered: