How do you get clean results for rewriting? #651
JonatanSahar
started this conversation in
General
Replies: 1 comment 3 replies
-
Is this with gptel-rewrite or regular use of gptel-send?
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can't seem to make any of the LLMs I'm working with to give output which I can directly incorporate into my code as accepted diff.. at the minimum I get code fences, but almost always I get a bunch of text, even when my prompt is something like:
(refactor . "You are a language model with expert programming knowledge. Provide clean, correct code solutions with minimal commentary; output code and only code, DO NOT add code fences e.g. Python ''' ''' around the code.")
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions