Skip to content

Conversation

pabl0
Copy link
Contributor

@pabl0 pabl0 commented Feb 18, 2025

  • 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
Copy link
Contributor Author

pabl0 commented Feb 18, 2025

(And pushed a brown bag bugfix, never use setcar when tired :)

* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant