gptel icon indicating copy to clipboard operation
gptel copied to clipboard

gptel: Support prefixing dynamic system messages with lambda

Open pabl0 opened this issue 8 months ago • 1 comments

  • gptel.el (gptel--parse-directive): Add optional prefix-lambda argument to prepend a lambda symbol (λ) and the first line of the documentation string, if present, to the system message.

  • gptel-prefix.el (gptel--infix-add-directive): Call gptel--parse-directive' with the new prefix-lambda' arg.


This is of course much more fun if #652 gets merged.

pabl0 avatar Feb 18 '25 12:02 pabl0