Repository navigation
Is there a way to set the default directive without manually setting gptel--system-message? #1334
|
I looked into the code, and What would be the correct way of doing this? How should I alter the 'default directive that would actually change the system message? |
Replies: 3 comments
Seems like a gptel bug, I'll look into it. Until then you can set BTW I plan to rename |
|
I had a look at this, and... yeah, (use-package gptel
:init
(setq gptel-directives ...))or (use-package gptel
:custom
(gptel-directives ...))You can use one of these methods, or set |
|
Yeah, I noticed. I ended up just changing a bit my initialization and am setting the gptel-directives before. It's ok, since I can set a function if I need a dynamic directive, but it would be nice to have the an official gptel-system-prompt. Thanks! |
I had a look at this, and... yeah,
gptel--system-messageis set to thedefaultvalue ingptel-directivesonly if you setgptel-directivesbefore loading gptel, likeor
You can use one of these methods, or set
gptel--system-messagedirectly, or wait until I rename it togptel-system-prompt, an official user option.