Skip to content
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

Make markdown to org conversion optional #341

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ultronozm
Copy link

This adds an option gptel-curl-convert-markdown-to-org that allows the user to disable the conversion from markdown to org, which can be convenient in some situations (e.g., when the responses are streamed to part of an existing org buffer)

ultronozm and others added 2 commits July 15, 2024 08:41
* gptel-curl.el (gptel-curl-convert-markdown-to-org): New user option.
(gptel-curl-get-response): Use it.
@karthink
Copy link
Owner

@ultronozm Thanks for the PR. I think a better way to do this is to use a processing hook that the user can customize. Then they can include/exclude the Org conversion, and also add additional processing functions to transform the incremental responses however they would like.

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.

2 participants